Internal Server Error

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Internal Server Error

Postby mark.quilates » Tue Oct 10, 2017 4:16 am

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!
mark.quilates
 
Posts: 21
Joined: Sat Feb 27, 2016 3:12 am

Re: Internal Server Error

Postby eloyd » Tue Oct 10, 2017 8:34 am

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!
User avatar
eloyd
Cool Title Here
 
Posts: 1858
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY

Re: Internal Server Error

Postby kyang » Tue Oct 10, 2017 11:01 am

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
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
kyang
 
Posts: 366
Joined: Tue Jul 25, 2017 3:35 pm

Re: Internal Server Error

Postby mark.quilates » Wed Oct 11, 2017 2:11 am

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

Postby mark.quilates » Wed Oct 11, 2017 4:51 am

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.
mark.quilates
 
Posts: 21
Joined: Sat Feb 27, 2016 3:12 am

Re: Internal Server Error

Postby eloyd » Wed Oct 11, 2017 6:05 am

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!
User avatar
eloyd
Cool Title Here
 
Posts: 1858
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY

Re: Internal Server Error

Postby kyang » Wed Oct 11, 2017 11:39 am

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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
kyang
 
Posts: 366
Joined: Tue Jul 25, 2017 3:35 pm

Re: Internal Server Error

Postby mark.quilates » Wed Oct 11, 2017 9:22 pm

Hi Guys,

I have attached the screenshot, please see. Thanks!

error_log.jpg
httpd error_log

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

Re: Internal Server Error

Postby mark.quilates » Wed Oct 11, 2017 9:31 pm

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
re-sched.jpg
resched
re-sched the next check.jpg
re-sched the next check
nagios.jpg
nagios is now accessible on web
mark.quilates
 
Posts: 21
Joined: Sat Feb 27, 2016 3:12 am

Re: Internal Server Error

Postby mark.quilates » Wed Oct 11, 2017 9:34 pm

I got this error once re-sched check and acknowledge services.
Attachments
error.jpg
mark.quilates
 
Posts: 21
Joined: Sat Feb 27, 2016 3:12 am

Next

Return to Nagios Core

Who is online

Users browsing this forum: No registered users and 33 guests