No lock file found

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
josetorres
Posts: 15
Joined: Wed Feb 14, 2018 10:10 am

No lock file found

Post by josetorres »

hello, i have a problem whit Nagios XI

Monitoring Engine won´t start it shows the next error
no lock file found in var/run/nagios.lock

service nagios won´t start

Best Regards
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: No lock file found

Post by lmiltchev »

Can you run the following commands, and show the output?

Code: Select all

grep 'full' /usr/local/nagiosxi/var/xiversion
/usr/local/nagios/bin/nagios | head -2
grep 'NagiosRunFile=' /etc/init.d/nagios
grep 'NagiosRunFile=' /etc/rc.d/init.d/nagios
grep 'lockfile=' /usr/local/nagiosxi/scripts/nom_restore_nagioscore_checkpoint.sh
grep 'lockfile=' /usr/local/nagiosxi/scripts/nom_restore_nagioscore_checkpoint_specific.sh
grep 'lock' /usr/local/nagios/etc/nagios.cfg
Be sure to check out our Knowledgebase for helpful articles and solutions!
josetorres
Posts: 15
Joined: Wed Feb 14, 2018 10:10 am

Re: No lock file found

Post by josetorres »

Hello, the problem was in the config of 1 service, which did not allow me to start nagios correctly..

Thank for your answer.
Best Regards
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: No lock file found

Post by lmiltchev »

I am glad this is sorted out now. Is it safe to close this topic or you have any further questions?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked