luvz2drv

Member
Aug 5, 2007
20
0
51
I have a client that is reporting and tested by me as well that
when the select to upload new image ... the html editor puts a that there session is expired.

now reading thru the forum with search

i have checked.. i do have /tmp in my php.ini

i have tried a --force update //

and am running
cPanel 11.25.0-C42399 - WHM 11.25.0 - X 3.9


thanks for any thoughts or help on this.
 

lehels

Well-Known Member
Jul 10, 2006
91
0
156
We run the exact version of cPanel, and the same problem occurs!
There is a log file somewhere generating to see what's happening?
session.save_path is configured to tmp/ on both php.ini [system & cPanels];
What else?

Cheers,
Lehel
 

mattmattt

Member
Aug 25, 2004
9
0
151
I am also having problems with a customer using the file manager.
In our case the user cannot edit a html file. It simply puts up a blank page
and then in /usr/local/cpanel/logs/error_log i see this:

/usr/libexec/ld-elf.so.1: /usr/local/lib/libxml2.so.5: Undefined symbol "pthread_mutex_lock"

FreeBSD 6.3-REL
cPanel 11.25.0-R42400 - WHM 11.25.0 - X 3.9

i would guess it has something to do with how some software was compiled
and failed to get threading in it? But that is just a guess. I just started
debugging it. I did a upgrade of cpanel and then a rebuild of apache and php.
Still no luck.
 

mattmattt

Member
Aug 25, 2004
9
0
151
I am also having problems with a customer using the file manager.
In our case the user cannot edit a html file. It simply puts up a blank page
and then in /usr/local/cpanel/logs/error_log i see this:

/usr/libexec/ld-elf.so.1: /usr/local/lib/libxml2.so.5: Undefined symbol "pthread_mutex_lock"

FreeBSD 6.3-REL
cPanel 11.25.0-R42400 - WHM 11.25.0 - X 3.9

i would guess it has something to do with how some software was compiled
and failed to get threading in it? But that is just a guess. I just started
debugging it. I did a upgrade of cpanel and then a rebuild of apache and php.
Still no luck.
Since i posted to this thread i might as well post my solution so this may bring
someone closer to solving their problem.

After poking around for a while i noticed an /opt directory containing a dir
called xml2. Now on freebsd, admins normally do not use /opt. We have /usr/local/
for software additions. So to see this directory set off alarm bells as a key
to solving the problem.

basically that /opt/xml2/lib dir contained all the xml2 libs. Well how about i
backup my libs in /usr/local/lib and put these there?

www# ls -al /opt/xml2/lib
total 7866
drwxr-xr-x 3 root wheel 512 Jan 20 14:35 .
drwxr-xr-x 6 root wheel 512 Jun 3 2008 ..
-rw-r--r-- 1 root wheel 3251506 Jan 20 14:35 libxml2.a
-rwxr-xr-x 1 root wheel 974 Jan 20 14:35 libxml2.la
lrwxr-xr-x 1 root wheel 12 Jan 20 14:35 libxml2.so -> libxml2.so.9
-rwxr-xr-x 1 root wheel 2328910 Jun 3 2008 libxml2.so.8
-rwxr-xr-x 1 root wheel 2379503 Jan 20 14:35 libxml2.so.9


www# ls -al /usr/local/lib | grep xml2
-rw-r--r-- 1 root wheel 3251506 Jan 21 11:29 libxml2.a
-rw-r--r-- 1 root wheel 1377542 Jan 20 15:46 libxml2.a.backup
-rwxr-xr-x 1 root wheel 974 Jan 21 11:29 libxml2.la
-rwxr-xr-x 1 root wheel 965 Jan 20 15:46 libxml2.la.backup
lrwxr-xr-x 1 root wheel 27 Jan 21 11:29 libxml2.so -> /usr/local/lib/libxml2.so.9
-rwxr-xr-x 1 root wheel 1271851 Jan 20 15:46 libxml2.so.5.backup
-rwxr-xr-x 1 root wheel 2379503 Jan 21 11:29 libxml2.so.9
lrwxr-xr-x 1 root wheel 12 Jan 20 15:46 libxml2.so.backup -> libxml2.so.5

and after that the html editor worked, i stopped getting the error in the
logs, and i just hope i did not break something else.
 

Joel Wigley

Member
Feb 20, 2008
7
0
51
I'm running 11.25.0-STABLE_43473 and I have an identical problem to the OP.

Clicking any link in the toolbar of the HTML editor opens a popup stating the session has expired.

/tmp is set in my php.ini as the session.save_path

I've also tried a forceful cPanel update but it hasn't helped.
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,545
12
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter
I'm running 11.25.0-STABLE_43473 and I have an identical problem to the OP.

Clicking any link in the toolbar of the HTML editor opens a popup stating the session has expired.

/tmp is set in my php.ini as the session.save_path

I've also tried a forceful cPanel update but it hasn't helped.
What is the output of the following command?
Code:
# stat /var/cpanel/usecpphp
If the file does not exist, try creating it:
Code:
# touch /var/cpanel/usecpphp
 

Joel Wigley

Member
Feb 20, 2008
7
0
51
What is the output of the following command?
Code:
# stat /var/cpanel/usecpphp
If the file does not exist, try creating it:
Code:
# touch /var/cpanel/usecpphp
The file didn't exist, so I did as you suggested and created it, which has fixed the problem immediately.

I would never have linked the error to that fix, that's rather unusual.

Thanks very much :)