Page 1 of 1
Urgent!! service nagios start(restart) failed?
Posted: Fri Dec 21, 2018 12:17 pm
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?!
Re: Urgent!! service nagios start(restart) failed?
Posted: Fri Dec 21, 2018 1:02 pm
by xpertech
The error details.
Re: Urgent!! service nagios start(restart) failed?
Posted: Fri Dec 21, 2018 1:24 pm
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
Re: Urgent!! service nagios start(restart) failed?
Posted: Fri Dec 21, 2018 6:24 pm
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?
Re: Urgent!! service nagios start(restart) failed?
Posted: Wed Dec 26, 2018 10:06 am
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.
Re: Urgent!! service nagios start(restart) failed?
Posted: Wed Dec 26, 2018 4:55 pm
by xpertech
Can lock, thanks!