The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'General Discussion' started by maestroc, Apr 19, 2014.

  1. maestroc

    maestroc Active Member

    Joined:
    Aug 23, 2012
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    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?
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
    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
     
  3. maestroc

    maestroc Active Member

    Joined:
    Aug 23, 2012
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Reseller Owner
    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
     
    #3 maestroc, Apr 20, 2014
    Last edited: Apr 20, 2014
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    652
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page