The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Cron Daemon emails

Discussion in 'E-mail Discussions' started by Pineriver, Feb 13, 2005.

  1. Pineriver

    Pineriver Registered

    Joined:
    Feb 9, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hello, I don't know much about how cpannel works but about a week ago all of a sudden I
    am receiving these emails from Cron Daemon 1 every hour
    "ipchains: No chain by that name
    ipchains: Permission denied (you must be root)"

    This is being send to my main email address which is driving me up a wall.
    Might anyone have a solution for this problem? No current cron job is running
    If you have an answer, please type it easy to understand for a newbie if you can. Thanks
     
  2. simpint

    simpint Member

    Joined:
    May 4, 2004
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Apparently, there is a cron job running -- if you can get in to the server via telnet or SSH, you should try running "crontab -l" to see what's going on. If you have root or virtual root access it might be happening there. If you do not have root access on the machine, you may want to contact the individual who does.

    Assuming you find the offending cron job, you should change the crontab entry from something like:

    0 * * * * /home/user/cron/script.sh

    to:

    0 * * * * /home/user/cron/script.sh > /dev/null 2>&1

    This should stop cron output from being emailed to you and should be done for every script where you do NOT want output sent to you.

    Dave
     
Loading...

Share This Page