Log file problem
Starting today I have been getting emails about a CRON problem.
The subject line reads Cron <getmail@localhost> /usr/local/bin/run-getmail.sh > /dev/null 2>> /var/log/ispconfig/cron.log
and the body shows the following /bin/sh: /var/log/ispconfig/cron.log: Permission denied
Naturally I went and checked the permission settings for cron.log and the permissions are set to 666; I am a little confused on why this has started happening since I haven't made any changes for many weeks, I am running centos 5.6 and I've disabled the getmail cron while I try and work out the cause of this problem.
I have also been looking into another issue regarding the virus software being outdated; I can just ignore this right?
What's the output of
Can you check if SELinux is off?
drwxr-xr-x 3 root root 4096 Aug 3 06:53 .
drwxrwxr-x 14 root root 4096 Aug 3 05:20 ..
-rw-rw-rw- 1 root root 0 Aug 3 06:56 cron.log
drwxr-xr-x 82 root root 4096 Aug 3 16:07 httpd
-rw-r--r-- 1 root root 4433 Aug 3 04:50 ispconfig.log
and SELinux is disabled.
Rebooting somehow solved the problem.
|All times are GMT +2. The time now is 15:32.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.