[email protected]

Well-Known Member
Jul 9, 2005
78
0
156
Belgium
hi people,

When i login to my /cpanel and start phpMyAdmin i get

Warning: session_write_close() [function.session-write-close]: open(/tmp/sess_6497ef38b205c5f8fcc649cec9add039, O_RDWR) failed: Permission denied (13) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/index.php on line 44

Warning: session_write_close() [function.session-write-close]: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/index.php on line 44

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/cpanel/base/3rdparty/phpMyAdmin/index.php:44) in /usr/local/cpanel/base/3rdparty/phpMyAdmin/index.php on line 101
the solutions mentioned here in other threads with similar problems (deleting the sessionid ) does not resolve the problem and yeah the permissions on my /tmp are correct ! now what ?
 

[email protected]

Well-Known Member
Jul 9, 2005
78
0
156
Belgium
hi,

No ....

[email protected] [/tmp]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 152696708 5675268 139264860 4% /
/dev/sda1 101086 17393 78474 19% /boot
none 509700 0 509700 0% /dev/shm
/usr/tmpDSK 495844 22349 447895 5% /tmp
/tmp 495844 22349 447895 5% /var/tmp
it works in whm but it doersn't in /cpanel
 

mautik

Registered
Sep 4, 2004
4
0
151
i have the same problem...start with the upgrade to the cpanel11

any other idea/solution?:(
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
79
458
cPanel Access Level
Root Administrator
This error can arise if one logs into PHPMyAdmin, as root, from WHM, then in the same browser, but different tab, log into PHPMyAdmin from cPanel. The 'unique' information used to create the server side session appears to be tied to the browser session as a whole, regardless of the tab currently used. Thus with the describe scenario, the session file is created in /tmp with root ownership. The next request to PHPMyAdmin, from the cPanel side, tries to create the same session file, but with cpanel ownership. This attempt fails.

To resolve, remove the session file(s) from /tmp

Code:
rm -f /tmp/sess_6497ef38b205c5f8fcc649cec9add039