Permission denied(13) - Time to time O_RDWR) Apache Session Start
Hello There
Im getting this message:
session_start(): open(/tmp/sess_d8e470cdf52a0e82ed51caa725f67ac6, O_RDWR) failed: Permission denied (13)
But not all the time, just few users get this message. And than in error_log I saw hundreds of this error. Also this happens in high traffic hours.
I just reinstall cpanel, update apache and php, transfer the web. And the problem is there. I can't figure out what is gone on. I tried everything:
Change session path, set new chmod. And it does not worked :(
-
Hello, What is /tmp permission ? Can you please try to setup 1777 permission and check it. 0 -
Hi. Thanks for the reply. Yes I tried that too. Seems like it work for just few minutes than problem back. The same php-script is running in other cpanel/apache/php5.4 version, and it ok. Just with new server, new instalation. I also tried every stable version of php and apache with easyupdate. And same profile (easyupdate profile) as well, that used in server which is ok. And the problem begins after some traffic. Like 300 requets/s, but some times less than that. And not for all users, just around 30% of the website users. Its a nightmare for and I can't figure out. 0 -
Hello :) Which PHP handler (e.g. suPHP, DSO) is in use on this server? Is the "session.save_path" value configured in the /usr/local/lib/php.ini file? Thank you. 0 -
Hello Im using: dso, suEXEC off, ruid on And yes it is set on php.ini Thanks for reply 0 -
Could you verify the permissions on /tmp are unchanged and remain at 1777? Is it possible the /tmp partition is reaching it's disk space or inode limit? Could you verify again that no output appears in /usr/local/apache/logs/error_log when this happens? Thank you. 0
Please sign in to leave a comment.
Comments
5 comments