eaccelerator errors
Posted: Fri Apr 29, 2011 12:00 pm
I get dozens of these on 5.3.6 with eaccelerator
it looks like the permissions are not quite right
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?
Code: Select all
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
Code: Select all
# ls -la /var/cache/php-eaccelerator/0/c//eaccelerator-0caf7067cdc61bcdb768bc3a33c7b8fe
ls: /var/cache/php-eaccelerator/0/c//eaccelerator-0caf7067cdc61bcdb768bc3a33c7b8fe: No such file or directory
# ls -la /var/cache/php-eaccelerator/0/c//
total 1512
drwxrwxrwx 2 apache apache 4096 Apr 29 06:52 .
drwxrwxrwx 18 apache apache 4096 Apr 20 12:36 ..
-rw------- 1 apache apache 61272 Apr 29 06:52 eaccelerator-0c0573f4c305946842774c090b18df9c
-rw------- 1 apache apache 3696 Apr 28 13:02 eaccelerator-0c09f8372ae7d10b0dbbdfec4311e238
-rwxrwxrwx 1 apache apache 22536 Apr 21 09:57 eaccelerator-0c119dc275d24dd26a53701b8264427e
-rw------- 1 apache apache 11360 Apr 28 15:55 eaccelerator-0c1b8561b87db6f36922c9e3a68a4318
-rwxrwxrwx 1 apache apache 8328 Apr 26 22:05 eaccelerator-0c2afb6459d0e70e2dd5e8bd36490f7a
-rwxrwxrwx 1 apache apache 105352 Apr 24 07:55 eaccelerator-0c2cab5b17e0874b9b139b9ce5541872
-rwxrwxrwx 1 apache apache 5984 Apr 22 20:33 eaccelerator-0c39b9248f15b27df404125ff5049704
-rwxrwxrwx 1 apache apache 114888 Apr 27 04:45 eaccelerator-0c406f88f9f4c764d442a91880877a93
-rwxrwxrwx 1 apache apache 69112 Apr 27 04:45 eaccelerator-0c4cd67c9ebe5c5eaf20eb43f3af6ad2
-rwxrwxrwx 1 apache apache 25024 Apr 21 10:57 eaccelerator-0c4cee97b0ccf75857adbd17c65f2a64
-rwxrwxrwx 1 apache apache 24672 Apr 21 10:32 eaccelerator-0c4d3e795720285b1dc7a6ef6c7d610b
-rw------- 1 apache apache 2736 Apr 29 06:48 eaccelerator-0c57bd0b2aba4f75734e073b981c318c
-rwxrwxrwx 1 apache apache 110016 Apr 21 16:46 eaccelerator-0c8aa7a2c9adc53569a42c99b1e8391b
-rwxrwxrwx 1 apache apache 66080 Apr 21 09:59 eaccelerator-0cb69371b3cb8c42724a9a52976a9917
-rwxrwxrwx 1 apache apache 200792 Apr 21 09:55 eaccelerator-0cb9ce962dcc2a45227e7d299c8e0a68
-rw------- 1 apache apache 366384 Apr 29 06:24 eaccelerator-0ccda6eb5ffea222e2391e32455e0980
-rwxrwxrwx 1 apache apache 31656 Apr 22 01:42 eaccelerator-0ce84c16f94c2f1dd1d666a6b561e76d
-rwxrwxrwx 1 apache apache 23504 Apr 21 10:03 eaccelerator-0ceb0e9b0fe49fd344682ed2031bc0f7
-rwxrwxrwx 1 apache apache 3208 Apr 27 04:45 eaccelerator-0cf15f38e62b5344b19fe7aa0d6720dc
-rwxrwxrwx 1 apache apache 204840 Apr 21 10:24 eaccelerator-0cf931cb4aefb0cafc93af6625304387
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?