View Single Post
  #5  
Old 22nd March 2009, 10:30
DonAteloNow DonAteloNow is offline
Junior Member
 
Join Date: Oct 2008
Location: Lithuania
Posts: 23
Thanks: 1
Thanked 0 Times in 0 Posts
Send a message via ICQ to DonAteloNow Send a message via MSN to DonAteloNow Send a message via Skype™ to DonAteloNow
Default

I got this issue when I moved to mod_fcgid following "How To Set Up Apache2 With mod_fcgid And PHP5 On CentOS 5.2" guide. Before, when I tried to install and use SuPHP, I couldn't get to control panel at all. Now my /etc/httpd/conf/sites-enabled/000-ispconfig.vhost looks like this:

<IfModule mod_fcgid.c>
DocumentRoot /usr/local/ispconfig/interface/web/
SuexecUserGroup ispconfig ispconfig
PHP_Fix_Pathinfo_Enable 1
<Directory /usr/local/ispconfig/interface/web>
Options Indexes FollowSymLinks MultiViews +ExecCGI
AllowOverride AuthConfig Indexes Limit Options FileInfo
AddHandler fcgid-script .php
FCGIWrapper /var/www/php-fcgi-scripts/ispconfig/php-fcgi-starter .php
Order allow,deny
Allow from all
</Directory>
</IfModule>

My phpinfo.php files are working now on other sites and I can access control panel, enter username and password, but after it gives me "LOGIN_REDIRECT:/index.php".

Error logs:
[Sun Mar 22 11:28:28 2009] [warn] mod_fcgid: stderr: PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/var/lib/php/session/sess_29hslse0u5keha5o4olbe64at0, O_RDWR) failed: Permission denied (13) in /usr/local/ispconfig/interface/lib/app.inc.php on line 55
[Sun Mar 22 11:28:28 2009] [warn] mod_fcgid: stderr: PHP Warning: Unknown: open(/var/lib/php/session/sess_29hslse0u5keha5o4olbe64at0, O_RDWR) failed: Permission denied (13) in Unknown on line 0
[Sun Mar 22 11:28:28 2009] [warn] 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/lib/php/session) in Unknown on line 0
[Sun Mar 22 11:28:28 2009] [warn] mod_fcgid: stderr: PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/var/lib/php/session/sess_29hslse0u5keha5o4olbe64at0, O_RDWR) failed: Permission denied (13) in /usr/local/ispconfig/interface/web/js/scrigo.js.php on line 2
[Sun Mar 22 11:28:28 2009] [warn] mod_fcgid: stderr: PHP Notice: Undefined index: s in /usr/local/ispconfig/interface/web/js/scrigo.js.php on line 4
[Sun Mar 22 11:28:28 2009] [warn] mod_fcgid: stderr: PHP Warning: include_once(/usr/local/ispconfig/interface/web/js/lib/lang/_javascript.lng) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in /usr/local/ispconfig/interface/web/js/scrigo.js.php on line 4
[Sun Mar 22 11:28:28 2009] [warn] mod_fcgid: stderr: PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening '/usr/local/ispconfig/interface/web/js/lib/lang/_javascript.lng' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /usr/local/ispconfig/interface/web/js/scrigo.js.php on line 4
[Sun Mar 22 11:28:28 2009] [warn] mod_fcgid: stderr: PHP Notice: Undefined variable: wb in /usr/local/ispconfig/interface/web/js/scrigo.js.php on line 298
[Sun Mar 22 11:28:28 2009] [warn] mod_fcgid: stderr: PHP Notice: Undefined variable: wb in /usr/local/ispconfig/interface/web/js/scrigo.js.php on line 303
[Sun Mar 22 11:28:28 2009] [warn] mod_fcgid: stderr: PHP Notice: Undefined variable: wb in /usr/local/ispconfig/interface/web/js/scrigo.js.php on line 308
[Sun Mar 22 11:28:28 2009] [warn] mod_fcgid: stderr: PHP Notice: Undefined variable: wb in /usr/local/ispconfig/interface/web/js/scrigo.js.php on line 313
[Sun Mar 22 11:28:28 2009] [warn] mod_fcgid: stderr: PHP Notice: Undefined variable: wb in /usr/local/ispconfig/interface/web/js/scrigo.js.php on line 318
[Sun Mar 22 11:28:28 2009] [warn] mod_fcgid: stderr: PHP Notice: Undefined variable: wb in /usr/local/ispconfig/interface/web/js/scrigo.js.php on line 323
[Sun Mar 22 11:28:28 2009] [warn] mod_fcgid: stderr: PHP Warning: Unknown: open(/var/lib/php/session/sess_29hslse0u5keha5o4olbe64at0, O_RDWR) failed: Permission denied (13) in Unknown on line 0
[Sun Mar 22 11:28:28 2009] [warn] 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/lib/php/session) in Unknown on line 0
[Sun Mar 22 11:28:29 2009] [warn] mod_fcgid: stderr: PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/var/lib/php/session/sess_29hslse0u5keha5o4olbe64at0, O_RDWR) failed: Permission denied (13) in /usr/local/ispconfig/interface/lib/app.inc.php on line 55
[Sun Mar 22 11:28:29 2009] [warn] mod_fcgid: stderr: PHP Warning: Unknown: open(/var/lib/php/session/sess_29hslse0u5keha5o4olbe64at0, O_RDWR) failed: Permission denied (13) in Unknown on line 0
[Sun Mar 22 11:28:29 2009] [warn] 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/lib/php/session) in Unknown on line 0
[Sun Mar 22 11:28:29 2009] [warn] mod_fcgid: stderr: PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/var/lib/php/session/sess_29hslse0u5keha5o4olbe64at0, O_RDWR) failed: Permission denied (13) in /usr/local/ispconfig/interface/lib/app.inc.php on line 55
[Sun Mar 22 11:28:29 2009] [warn] mod_fcgid: stderr: PHP Warning: Unknown: open(/var/lib/php/session/sess_29hslse0u5keha5o4olbe64at0, O_RDWR) failed: Permission denied (13) in Unknown on line 0
[Sun Mar 22 11:28:29 2009] [warn] 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/lib/php/session) in Unknown on line 0
[Sun Mar 22 11:28:29 2009] [warn] mod_fcgid: stderr: PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/var/lib/php/session/sess_29hslse0u5keha5o4olbe64at0, O_RDWR) failed: Permission denied (13) in /usr/local/ispconfig/interface/lib/app.inc.php on line 55
[Sun Mar 22 11:28:29 2009] [warn] mod_fcgid: stderr: PHP Warning: Unknown: open(/var/lib/php/session/sess_29hslse0u5keha5o4olbe64at0, O_RDWR) failed: Permission denied (13) in Unknown on line 0
[Sun Mar 22 11:28:29 2009] [warn] 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/lib/php/session) in Unknown on line 0
[Sun Mar 22 11:28:29 2009] [warn] mod_fcgid: stderr: PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/var/lib/php/session/sess_29hslse0u5keha5o4olbe64at0, O_RDWR) failed: Permission denied (13) in /usr/local/ispconfig/interface/lib/app.inc.php on line 55
[Sun Mar 22 11:28:29 2009] [warn] mod_fcgid: stderr: PHP Warning: Unknown: open(/var/lib/php/session/sess_29hslse0u5keha5o4olbe64at0, O_RDWR) failed: Permission denied (13) in Unknown on line 0
[Sun Mar 22 11:28:29 2009] [warn] 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/lib/php/session) in Unknown on line 0
[Sun Mar 22 11:28:36 2009] [warn] mod_fcgid: stderr: PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/var/lib/php/session/sess_29hslse0u5keha5o4olbe64at0, O_RDWR) failed: Permission denied (13) in /usr/local/ispconfig/interface/lib/app.inc.php on line 55
[Sun Mar 22 11:28:36 2009] [warn] mod_fcgid: stderr: PHP Warning: Unknown: open(/var/lib/php/session/sess_29hslse0u5keha5o4olbe64at0, O_RDWR) failed: Permission denied (13) in Unknown on line 0
[Sun Mar 22 11:28:36 2009] [warn] 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/lib/php/session) in Unknown on line 0
[Sun Mar 22 11:28:37 2009] [warn] mod_fcgid: stderr: PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/var/lib/php/session/sess_29hslse0u5keha5o4olbe64at0, O_RDWR) failed: Permission denied (13) in /usr/local/ispconfig/interface/lib/app.inc.php on line 55
[Sun Mar 22 11:28:37 2009] [warn] mod_fcgid: stderr: PHP Notice: Undefined index: user in /usr/local/ispconfig/interface/lib/classes/auth.inc.php on line 96
[Sun Mar 22 11:28:37 2009] [warn] mod_fcgid: stderr: PHP Warning: Unknown: open(/var/lib/php/session/sess_29hslse0u5keha5o4olbe64at0, O_RDWR) failed: Permission denied (13) in Unknown on line 0
[Sun Mar 22 11:28:37 2009] [warn] 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/lib/php/session) in Unknown on line 0
[Sun Mar 22 11:28:37 2009] [warn] mod_fcgid: stderr: PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/var/lib/php/session/sess_29hslse0u5keha5o4olbe64at0, O_RDWR) failed: Permission denied (13) in /usr/local/ispconfig/interface/lib/app.inc.php on line 55
[Sun Mar 22 11:28:37 2009] [warn] mod_fcgid: stderr: PHP Warning: Unknown: open(/var/lib/php/session/sess_29hslse0u5keha5o4olbe64at0, O_RDWR) failed: Permission denied (13) in Unknown on line 0
[Sun Mar 22 11:28:37 2009] [warn] 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/lib/php/session) in Unknown on line 0
[Sun Mar 22 11:28:37 2009] [warn] mod_fcgid: stderr: PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/var/lib/php/session/sess_29hslse0u5keha5o4olbe64at0, O_RDWR) failed: Permission denied (13) in /usr/local/ispconfig/interface/lib/app.inc.php on line 55
[Sun Mar 22 11:28:37 2009] [warn] mod_fcgid: stderr: PHP Warning: Unknown: open(/var/lib/php/session/sess_29hslse0u5keha5o4olbe64at0, O_RDWR) failed: Permission denied (13) in Unknown on line 0
[Sun Mar 22 11:28:37 2009] [warn] 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/lib/php/session) in Unknown on line 0

I'm still looking how to sort this out. I'll post if I'll find anything useful.
Reply With Quote