LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-09-2006, 04:25 PM   #1
bl0tt0
Member
 
Registered: Aug 2005
Location: The Glorious People's Republic of Austin
Posts: 178

Rep: Reputation: 62
weirdness in the cron log


I just got into reading through the logs so I could learn a little bit more about what was happening on my system, and the cron log has some weirdness in it that I'm not quite sure how to interpret. this is the output of /var/log/cron:
Code:
Feb 27 10:25:10 6h057 atd[4412]: Cannot change to /var/spool/atjobs: Permission denied
Mar  4 00:17:05 6h057 atd[4772]: Cannot change to /var/spool/atjobs: Permission denied
Mar  4 17:28:29 6h057 atd[4521]: Cannot change to /var/spool/atjobs: Permission denied
Mar  4 17:35:41 6h057 atd[4521]: Cannot change to /var/spool/atjobs: Permission denied
Mar  4 18:24:59 6h057 atd[4521]: Cannot change to /var/spool/atjobs: Permission denied
Mar  4 18:44:35 6h057 atd[4522]: Cannot change to /var/spool/atjobs: Permission denied
Mar  4 19:15:05 6h057 atd[4521]: Cannot change to /var/spool/atjobs: Permission denied
Mar  4 22:21:42 6h057 atd[4717]: Cannot change to /var/spool/atjobs: Permission denied
Mar  5 20:29:23 6h057 atd[4521]: Cannot change to /var/spool/atjobs: Permission denied
Mar  5 21:11:25 6h057 atd[4385]: Cannot change to /var/spool/atjobs: Permission denied
Mar  7 17:35:08 6h057 atd[4580]: Cannot change to /var/spool/atjobs: Permission denied
Mar  7 20:59:59 6h057 atd[4580]: Cannot change to /var/spool/atjobs: Permission denied
Mar  7 21:25:52 6h057 atd[4385]: Cannot change to /var/spool/atjobs: Permission denied
Mar  8 04:45:54 6h057 atd[4624]: Cannot change to /var/spool/atjobs: Permission denied
Mar  8 10:52:44 6h057 atd[4692]: Cannot change to /var/spool/atjobs: Permission denied
Mar  8 19:08:14 6h057 atd[4538]: Cannot change to /var/spool/atjobs: Permission denied
Mar  9 12:40:05 6h057 atd[4644]: Cannot change to /var/spool/atjobs: Permission denied
Mar  9 15:22:38 6h057 atd[4450]: Cannot change to /var/spool/atjobs: Permission denied
I find this very odd because I have never used 'at' ever, and it doesn't appear to be in the default cron or syslog configuration. Can somebody give me an idea of why this is appearing?

Thank you
 
Old 03-10-2006, 12:15 PM   #2
jproveaux
LQ Newbie
 
Registered: Jan 2006
Posts: 17

Rep: Reputation: Disabled
what distro are you running? Are you using NFS?

EDIT: The error is produced, most likely, by a permissions problem. Of course, that wouldn't explain why it's running "without your permission"....

There's a LQ thread about it; see http://www.linuxquestions.org/questi...hreadid=221772

Last edited by jproveaux; 03-10-2006 at 12:21 PM.
 
Old 03-10-2006, 01:45 PM   #3
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Since you're running Slackware, have a look in /etc/rc.d/rc.M for a line like:
Code:
/usr/sbin/atd -b 15 -l 1
If it's there, that's normal - but the error message isn't. On my system, that directory has the following permissions:
Code:
ls -ld /var/spool/atjobs
drwx------ 2 daemon daemon 72 2006-03-05 11:58 /var/spool/atjobs
 
Old 03-10-2006, 02:26 PM   #4
bl0tt0
Member
 
Registered: Aug 2005
Location: The Glorious People's Republic of Austin
Posts: 178

Original Poster
Rep: Reputation: 62
Thanks gilead! That was the exact issue that I had. Somehow the /var/spool/atjobs got its owner and group changed to bin. A quick reinstall of 'at' showed that this was indeed the problem. I wonder how that change occurred, since I definitely didn't run a chown on it myself. Any ideas?

Thank you.
 
Old 03-10-2006, 02:47 PM   #5
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Only guessing I'm afraid - possibly upgrading/installing something else changed the permissions. Was the at package part of your original install or added later?
 
Old 03-10-2006, 02:54 PM   #6
bl0tt0
Member
 
Registered: Aug 2005
Location: The Glorious People's Republic of Austin
Posts: 178

Original Poster
Rep: Reputation: 62
it was originally installed as far as I can recall. I did an expert install where I put almost everything on except for several server daemons that I knew I wouldn't need on my desktop system. I'm wondering what could have changed it since I could get it back to normal by simply reinstalling at. In any case, it also has me wondering what other permissions may have been changed in my system. I guess I'll be reading my logs starting from around Feb 26...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How can I configure the cron log? raybcher Linux - Software 1 12-13-2005 03:35 PM
cron log empty plisken Slackware 2 11-17-2004 09:00 AM
Can't get Cron to log anything t3___ Linux - Newbie 3 05-19-2004 10:14 AM
Cron Scripting Weirdness . . . Deeter Linux - General 7 07-28-2003 07:02 PM
dual entries in cron log for cron.daily cpharvey Linux - General 3 02-27-2003 02:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:18 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