• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

mod_fcgid: stderr ERROR in plesk panel 11.5 (linux)

gggino

New Pleskian
PRODUCT, VERSION, MICROUPDATE, OPERATING SYSTEM, ARCHITECTURE

OS CentOS 6.2 (Final)
Panel version 11.5.30 Update #44, last updated at April 30, 2014 05:37 AM



PROBLEM DESCRIPTION

I randomly get this error in the error log:

[Sat May 10 17:02:19 2014] [warn] [client 94.6.60.114] mod_fcgid: stderr: PHP Notice: session_start(): ps_files_cleanup_dir: opendir(/var/lib/php/session) failed: Permission denied (13) in /var/www/vhosts/MYDOMAIN.com/httpdocs/includes/cookielogin.php on line 3, referer: http://m.MYDOMAIN.com/


I tried to follow this KB http://kb.parallels.com/it/7056, as my original version of the panel was 10, then I have upgraded to 11.5 in january this year, I tought maybe something could have gone wrong in the update. Result: if I create the folder, chown and chmod it to root:apache, then the error message is displyed everytme somebody opens the page, togetehr with 2 other error messages:

[Sun May 11 12:44:50 2014] [warn] [client 66.249.64.180] mod_fcgid: stderr: PHP Warning: session_start(): open(/var/www/vhosts/MYDOMAIN.com/private/php_sess/sess_uogh5drm7l1lks1mb72j357ht1, O_RDWR) failed: Permission denied (13) in /var/www/vhosts/MYDOMAIN.com/httpdocs/includes/cookielogin.php on line 3
[Sun May 11 12:44:50 2014] [warn] [client 66.249.64.180] mod_fcgid: stderr: PHP Warning: Unknown: open(/var/www/vhosts/MYDOMAIN.com/private/php_sess/sess_uogh5drm7l1lks1mb72j357ht1, O_RDWR) failed: Permission denied (13) in Unknown on line 0
[Sun May 11 12:44:50 2014] [warn] [client 66.249.64.180] mod_fcgid: stderr: PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/www/vhosts/MYDOMAIN.com/private/php_sess) in Unknown on line 0

STEPS TO REPRODUCE

It just happens sometimes, not anytime the pages is opened.
 
Back
Top