Database Backend ndo2db is not running but subsystem locked
-
martinkuriax
- Posts: 37
- Joined: Tue Jul 01, 2014 12:21 pm
Database Backend ndo2db is not running but subsystem locked
Database Backend ndo2db is not running but subsystem locked what could be the problem kindly advise
-
martinkuriax
- Posts: 37
- Joined: Tue Jul 01, 2014 12:21 pm
Re: Database Backend ndo2db is not running but subsystem loc
martinkuriax wrote:Database Backend ndo2db is not running but subsystem locked what could be the problem kindly advise
I have resolved the issue with the following steps:
# service ndo2db status
ndo2db is not running but subsystem locked
# service nagios stop
Stopping nagios (via systemctl): [ OK ]
# ls -l /usr/local/nagios/var/ndo*
-rw-r--r-- 1 nagios nagios 5 Feb 11 10:16 /usr/local/nagios/var/ndo2db.lock
-rw-r--r-- 1 nagios nagios 2610399 Feb 18 16:06 /usr/local/nagios/var/ndomod.tmp
srwxr-xr-x 1 nagios nagios 0 Feb 11 10:16 /usr/local/nagios/var/ndo.sock
# mv /usr/local/nagios/var/ndo2db.lock /usr/local/nagios/var/ndo2db.lock.bak
# mv /usr/local/nagios/var/ndo.sock /usr/local/nagios/var/ndo.sock.bak
# service nagios status
No lock file found in /usr/local/nagios/var/nagios.lock
# service nagios start
Starting nagios (via systemctl): [ OK ]
# service ndo2db start
Starting ndo2db (via systemctl): [ OK ]
# service ndo2db status
ndo2db (pid 5573) is running...
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Database Backend ndo2db is not running but subsystem loc
Glad to hear it is resolved!martinkuriax wrote: I have resolved the issue with the following steps:
Locking thread