nrpe dead but subsys locked
Posted: Mon Dec 05, 2016 7:29 pm
I am getting the below error when I am trying to start nrpe on one of the client servers. can you please help me resolving this issue ?
Code: Select all
[[email protected] ~]# service nrpe status
nrpe dead but subsys locked
[[email protected] ~]# rm -f /var/lock/subsys/nrpe
[[email protected] ~]# ls -ltr /var/lock/subsys/nrpe
ls: cannot access /var/lock/subsys/nrpe: No such file or directory
[[email protected] ~]# ls -ltr /var/lock/subsys/
total 8
-rw-r--r-- 1 root root 0 Oct 26 22:16 lvm2-monitor
-rw-r--r-- 1 root root 0 Oct 26 22:17 network
-rw-r--r-- 1 root root 0 Oct 26 22:17 auditd
-rw------- 1 root root 0 Oct 26 22:17 rsyslog
-rw-r--r-- 1 root root 0 Oct 26 22:17 messagebus
-rw-r--r-- 1 root root 0 Oct 26 22:17 blk-availability
-rw-r--r-- 1 root root 0 Oct 26 22:17 netfs
-rw-r--r-- 1 root root 0 Oct 26 22:17 acpid
-rw-r--r-- 1 root root 0 Oct 26 22:17 sshd
-rw-r--r-- 1 root root 0 Oct 26 22:17 xinetd
-rw-r--r-- 1 root root 0 Oct 26 22:17 ntpdate
-rw-r--r-- 1 root root 0 Oct 26 22:17 ntpd
-rw-r--r-- 1 root root 0 Oct 26 22:17 haveged
-rw-r--r-- 1 root root 0 Oct 26 22:17 postfix
-rw-r--r-- 1 root root 0 Oct 26 22:17 crond
-rw-r--r-- 1 root root 0 Oct 26 22:18 atd
-rw-r--r-- 1 root root 0 Oct 26 22:18 local
-rw-r--r-- 1 root root 0 Oct 26 22:19 ossec-hids
-rw-r--r-- 1 root root 0 Dec 3 04:21 splunk
-rw-r--r-- 1 root root 0 Dec 5 19:24 httpd
-rw-r--r-- 1 root root 0 Dec 5 19:24 vuduServices
drwxrwxr-x. 5 root lock 4096 Dec 5 22:02 ../
drwxr-xr-x. 2 vvond vvond 4096 Dec 6 00:22 ./
[[email protected] ~]# service nrpe restart
Shutting down nrpe: [FAILED]
Starting nrpe: [ OK ]
[[email protected] ~]# service nrpe status
nrpe dead but subsys locked
[[email protected] ~]# tail -f /var/log/messages
Dec 6 00:25:01 bugzilla1 sshd[29928]: Accepted publickey for vvond from 10.230.48.209 port 41084 ssh2
Dec 6 00:25:01 bugzilla1 sshd[29940]: Received disconnect from 10.230.48.209: 11: disconnected by user
Dec 6 00:25:02 bugzilla1 sshd[29944]: Accepted publickey for vvond from 10.230.96.12 port 35084 ssh2
Dec 6 00:25:02 bugzilla1 sshd[29946]: Received disconnect from 10.230.96.12: 11: disconnected by user
Dec 6 00:25:05 bugzilla1 xinetd[1353]: START: nrpe pid=29950 from=::ffff:10.230.51.30
Dec 6 00:25:05 bugzilla1 xinetd[29950]: FAIL: nrpe address from=::ffff:10.230.51.30
Dec 6 00:25:05 bugzilla1 xinetd[1353]: EXIT: nrpe status=0 pid=29950 duration=0(sec)
Dec 6 00:25:20 bugzilla1 xinetd[1353]: START: nrpe pid=29976 from=::ffff:10.230.51.30
Dec 6 00:25:20 bugzilla1 xinetd[29976]: FAIL: nrpe address from=::ffff:10.230.51.30
Dec 6 00:25:20 bugzilla1 xinetd[1353]: EXIT: nrpe status=0 pid=29976 duration=0(sec)
Dec 6 00:27:48 bugzilla1 xinetd[1353]: START: nrpe pid=30091 from=::ffff:10.230.51.30
Dec 6 00:27:48 bugzilla1 xinetd[30091]: FAIL: nrpe address from=::ffff:10.230.51.30
Dec 6 00:27:48 bugzilla1 xinetd[1353]: EXIT: nrpe status=0 pid=30091 duration=0(sec)