LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-08-2005, 02:27 PM   #1
beaming_linux
LQ Newbie
 
Registered: Mar 2005
Posts: 4

Rep: Reputation: 0
atd stopped working


Been using Fedora core 3 for a few months, everything appeared okay few issues with cdrecorder etc etc then all of a sudden atd which is running appears not to be able to run anything. Every time I submit something there are no error messages, no load on the cpu to speak of and the file appears in /tmp but nothing happens. Any ideas anyone?

Help much appreciated
 
Old 03-09-2005, 06:53 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

Is atd not running or is at not working?

ps -ef | grep atd | grep -v grep should show an entry something like this:

at 2927 1 0 2004 ? 00:00:00 /usr/sbin/atd

It is probably running 'cause you do not get any errors when executing an at statement.

What does atq show (btw: atq is the same as at -l).
 
Old 03-09-2005, 07:16 AM   #3
beaming_linux
LQ Newbie
 
Registered: Mar 2005
Posts: 4

Original Poster
Rep: Reputation: 0
atd stopped working

Thanks for the interest shown

The ps etc command returned

daemon 4644 1 0 Mar08 ? 00:00:00 /usr/sbin/atd

for atd

atq normally shows no entry in the queue but occassionally briefly shows something so it's as if something runs for a short time and then exits - but I can't find anywhere to look for error messages etc. Whatever script I use seems to do the same thing so I don't think it's associated with the application I'm running which as I say has been happily running in the background for some months.

I've also tried restarting atd and killing every process I dare but so far to no avail
 
Old 03-09-2005, 07:45 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

The output (if any) should be send (by mail) to the user executing the at command.

$ at XX:YY
at> ls -l
at> ctrl-d

The ouput of the above command is mailed to the user

$ at XX:YY
at> ls -l > /tmp/ls.out
at> ctrl-d

The output of the above will _only_ go to /tmp/ls.out, no mail to user.

Did you change the script that is started by at, especially (re)directing of the output it generates?
 
Old 03-09-2005, 08:13 AM   #5
beaming_linux
LQ Newbie
 
Registered: Mar 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks again

There is no mail being sent, trying the ls as you suggest also doesn't result in the output in /tmp

It is the same programs running or attempting to run now that ran okay previously so I haven't changed any output redirection etc
 
Old 03-09-2005, 08:27 AM   #6
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

Last things I can come up with:

Did you take a look at man atd, especially these 2 entries:

1) -l Specifies a limiting load factor, over which batch jobs should not be run, instead of the compile-time choice of 0.8. For an SMP system with n CPUs, you will probably want to set this higher than n-1.

2) WARNING atd won't work if its spool directory is mounted via NFS even if no_root_squash is set.

I do assume there are no at(d) related messages in you logfile(s).
 
Old 03-20-2005, 09:00 PM   #7
bobcatos
LQ Newbie
 
Registered: Mar 2005
Location: Cumby, Texas
Distribution: Fedora Core
Posts: 2

Rep: Reputation: 0
atd problem solved by upgrade

I had the same problem with atd. Lights are on but nobody is home. Goes through the motions (queues the job, unqueues the job) but doesn't run the job and there are no diagnostics in /var/log/cron or /var/log/messages. Went to bugzilla.redhat.com and found the solution to a different atd problem there. Go to http://people.redhat.com/~jvdias/at/FC-3/ and download at-3.1.8-68_FC3.i386.rpm. I upgraded with that and it fixed the problem.

Last edited by bobcatos; 03-20-2005 at 09:01 PM.
 
Old 03-25-2005, 07:54 AM   #8
beaming_linux
LQ Newbie
 
Registered: Mar 2005
Posts: 4

Original Poster
Rep: Reputation: 0
thanks very much, tried it and it works fine

cheers
 
  


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
Boom it stopped working... Rufus330Ci Linux - Networking 1 10-14-2005 04:15 PM
su stopped working bulldogzerofive Linux - Software 5 01-17-2005 02:05 AM
X stopped working sueno Fedora 15 10-02-2004 12:23 PM
It stopped working. UmneyDurak Fedora 8 08-15-2004 02:41 PM
My X just stopped working??? freeindy Linux - Newbie 4 11-30-2002 10:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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