Log file problem

Discussion in 'General' started by R4IDER, Aug 3, 2012.

  1. R4IDER

    R4IDER New Member


    Starting today I have been getting emails about a CRON problem.

    The subject line reads Cron <[email protected]> /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?
  2. falko

    falko Super Moderator ISPConfig Developer


    What's the output of
    ls -la /var/log/ispconfig/

    Can you check if SELinux is off?
  3. R4IDER

    R4IDER New Member

    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.
  4. R4IDER

    R4IDER New Member

    Rebooting somehow solved the problem.

Share This Page