LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-01-2002, 12:49 PM   #1
lhoff
Member
 
Registered: Jun 2001
Location: Chicago
Distribution: Mandrake 10.0 Official
Posts: 181

Rep: Reputation: 30
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
 
Old 03-01-2002, 01:24 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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...
 
Old 03-05-2002, 10:42 PM   #3
lhoff
Member
 
Registered: Jun 2001
Location: Chicago
Distribution: Mandrake 10.0 Official
Posts: 181

Original Poster
Rep: Reputation: 30
Hhhm; inn is set to run as root.

Any thoughts?
 
Old 03-06-2002, 04:40 PM   #4
jrmann1999
Member
 
Registered: Feb 2001
Location: Texas
Distribution: Slackware, Mandrake, LFS
Posts: 306

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix mail transfer agent not sending mail locally or to other servers sketelsen Linux - Software 3 02-09-2006 11:16 AM
Cron mail sending using outside SMTP mail server Utah Linux - Software 6 08-24-2005 07:44 PM
Sending output to mail account through cron. gian2oo1 Slackware 2 01-18-2005 12:54 PM
Sending Mail via cron every hour without user input. cpope67 Linux - Software 1 10-25-2004 01:55 PM
Cron sending mail to root bspicer Linux - General 2 05-01-2002 12:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration