Received From: server->/var/log/httpd/error_log
Rule: 1002 fired (level 2) -> "Unknown problem somewhere in the system."
Portion of the log(s):
EACCELERATOR: Open for write failed for "/var/cache/php-eaccelerator/0/c//eaccelerator-0caf7067cdc61bcdb768bc3a33c7b8fe": Permission denied
Question #1 - if these files and folders are 777 and owned by apache:apache - shouldnt w/e process is attempting to write the eaccelerator files be able to write them ok?
Question #2 - why are some of them set to 777 and others are set to 600?
Question #3 - why are some servers set to apache:apache while others are set to root:root ? Which is correct?
Its going to have to be writable by the process that is running the application. Thats normally apache, but if you're using mod_ruid2 or ITK its going to be the userid for the domain.
There is a trigger in there to fix the permissions on /var/cache/php-eacclerator to make that directory world writable. mod_ruid2 is clever enough that it will create those files as 0600, which is what I think Im seeing here (assuming you have forced some domains to run as apache w/ mod_ruid2). You might have a condition where an application created that bytecode as apache before mod_ruid2 was enabled or after it was reconfigured, so now its trying to update the file as a different userid. The fix would then be to clean the cache out and see if the files are created as the new user.
we dont use ruid becuase it wouldnt play nice with the rest of the system. So in this case there is no ITK or ruid installed, its just a normal psa 9.5.x installation (if such a thing exists).
FCGI maybe? Or suphp? Ive never looked to see if the CGI approach will make use of eaccelerator or not, but that error tells me its trying to run as a user other than apache.
it looks like its not creating all files properly - the root owned files are all 777 while the apache owned files are only 600 - so thats probably why its getting the permission problems.
Received From: server09 ->/var/log/httpd/error_log
Rule: 1002 fired (level 2) -> "Unknown problem somewhere in the system."
Portion of the log(s):
EACCELERATOR: Open for write failed for "/var/cache/php-eaccelerator/0/c//eaccelerator-0caf7067cdc61bcdb768bc3a33c7b8fe": Permission denied