ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Can't open /var/run/atd.pid to signal atd. No atd running?

Can't open /var/run/atd.pid to signal atd. No atd running?

原创 Linux操作系统 作者:兰在晨 时间:2012-08-04 17:09:36 0 删除 编辑
 

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博客 ” ,链接:https://blog.itpub.net/26723566/viewspace-739842/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2012-06-04

  • 博文量
    58
  • 访问量
    222328