nagiosxi stuck at applying configuration
Re: nagiosxi stuck at applying configuration
Check the following:
http://support.nagios.com/wiki/index.ph ... _Completes
If the steps above do not resolve your issues, please follow the section of the faq below and post the cmd.txt and reconfig.txt in code wraps:
http://support.nagios.com/wiki/index.ph ... n_Problems
http://support.nagios.com/wiki/index.ph ... _Completes
If the steps above do not resolve your issues, please follow the section of the faq below and post the cmd.txt and reconfig.txt in code wraps:
http://support.nagios.com/wiki/index.ph ... n_Problems
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: nagiosxi stuck at applying configuration
how do I restart Nagios service? Or maybe a reboot, to solve the issue?
Re: nagiosxi stuck at applying configuration
Code: Select all
service nagios restartFormer Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: nagiosxi stuck at applying configuration
I can generate reconfig.txt fine but cmd.txt I cannot find it anywhere, while applying config and wait for 5 minutes till I control-C the command. Attached please find the first file.
You do not have the required permissions to view the files attached to this post.
Re: nagiosxi stuck at applying configuration
correction I found cmd.txt file at /usr/local/nagiosxi/scripts, which took a while to popup, but it has no content inside (0KB).
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: nagiosxi stuck at applying configuration
Did you start "tail -f /usr/local/nagiosxi/var/cmdsubsys.log &> cmd.txt" before applying config?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: nagiosxi stuck at applying configuration
I ran the script first, then applied config, while it is hanging there for about 2 minutes I clicked on service to navigate away from the stalled screen, then Ctrl-C the script. I still don't see cmd.txt file at both "/usr/local/nagiosxi/var/" and "/usr/local/nagiosxi/scripts".
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: nagiosxi stuck at applying configuration
Well you should have been in /tmp/ when running this command, so more than likely that is where cmd.txt resides.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: nagiosxi stuck at applying configuration
I repeated the step after changing the script execution directory to /tmp/ and still 0KB for cmd.txt.
Re: nagiosxi stuck at applying configuration
Restart crond:
Now try to generate the cmd.txt again.
Code: Select all
service crond stop
ps -aef | grep cron
service crond startFormer Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.