internal error page when setting something into maintenance

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.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: internal error page when setting something into maintena

Post by tmcdonald »

So it's working now? The garbled log had the raw HTTP headers I wanted to take a look at. I had seen some issues before where cgi scripts/executables would cut off HTTP headers in the middle for some weird reason, thought that was happening here.
Former Nagios employee
vivithemage
Posts: 102
Joined: Tue May 21, 2013 2:52 pm

Re: internal error page when setting something into maintena

Post by vivithemage »

Similiar symptoms? What'd you do to fix it ... I fixed it by 0777 that rw file.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: internal error page when setting something into maintena

Post by tmcdonald »

vivithemage wrote:Similiar symptoms? What'd you do to fix it ... I fixed it by 0777 that rw file.
In the past I had just replaced the binary. It likely became corrupted and crashed in the middle of sending the HTTP header, which sometimes causes a 500 server error. This wasn't in Nagios though, and I could be wrong about the cause but it would make sense in that context.
Former Nagios employee
vivithemage
Posts: 102
Joined: Tue May 21, 2013 2:52 pm

Re: internal error page when setting something into maintena

Post by vivithemage »

I gotcha. I think it is working now after chmod 0777 to that file.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: internal error page when setting something into maintena

Post by tmcdonald »

vivithemage wrote:I gotcha. I think it is working now after chmod 0777 to that file.
Awesome. Gonna lock up this thread now. Feel free to open another if you have any more questions.
Former Nagios employee
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: internal error page when setting something into maintena

Post by slansing »

Excellent, chime in if it fails again.
Locked