Page 1 of 2

Internal Server Error

Posted: Tue Oct 10, 2017 4:16 am
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!

Re: Internal Server Error

Posted: Tue Oct 10, 2017 8:34 am
by eloyd
Does anything show in /var/log/httpd/error_log from your web server?

Re: Internal Server Error

Posted: Tue Oct 10, 2017 11:01 am
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

Re: Internal Server Error

Posted: Wed Oct 11, 2017 2:11 am
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!

Re: Internal Server Error

Posted: Wed Oct 11, 2017 4:51 am
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.

Re: Internal Server Error

Posted: Wed Oct 11, 2017 6:05 am
by eloyd
Your Nagios software isn't actually running. Please provide the information asked for in previous responses.

Re: Internal Server Error

Posted: Wed Oct 11, 2017 11:39 am
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.

Re: Internal Server Error

Posted: Wed Oct 11, 2017 9:22 pm
by mark.quilates
Hi Guys,

I have attached the screenshot, please see. Thanks!
httpd error_log
httpd error_log
nagios status
nagios status

Re: Internal Server Error

Posted: Wed Oct 11, 2017 9:31 pm
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!

Re: Internal Server Error

Posted: Wed Oct 11, 2017 9:34 pm
by mark.quilates
I got this error once re-sched check and acknowledge services.