Page 1 of 3
Nagios process not running on server ...
Posted: Wed Jun 17, 2015 8:45 am
by jyoti22
Hi Team
I am currently using evaluation license for nagios POC setup. My evaluation license got expired on 9th June and extended same for one month on next day.
Before license expiration nagios was working fine. But from that date, nagios is not working and I am not able to start nagios process on the server. Can you please guide me on this as I do not want to reinstall nagios xi server.
In admin -> system profile I get below output
License ends in:
Days left in Trial: 24
nagios is not running
NPCD running (pid 6245).
ndo2db (pid 6388) is running...
CPU Load 15: 0.36
Total Hosts: 19
Total Services: 114
Please help on this issue
Re: Nagios process not running on server ...
Posted: Wed Jun 17, 2015 9:18 am
by tmcdonald
Please run the following command as root from the Nagios server command line and post the results:
Code: Select all
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Re: Nagios process not running on server ...
Posted: Thu Jun 18, 2015 12:12 am
by jyoti22
Thanks for quick reply. Here is the output.
Nagios Core 4.0.8
Copyright (c) 2009-present Nagios Core Development Team and Community Contributo rs
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-12-2014
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 114 services.
Checked 19 hosts.
Checked 5 host groups.
Checked 3 service groups.
Checked 10 contacts.
Checked 5 contact groups.
Checked 163 commands.
Checked 16 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 19 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 16 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
Re: Nagios process not running on server ...
Posted: Thu Jun 18, 2015 12:29 am
by Box293
what happens if you run:
on the command line?
Re: Nagios process not running on server ...
Posted: Thu Jun 18, 2015 12:47 am
by jyoti22
[root@nagiosxi ~]# service nagios start
Starting nagios: done.
[root@nagiosxi ~]# service nagios stop
Stopping nagios:/etc/init.d/nagios: line 141: kill: (27041) - No such process
done.
[root@nagiosxi ~]#
Re: Nagios process not running on server ...
Posted: Thu Jun 18, 2015 12:30 pm
by ssax
Run the commands below and post the full output in code tags:
Code: Select all
service nagios stop
ps -aux | grep nagios
service nagios start
ps -aux | grep nagios
Re: Nagios process not running on server ...
Posted: Fri Jun 19, 2015 1:20 am
by jyoti22
Please find output of the commands in attached file
Re: Nagios process not running on server ...
Posted: Fri Jun 19, 2015 10:53 am
by tgriep
It looks like there is a stuck Nagios process. Try running this set of commands to see if it starts for you.
Code: Select all
service nagios stop
killall nagios
service nagios start
Let us know if this resolves the issue.
Re: Nagios process not running on server ...
Posted: Mon Jun 22, 2015 2:35 am
by jyoti22
Thank You tgriep for reply. I already ran the commands but no help.
Re: Nagios process not running on server ...
Posted: Mon Jun 22, 2015 7:16 am
by jyoti22
Please find attached nagios.debug file for reference.