Note that there are some explanatory texts on larger screens.

plurals
  1. POFailed to write session data (files)
    primarykey
    data
    text
    <p>I just ordered a vps server by a hosting party. It's a CentOS with Plesk 11. So i just installed my Zend applicaton on the server but now the error log states</p> <pre><code>[Mon Apr 15 20:48:28 2013] [warn] [client 94.210.222.87] mod_fcgid: stderr: PHP Fatal error: Uncaught exception 'Zend_Session_Exception' with message 'Zend_Session::start() - /var/www/vhosts/ontwerp.doedels.eu/httpdocs/mvc/libraries/Zend/Session.php(Line:469): Error #2 session_start(): open(/var/www/vhosts/ontwerp.doedels.eu/tmp/sess_t2orkniqjn9rsn9m84d2clsdd1, O_RDWR) failed: Permission denied (13) Array [Mon Apr 15 20:48:28 2013] [warn] [client 94.210.222.87] mod_fcgid: stderr: /var/www/vhosts/ontwerp.doedels.eu/httpdocs/mvc/libraries/Zend/Session.php(Line:479): Error #2 session_write_close(): open(/var/www/vhosts/ontwerp.doedels.eu/tmp/sess_t2orkniqjn9rsn9m84d2clsdd1, O_RDWR) failed: Permission denied (13) Array [Mon Apr 15 20:48:28 2013] [warn] [client 94.210.222.87] mod_fcgid: stderr: /var/www/vhosts/ontwerp.doedels.eu/httpdocs/mvc/libraries/Zend/Session.php(Line:479): Error #2 session_write_close(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/www/vhosts/ontwerp.doedels.eu/tmp) Array' in /var/www/vhosts/ontwerp.doedels.eu/httpdocs/mvc/libraries/Zend/Session.php:482 </code></pre> <p><strong>What did i try so far?</strong> I tried setting session.save_path to {DOCUMENTROOT}/tmp and {WEBSPACEROOT}/tmp this doens't seem to work.</p> <p>The phpinfo function says that session.save_path = /var/www/vhosts/ontwerp.doedels.eu/tmp which is the good folder. The path exists and the folder has 777 CHMOD rights.</p> <p><strong>Work around</strong> It seems to work when i set session.save_path = {WEBSPACEROOT}/private/sess That is a folder i made with 777 chmod permissions, yet it doens't seems to be a permanent solution. Since i have to create this folder by every subscription i make.</p> <p><strong>What do i know for sure?</strong></p> <ul> <li>The folder is not full</li> <li>The folder does exists</li> <li>The folder has writing permissions 777</li> <li>The folder owner is 0</li> <li>Running the server on fastcgi modus</li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload