Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old August 5th, 2002, 05:01 PM
MRK's Avatar
MRK MRK is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Posts: 191 MRK User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 36 sec
Reputation Power: 7
Cron Daemon problem...

Ok i have been getting these email's regularly for a while now. Can someone tell me what they mean? And how do i fix them. I am running mandrake 8.0.

Quote:
touch: /var/log/news/nntpsend.log: Permission denied
chmod: /var/log/news/nntpsend.log: Permission denied
/usr/bin/nntpsend: /var/log/news/nntpsend.log: Permission denied


Thanks for any advice you can give.

-Mr.K

Reply With Quote
  #2  
Old August 6th, 2002, 06:40 PM
Phreakazoid's Avatar
Phreakazoid Phreakazoid is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Posts: 9 Phreakazoid User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
well I can tell you what it means anyways.. Those commands (chmod, touch,etc) are being executed on the listed files, but are failing because whatever user/script/whatever does not have the correct permissions to modify those files.

as to what is causing it? i dunno... check your logs for the same time see what is running at the time.

Reply With Quote
  #3  
Old August 6th, 2002, 11:08 PM
MRK's Avatar
MRK MRK is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Posts: 191 MRK User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 36 sec
Reputation Power: 7
Well, i get one every hour. (1:01, 2:01, etc..) I'll look at the logs when i get back in.

-Mr.K

Reply With Quote
  #4  
Old August 7th, 2002, 11:55 PM
MRK's Avatar
MRK MRK is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Posts: 191 MRK User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 36 sec
Reputation Power: 7
What is really weird is that there is no such file as nntpsend.log. Would creating a blank file fix this? I guess i'll try it. I'll let you know. lol (if anyone cares)

-Mr.K

Reply With Quote
  #5  
Old August 8th, 2002, 05:15 PM
Phreakazoid's Avatar
Phreakazoid Phreakazoid is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Posts: 9 Phreakazoid User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
look in the dir /var/spool/cron/crontabs/

look through the files in there for the offending commands and either fix them or disable them. if you have trouble reading the files post them here and i'll take a look.

Reply With Quote
  #6  
Old August 8th, 2002, 06:14 PM
MRK's Avatar
MRK MRK is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Posts: 191 MRK User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 36 sec
Reputation Power: 7
There is nothing in the /var/spool/cron/ dir. I did find somehting in the /etc/cron.hourly dir. There was a file called inn-cron-nntpsend. I looked at it and it had this:

Quote:
#!/bin/sh
/sbin/chkconfig innd && su - news -c /usr/bin/nntpsend


I just commented the command out, and i no longer get the email.

-Mr.K

Reply With Quote
  #7  
Old August 8th, 2002, 07:42 PM
Phreakazoid's Avatar
Phreakazoid Phreakazoid is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Posts: 9 Phreakazoid User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
well there ya go.. I misled ya about where to find the files, not used to mandrake (i use Slackware). but same idea. Just so you know what you did, you disabled the sending of usenet articles every hour. But i'm guessing that you were not useing that anyways since it was never setup to begin with.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > Cron Daemon problem...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway