1827984 Members
1752 Online
109973 Solutions
New Discussion

atd process not running

 
Ragni Singh
Super Advisor

atd process not running

Hello all, I am trying to restart the atd processes and am getting the following error. Any idea whats going on and what I can do to resolve.

[root@stagemddb1]~# service atd status
atd dead but subsys locked
[root@stagemddb1]~# ps -ef |grep atd
root 21676 21617 0 11:49 pts/0 00:00:00 grep atd


Thanks and points will be assigned.
5 REPLIES 5
Ivan Ferreira
Honored Contributor

Re: atd process not running

Run fist:

service atd stop

Then run again

service atd status

To see if displays "Stopped". If don't, go to the /var/run directory and remove the lock file.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Ragni Singh
Super Advisor

Re: atd process not running

Herfe is the following output. Also, I don't see a atd.pid or anything like that there.

[root@stagemddb1]/var/run# service atd stop
Stopping atd: [FAILED]
[root@stagemddb1]/var/run# service atd status
atd dead but subsys locked
[root@stagemddb1]/var/run# ll
total 92
drwx------ 2 root root 8192 Aug 31 15:38 cfengine
drwxr-xr-x 2 root root 4096 May 12 05:05 console
-rw-r--r-- 1 root root 5 Sep 15 12:03 crond.pid
-rw------- 1 root root 4 Sep 15 12:03 gpm.pid
-rw------- 1 root root 4 Sep 15 12:03 klogd.pid
-rw-r--r-- 1 root root 4 Sep 15 12:03 mdadm.pid
drwx------ 2 root root 4096 Mar 9 2006 mdmpd
drwxr-xr-x 2 mysql mysql 4096 Sep 22 16:23 mysqld
drwxrwxr-x 2 root root 4096 May 1 17:40 netreport
-rw-r--r-- 1 root root 5 Sep 15 12:04 rhnsd.pid
drwxr-xr-x 2 root root 4096 Oct 7 2004 saslauthd
-rw------- 1 root smmsp 29 Sep 15 12:03 sendmail.pid
-rw-r--r-- 1 smmsp smmsp 50 Sep 15 12:03 sm-client.pid
-rw------- 1 root root 4 Sep 15 12:03 snmpd
-rw-r--r-- 1 root root 4 Sep 15 12:03 sshd.pid
drwx------ 3 root root 4096 Sep 10 11:16 sudo
-rw------- 1 root root 4 Sep 15 12:03 syslogd.pid
-rw-rw-r-- 1 root utmp 5760 Oct 9 12:09 utmp
-rw-r--r-- 1 root root 4 Sep 15 12:04 vcagent.pid
drwxr-xr-x 2 root root 4096 Jul 11 11:29 winbindd
-rw-r--r-- 1 root root 4 Sep 15 12:03 xinetd.pid
[root@stagemddb1]/var/run#
Vipulinux
Respected Contributor

Re: atd process not running

Hi

You need to check if atd is in hung state. Do a ps -ef | grep atd, if it is not running go to /var/run/ and delete atd.pid and then do a service atd start.

Cheers
Ivan Ferreira
Honored Contributor

Re: atd process not running

Ok, the file then should be /var/lock/subsys/atd
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Ragni Singh
Super Advisor

Re: atd process not running

Thanks, that worked. Points assigned.