Session save path suddenly not working. Joomla won't install

maestroc

Well-Known Member
Aug 23, 2012
74
1
58
cPanel Access Level
Reseller Owner
I've set up literally dozens of sites on my VPS server using Joomla and Akeeba Backup. Never had any problems...

Today I went in to restore a site for a client using the same method and I am getting the following error messages:

----------------------------

Warning: session_start() [function.session-start]: open(/tmp/sess_e137d61534287741b67d435e2df246e9, O_RDWR) failed: Permission denied (13) in /home/......../installation/includes/storage.php on line 221

Warning: Unknown: open(/tmp/sess_e137d61534287741b67d435e2df246e9, O_RDWR) failed: Permission denied (13) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0

-----------------------------------

No changes have been made by me to the server aside from a "yum update" about a week ago and that potentially may have changed something but I don't know what.

When running a php-info check it returns that my session save path is /tmp That directory is set to 0755 for permissions.

Any idea what may have become misconfigured on this? Any idea how I might be able to fix it?
 

24x7server

Well-Known Member
Apr 17, 2013
1,911
96
78
India
cPanel Access Level
Root Administrator
Twitter
I can see there is an issues with the /tmp session file ownership and permission. You will have to correct that, Please contact your server admin and ask them to check that because you will have root access to check /tmp files
 

maestroc

Well-Known Member
Aug 23, 2012
74
1
58
cPanel Access Level
Reseller Owner
I can see there is an issues with the /tmp session file ownership and permission. You will have to correct that, Please contact your server admin and ask them to check that because you will have root access to check /tmp files
I am the server admin and I have root access. It's a private VPS system running CentOS and cPanel. I just need to know what to do to fix the problem... Anyone know? The home/username/tmp directories are all set to 755.

By the way, here is my server info:
Server Version: Apache/2.2.26 (Unix) mod_ssl/2.2.26 OpenSSL/1.0.1e-fips mod_bwlimited/1.4
Easy::Apache v3.24.17
CentOS 6.5
PHP 5 suphp suEXEC on
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,224
463
When running a php-info check it returns that my session save path is /tmp That directory is set to 0755 for permissions.
Please ensure the "/tmp" directory on the server uses 1777 permissions. This is the primary /tmp directory and not the tmp directory used within the account's home directory.

Thank you.