Internal Server Error

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
mark.quilates
Posts: 21
Joined: Sat Feb 27, 2016 3:12 am

Internal Server Error

Post by mark.quilates »

Hi Guys,

Could you help me please, Im getting Internal Server Error once I tried to access my nagios. I've installed Nagios core 4.3.4 on CentOS 7.3.1611. here's the link where I got the step on the installation. https://support.nagios.com/kb/article/n ... ource.html

thanks!
User avatar
eloyd
Cool Title Here
Posts: 2129
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Internal Server Error

Post by eloyd »

Does anything show in /var/log/httpd/error_log from your web server?
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoydI'm a Nagios Fanatic!
kyang

Re: Internal Server Error

Post by kyang »

Thanks @eloyd!

As mentioned, the web server error_log will help us. Please continue to post this.

Code: Select all

/var/log/httpd/error_log
Also is Nagios running?

Code: Select all

systemctl status nagios.service
mark.quilates
Posts: 21
Joined: Sat Feb 27, 2016 3:12 am

Re: Internal Server Error

Post by mark.quilates »

Hi Guys,

Thanks for the usual support, I can access now my nagios. I just followed the steps on this link http://www.howtovmlinux.com/articles/ra ... ctory.html.

Thanks!
mark.quilates
Posts: 21
Joined: Sat Feb 27, 2016 3:12 am

Re: Internal Server Error

Post by mark.quilates »

Hi Guys,

I having this Error once I tried to force check and acknowledge services.

Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'!
The external command file may be missing, Nagios may not be running, and/or Nagios may not be checking external commands.
An error occurred while attempting to commit your command for processing.
User avatar
eloyd
Cool Title Here
Posts: 2129
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Internal Server Error

Post by eloyd »

Your Nagios software isn't actually running. Please provide the information asked for in previous responses.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoydI'm a Nagios Fanatic!
kyang

Re: Internal Server Error

Post by kyang »

Thanks @eloyd!

@mark.quilates, Please give us the output of the information for us to better assist you.
Just so we can double check your original issue.
mark.quilates
Posts: 21
Joined: Sat Feb 27, 2016 3:12 am

Re: Internal Server Error

Post by mark.quilates »

Hi Guys,

I have attached the screenshot, please see. Thanks!
httpd error_log
httpd error_log
nagios status
nagios status
mark.quilates
Posts: 21
Joined: Sat Feb 27, 2016 3:12 am

Re: Internal Server Error

Post by mark.quilates »

Just to give you an update, my nagios is now accessible on web. However I found an error when I tried to re-sched check and acknowledge services. Please see attached image below. Thanks in advance!
Attachments
resched
resched
re-sched the next check
re-sched the next check
nagios is now accessible on web
nagios is now accessible on web
mark.quilates
Posts: 21
Joined: Sat Feb 27, 2016 3:12 am

Re: Internal Server Error

Post by mark.quilates »

I got this error once re-sched check and acknowledge services.
Attachments
error.jpg
Locked