[op5-users] Issue with Ninja Web Interface after idling..

Mattias Bergsten mattias at westbahr.com
Mon Sep 14 21:39:11 CEST 2009


Mirza Dedic wrote:
> /usr/local/nagios/addons/ninja/system/libraries/Session.php [160]:
> session_start() [function.session-start]: ps_files_cleanup_dir: opendir(/var/lib/php5) failed: Permission denied (13)
>   
Looks like your web server doesn't have permission to write to 
/var/lib/php5, which it should.

If you put the following into foobar.php in your webroot and go to it in 
a browser, what does the variable session.save_path say?

"<? phpinfo(); ?>"

It probably says /var/lib/php5, and if so, your system is misconfigured, 
since you need to have write permissions for your session path. Just 
chmod it +w and you should be fine, though.

/mattias


More information about the op5-users mailing list