Page 1 of 1
nagios is not running
Posted: Tue Jun 13, 2017 9:09 am
by W.W.
Dear all,
When I reboot nagios Core 4.1, I get this error
No lock file found in /usr/local/nagios/var/nagios.lock
nagios.lock does not exist and nagios -v don't return error.
So, I create it the manually and now when I do
service nagios status
I have the below output
Any help would be appreciated
Re: nagios is not running
Posted: Tue Jun 13, 2017 11:18 am
by lmiltchev
How did you install Nagios? What tutorial/guide did you follow? What is the OS/architecture of the system you installed Nagios on? Do you have SELinux running on this box? What is the output of the following command?
Re: nagios is not running
Posted: Wed Jun 14, 2017 2:16 am
by W.W.
Thank you for the reply.
I didn't make the installation, I don't know which tuto was use but it's a FAN installation on CentOS 6.9. SELinux is disabled
/etc/init.d/nagios configtest
Code: Select all
[root@- var]# /etc/init.d/nagios configtest
Nagios Core 4.1.0rc1
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 02-18-2015
License: GPL
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Read object config files okay...
Running pre-flight check on configuration data...
Checking objects...
Checked 878 services.
Checked 383 hosts.
Checked 14 host groups.
Checked 0 service groups.
Checked 1 contacts.
Checked 1 contact groups.
Checked 37 commands.
Checked 5 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 383 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 5 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
Object precache file created:
/usr/local/nagios/var/objects.precache
Re: nagios is not running
Posted: Wed Jun 14, 2017 4:12 am
by W.W.
My problem was solved by switching off ndo2db, mysqld and httpd.
Can we close this post