lock file looks like its already held by another instance
Posted: Thu Dec 18, 2014 10:08 am
The monitoring engine is stopped. when I try to start it, I get the following error in nagios.log.
I tried stopping and starting nagios/ndo2db and checking for stale nagios processes. I also tried stopping and starting nagios, nagiosxi, ndo2db, mysql and postresql and restarting all. I also tried rebooting. None of these "solutions" worked.
Why did this occur and how do I fix it?
Thanks!
Code: Select all
[1418914938] ndomod registered for contact data'
[1418914938] ndomod registered for contact notification data'
[1418914938] ndomod registered for acknowledgement data'
[1418914938] ndomod registered for state change data'
[1418914938] ndomod registered for contact status data'
[1418914938] ndomod registered for adaptive contact data'
[1418914938] Event broker module '/usr/local/nagios/bin/ndomod.o' initialized successfully.
[1418914938] Successfully launched command file worker with pid 1258
[1418914954] ndomod: Successfully connected to data sink. 1970 queued items to flush.
[1418914954] ndomod: Successfully flushed 1970 queued items to data sink.
[1418915024] Lockfile '/usr/local/nagios/var/nagios.lock' looks like its already held by another instance of Nagios (PID 1211). Bailing out...
[1418915028] Lockfile '/usr/local/nagios/var/nagios.lock' looks like its already held by another instance of Nagios (PID 1211). Bailing out...Why did this occur and how do I fix it?
Thanks!