Pineriver

Registered
Feb 9, 2005
2
0
151
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
 

simpint

Member
May 4, 2004
14
0
151
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