HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   Log file problem (http://www.howtoforge.com/forums/showthread.php?t=58168)

R4IDER 3rd August 2012 08:21

Log file problem
 
Hi,

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?

falko 3rd August 2012 17:31

Quote:

Originally Posted by R4IDER (Post 283182)
I have also been looking into another issue regarding the virus software being outdated; I can just ignore this right?

Yes.

What's the output of
Code:

ls -la /var/log/ispconfig/
?

Can you check if SELinux is off?

R4IDER 3rd August 2012 18:28

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.

R4IDER 4th August 2012 06:37

Rebooting somehow solved the problem.


All times are GMT +2. The time now is 13:08.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.