Urgent!! service nagios start(restart) failed?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
xpertech
Posts: 399
Joined: Thu Sep 01, 2011 9:47 pm

Urgent!! service nagios start(restart) failed?

Post by xpertech »

For some reason the NagiosXI service failed and can not be restarted,
the NagiosXI is in a VM and we shutdown -h the NagiosXI then restart VM, but NagiosXI service still failed?!
You do not have the required permissions to view the files attached to this post.
xpertech
Posts: 399
Joined: Thu Sep 01, 2011 9:47 pm

Re: Urgent!! service nagios start(restart) failed?

Post by xpertech »

The error details.
You do not have the required permissions to view the files attached to this post.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Urgent!! service nagios start(restart) failed?

Post by npolovenko »

Hello, @xpertech. What version of XI are you running? Is this a clean install or did you upgrade it recently?
Please sign in as the nagios user, run the reconfigure command and show me the output:
su - nagios
cd /usr/local/nagiosxi/scripts/
./reconfigure_nagios.sh
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
xpertech
Posts: 399
Joined: Thu Sep 01, 2011 9:47 pm

Re: Urgent!! service nagios start(restart) failed?

Post by xpertech »

npolovenko wrote:Hello, @xpertech. What version of XI are you running? Is this a clean install or did you upgrade it recently?
Please sign in as the nagios user, run the reconfigure command and show me the output:
su - nagios
cd /usr/local/nagiosxi/scripts/
./reconfigure_nagios.sh

The version is ...

Nagios XI Version : 5.4.11

twtpelnag02p 3.10.0-862.2.3.el7.x86_64 x86_64
CentOS Linux release 7.5.1804 (Core)
Gnome is not installed

this version had been run for a long time, not a fresh installed, but when execute the command you gave me, NagiosXI back to normal, it looks no more problem, thanks!

so, what's the command reconfigure_nagios.sh do for?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Urgent!! service nagios start(restart) failed?

Post by lmiltchev »

so, what's the command reconfigure_nagios.sh do for?
The script reconfigure_nagios.sh does a few things, such as fixing permissions, verifying configuration, and restarting nagios. It's almost the same as applying configuration from the GUI, except a config snapshot is not being created (when you run the command from the CLI).

Let us know if you have any further questions or if it is safe to lock this thread.
Be sure to check out our Knowledgebase for helpful articles and solutions!
xpertech
Posts: 399
Joined: Thu Sep 01, 2011 9:47 pm

Re: Urgent!! service nagios start(restart) failed?

Post by xpertech »

Can lock, thanks!
Locked