Nagios process not running on server ...

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
jyoti22
Posts: 254
Joined: Mon Mar 23, 2015 4:50 am

Nagios process not running on server ...

Post 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
Last edited by jyoti22 on Thu Jun 18, 2015 12:09 am, edited 1 time in total.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios process not running on server ...

Post 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
Former Nagios employee
jyoti22
Posts: 254
Joined: Mon Mar 23, 2015 4:50 am

Re: Nagios process not running on server ...

Post 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
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Nagios process not running on server ...

Post by Box293 »

what happens if you run:

Code: Select all

service nagios start
on the command line?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
jyoti22
Posts: 254
Joined: Mon Mar 23, 2015 4:50 am

Re: Nagios process not running on server ...

Post 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 ~]#
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagios process not running on server ...

Post 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
jyoti22
Posts: 254
Joined: Mon Mar 23, 2015 4:50 am

Re: Nagios process not running on server ...

Post by jyoti22 »

Please find output of the commands in attached file
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios process not running on server ...

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
jyoti22
Posts: 254
Joined: Mon Mar 23, 2015 4:50 am

Re: Nagios process not running on server ...

Post by jyoti22 »

Thank You tgriep for reply. I already ran the commands but no help.
jyoti22
Posts: 254
Joined: Mon Mar 23, 2015 4:50 am

Re: Nagios process not running on server ...

Post by jyoti22 »

Please find attached nagios.debug file for reference.
Locked