EOSERV Forum > Lounge > Random eoserv.net Notice
Topic is locked.
Page: << 1 >>
Random eoserv.net Notice
Author Message
Post #97734 Random eoserv.net Notice

Does anyone know what this notice means that I get at the top of the page sometimes? :

Notice: session_start(): ps_files_cleanup_dir: opendir(/var/lib/php5) failed: Permission denied (13) in /var/www/eoserv.net/forum/.htforum/class/Session.class.php on line 17

13 years, 37 weeks ago
Post #97735 Re: Random eoserv.net Notice

Google ftw:

Frustratingly, if you do receive this error, you'll only get it once every hundred page loads on average. Which points to the cause of the problem: automatic session garbage collection. In Debian and Ubuntu, /var/lib/php5, where the session data is stored, has permissions of drwx-wx-wt and should only be cleaned by a cron script.

Solutions found among others:
- Prefixing the session call with '@'
- change the group to www-data and grant group read permissions with "chmod g+r" (slightly more secure than the one below)
- change the directory permissions to be world-readable
- disable garbage collection in the session config file

---
Former multi-server mapper.
13 years, 37 weeks ago
Post #97737 Re: Random eoserv.net Notice

Should be fixed.

13 years, 37 weeks ago
Post #97738 Re: Random eoserv.net Notice
Misca posted: (21st Aug 2011, 01:02 am)

Google ftw:

Frustratingly, if you do receive this error, you'll only get it once every hundred page loads on average. Which points to the cause of the problem: automatic session garbage collection. In Debian and Ubuntu, /var/lib/php5, where the session data is stored, has permissions ofdrwx-wx-wtandshould only be cleaned by a cron script.

Solutions found among others:
- Prefixing the session call with '@'
- change the group to www-data and grant group read permissions with "chmod g+r" (slightly more secure than the one below)
- change the directory permissions to be world-readable
- disable garbage collection in the session config file

Or you can just refresh your page when it happens. :)
(I get it too about every 20/30 topics or so)

Edit: Guess its fixed now lol, great job Sausage.

13 years, 37 weeks ago
Post #97741 Re: Random eoserv.net Notice
Quackers posted: (21st Aug 2011, 01:13 am)

Misca posted: (21st Aug 2011, 01:02 am)

Google ftw:

Frustratingly, if you do receive this error, you'll only get it once every hundred page loads on average. Which points to the cause of the problem: automatic session garbage collection. In Debian and Ubuntu, /var/lib/php5, where the session data is stored, has permissionsofdrwx-wx-wtandshould only be cleaned by a cron script.

Solutions found among others:
- Prefixing the session call with '@'
- change the group to www-data and grant group read permissions with "chmod g+r" (slightly more secure than the one below)
- change the directory permissions to be world-readable
- disable garbage collection in the session config file

Or you can just refresh your page when it happens. :)
(I get it too about every 20/30 topics or so)

Edit: Guess its fixed now lol, great job Sausage.

It's not just on one website, any website can cause this error. And never experienced it on eoserv.net but GJ Sausage.

---
Former multi-server mapper.
13 years, 37 weeks ago
Post #97750 Re: Random eoserv.net Notice


I've been getting those notices to randomley :o

13 years, 37 weeks ago
Page: << 1 >>
Topic is locked.
EOSERV Forum > Lounge > Random eoserv.net Notice