Page 1 of 1

No lock file found

Posted: Tue Jul 09, 2019 5:10 pm
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

Re: No lock file found

Posted: Wed Jul 10, 2019 9:23 am
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

Re: No lock file found

Posted: Tue Jul 16, 2019 12:19 pm
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

Re: No lock file found

Posted: Tue Jul 16, 2019 2:24 pm
by lmiltchev
I am glad this is sorted out now. Is it safe to close this topic or you have any further questions?