application log file suddenly unwriteable by Apache
I am running a PHP/Mysql Zend Framework 1.5.2 application on CentOS.
When php/apache tries to open the application's log file for appending, the logging component Zend_Log throws an exception '"/var/log/webapp/interp_requests.test.log" cannot be opened with mode "a"' Here's what's odd: The file, and its ownership, and its permissions, AFAIK are today exactly the same as what they were yesterday and it was working just fine. I.e.: Code:
[david@interps2 webapp]$ ls -ld /var/log/webapp Code:
sudo grep -i selinux /var/log/messages Code:
Jul 27 04:02:20 interps2 setroubleshoot: SELinux is preventing the /usr/sbin/httpd from using Code:
[root@interps2 log]# /usr/bin/sealert -l 6012850a-b9b1-4db6-a5b2-ee689f96dbfc Code:
failed to connect to server: 'NoneType' object has no attribute 'format' Gratefully, |
Quote:
Quote:
Quote:
Quote:
|
Quote:
Quote:
Thank you! |
All times are GMT -5. The time now is 03:02 PM. |