Hi,
I just installed Nagios 4.0.8 on a freshly installed Fedora 20 linux server.
I followed the instructions here:
http://nagios.sourceforge.net/docs/3_0/ ... edora.html
But when I try to open up the web page for Nagios (http://localhost/nagios), it's giving me an error.
There is a red X that says "Not Running".
When I try to click on Hosts or Services, I get another error:
Error: Could not read object configuration data!
Verifying Permissions gives me an OK:
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
I'm guessing that this is some sort of permissions error, but I don't have any clue what I've done wrong.
I'm not really that versed in Linux.
Can someone please help?
Thanks,
Justin
Nagios Core "Not Running" after new install
Re: Nagios Core "Not Running" after new install
Is the nagios process running? Run the following from the command line and post the output:
Code: Select all
service nagios restart
Former Nagios employee
Re: Nagios Core "Not Running" after new install
Yes, Nagios is started.
[root@localhost var]# service nagios restart
Restarting nagios (via systemctl): [ OK ]
Still doesn't work.
[root@localhost var]# service nagios restart
Restarting nagios (via systemctl): [ OK ]
Still doesn't work.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Nagios Core "Not Running" after new install
Is SELinux enabled on your host? I know it can cause issues.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Nagios Core "Not Running" after new install
I did check the SELINUX. It was set to permissive mode.
Re: Nagios Core "Not Running" after new install
Okay, my friend may have helped me solve the problem.
Apparently, it was running, but not running as an init script. He told me to look at this:
http://nagios.sourceforge.net/docs/3_0/startstop.html
I ran it, and the website shows Nagios running now.
Now, I just have to make sure that it starts upon restarting and see if it works.
Apparently, it was running, but not running as an init script. He told me to look at this:
http://nagios.sourceforge.net/docs/3_0/startstop.html
I ran it, and the website shows Nagios running now.
Now, I just have to make sure that it starts upon restarting and see if it works.
Re: Nagios Core "Not Running" after new install
Okay, Nagios was not starting on boot up.
That turned out to be because of SELINUX (since I didn't turn it off permanently).
So, it looks like it's working now. Thanks for your help.
That turned out to be because of SELINUX (since I didn't turn it off permanently).
So, it looks like it's working now. Thanks for your help.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Nagios Core "Not Running" after new install
Thanks for letting us know its working!
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.