Recently, on my CentOS server, I had my system error log at /var/log/messages flooded with a whole heap of lines like the one below.
server01 atd[13653]: File a0001001567d06 is in wrong format – aborting
Naturally, this continued until the server ran out of disk space and died. I couldn’t work out how the issue actually originated however, I managed to fix the issue by deleting the at job that was failing.
The following commands fixed the problem for me.
First of all use atq to find out the job number.
# atq a0001001567d06
You should get a response similar to the one below. The first number is the job number you need to run the next command.
16 2012-09-04 00:38 a root
Using the job number from above, run atrm to remove the troublesome job
# atrm 16
Problem solved!
6 Responses
Thanks, I took the information that you gave me and made a script to delete all jobs in the at queue.
for x in `atq | cut -f1`; do atrm $x; done
Hi Isaiah,
Thanks for sharing your code for others!
Great this helped me to creare /var/logs in the nick of time and save the server.
Great to hear that it’s helped you out. Thanks for sharing!
Can any one tell me why this error is coming… By following this process still i’m not able to resolve the issue…
Hi Ashish,
This is the solution that worked for me. Your problem might be caused by a different underlying issue? Sorry I can’t help further!