Dear All,<br>We would run our program using at daemon. We see the following error after pushing CTRL+D:<br><br>Warning: at daemon not running<br><br>We then tried to restart the atd service as follows:<br>[root@localhost ~]# /etc/init.d/atd restart<br>
Stopping atd: [FAILED]<br>Starting atd: [ OK ]<br><br>as you see the service is up. But again we got the last error, i.e., Warning: at daemon not running.<br>
Then we tried to stop the service of atd. The result is:<br>[root@localhost ~]# /etc/init.d/atd stop<br>Stopping atd: [FAILED]<br><br>So we wonder why we cannot stop the bringing up service atd.<br>
We then tried to make a trick. Our trick is:<br> echo 1234 >/var/run/atd.pid <br>then we tried to bringing up the service again:<br>[root@localhost ~]# /etc/init.d/atd restart<br>Stopping atd: [FAILED]<br>
Starting atd: [ OK ]<br><br>after this we observe that the at daemon does work.<br>We thought that the problem is fixed. But unfortunately we observed the problem again by resubmitting another job.<br>
So we tried once more the above procedure. Sometime the above discussed procedure works well, and sometime it fails.<br>We tried to reinstall the atd service, as we just thought that maybe the problem comes from the atd service. But this also could not help.<br>
We changed on another machine, which at daemon there worked well, the stack size to unlimited. Then we found that the at daemon also on this machine fails to work.<br><br>We appreciate if you help us to fix this sever unexpected problem.<br>
Your,<br>M. Sotudeh<br> <br>