LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Who is Cron and why is he sending me all this mail?... (https://www.linuxquestions.org/questions/linux-newbie-8/who-is-cron-and-why-is-he-sending-me-all-this-mail-15355/)

lhoff 03-01-2002 12:49 PM

Who is Cron and why is he sending me all this mail?...
 
I'm getting the following job reports from Cron. Can someone please explain what it is trying to do and how I can start to try and fix it? Thanks!

touch: creating `/var/log/news/nntpsend.log': Permission denied
chmod: getting attributes of `/var/log/news/nntpsend.log': Permission denied
/usr/bin/nntpsend: /var/log/news/nntpsend.log: Permission denied
run-parts: /etc/cron.hourly/inn-cron-nntpsend exited with return code 1
Cannot open /etc/news/inn.conf
run-parts: /etc/cron.hourly/inn-cron-rnews exited with return code 1

acid_kewpie 03-01-2002 01:24 PM

ok, cron is a time scheduler. it runs programs at certain times. look in /etc/crontab to show what programs are set to when when. not really to useful tho, as most entries are dealt with using "run-parts" which runs all files in a certain directory, such as /etc/cron/cron.hourly. You seem to have installed "inn" incorrectly. did you set it to run as a non-priviledged user when you installed it? it's not able to access log files, which i'd guess is from being run as the wrong user somewhere along the line. check who owns the cron.hourly/innblaaaaahhhhhhhhhhhh file and change that if necessary. not knowing how it sets itself up, i'd not know what to recommend straight off tho...

lhoff 03-05-2002 10:42 PM

Hhhm; inn is set to run as root.

Any thoughts?

jrmann1999 03-06-2002 04:40 PM

make sure /var/log/news even exists and is readable/writeable by the user INN is scheduled to run as.


All times are GMT -5. The time now is 07:41 AM.