1〉产生问题前所作的操作:
[root@localhost ~]# at now +2minutes
at> echo 'hello'
at>
job 7 at 2012-05-10 17:23
Can't open /var/run/atd.pid to signal atd. No atd running?
2〉错误分析:
由错误分析可知可能是由于atd这个进程被停止所以无法使用at
因此查看该服务的进程:
[root@localhost ~]# /etc/init.d/atd status
atd is stopped
可以知道的确是被停止
3〉解决方法:
将atd服务启动:/etc/init.d/atd start
[root@localhost ~]# /etc/init.d/atd start
Starting atd: [ OK ]
4>将该服务启动之后再继续执行之前的操作:
[root@localhost ~]# at now +2minutes
at> echo 'hello'
at>
job 8 at 2012-05-10 17:29
操作成功
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26723566/viewspace-739842/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/26723566/viewspace-739842/