Stefan1200's Forum

JTS3ServerMod Hosting Edition => JTS3ServerMod MySQL & WebInterface => Topic started by: cybergod on April 27, 2017, 10:29:42 AM

Title: Help with Warning: Unknown: open(/var/lib/php/fpm/session/sess_
Post by: cybergod on April 27, 2017, 10:29:42 AM
I have been working on this for last 4 hours,

I did the initial start for webinterface and then I relog and it says update build 3030, it keps showing it over and over. I manual try to import and gives me duplicate error. I enable error logs on website via index.php, it throws out this error.

Warning: Unknown: open(/var/lib/php/fpm/session/sess_ckrtj3p2a2j11297t5umq5nph3, 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 (/var/lib/php/fpm/session) in Unknown on line 0

I have chmod -R 777 /var/lib/php/fpm/session
I have chown apache:apache /var/lib/php/fpm/session

I have restarted httpd/php-fpm and still same error.
Title: Re: Help with Warning: Unknown: open(/var/lib/php/fpm/session/sess_
Post by: Stefan1200 on April 27, 2017, 05:43:45 PM
Please check this:
https://support.plesk.com/hc/en-us/articles/213933205-Failed-to-write-session-data-files-Please-verify-that-the-current-setting-of-session-save-path-is-correct
Title: Re: Help with Warning: Unknown: open(/var/lib/php/fpm/session/sess_
Post by: cybergod on April 27, 2017, 06:55:19 PM
close, this wasn't exaclty what was the problem but was helpfully to get me corrected, chmod 1777, not 0777 FYI to other ppl