My nagios server (process_ suddenly stopped running.
When i run service nagios status i get
No lock file found in /var/run/nagios.lock
and at the web interface
unable to get process status
or
nagios (pid 2469) is running...
and at the web interface not running
At both nagios does not actually run
lock File - nagios not running
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: lock File - nagios not running
Hello, @orani. Does the lock file reappear after you start the nagios process?
service nagios start
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: lock File - nagios not running
No. When i run service nagios start there are no erros but no lock file is created and nagios dont really start
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: lock File - nagios not running
@orani, When did this issue start and what changes were done to the server prior to this?
What's the output of:
What's the output of:
Can you show me the output of:service nagios status
Also, please show me the output of the following commands:tail -200 /usr/local/nagios/var/nagios.log
cat /etc/rc.d/init.d/nagios | grep NagiosRunFile=
cat /usr/local/nagios/etc/nagios.cfg | grep lock
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: lock File - nagios not running
please close this thread. It was a critical issue and we restored our backup so i cannot reply and give more infos about the problem.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: lock File - nagios not running
Lockingorani wrote:please close this thread. It was a critical issue and we restored our backup so i cannot reply and give more infos about the problem.