Internal server error on web interface when clicking "host"
Posted: Mon Jul 28, 2014 2:54 pm
I haven't checked web interface for some time. Nagios alerts were sent out fine. Today, when I added another host to monitor, I found that web interface stopped working. If I clicked host or service group more, http would exit as well. Not sure what was the cause.
Error_log shows:
[Mon Jul 28 14:25:49 2014] [notice] Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8x DAV/2 PHP/5.3.10 configured -- resuming normal operations
[Mon Jul 28 14:36:50 2014] [error] [client 172.16.64.49] Premature end of script headers: status.cgi, referer: http://sunmon/nagios/side.php
[Mon Jul 28 14:36:51 2014] [notice] caught SIGTERM, shutting down
[Mon Jul 28 14:37:50 2014] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Jul 28 14:37:52 2014] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Jul 28 14:37:52 2014] [notice] Digest: generating secret for digest authentication ...
[Mon Jul 28 14:37:52 2014] [notice] Digest: done
[Mon Jul 28 14:37:53 2014] [notice] Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8x DAV/2 PHP/5.3.10 configured -- resuming normal operations
[Mon Jul 28 14:50:46 2014] [error] [client 172.16.64.49] Premature end of script headers: status.cgi, referer: http://sunmon/nagios/side.php
[Mon Jul 28 14:50:47 2014] [notice] caught SIGTERM, shutting down
[Mon Jul 28 14:50:48 2014] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Jul 28 14:50:49 2014] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Jul 28 14:50:49 2014] [notice] Digest: generating secret for digest authentication ...
[Mon Jul 28 14:50:49 2014] [notice] Digest: done
[Mon Jul 28 14:50:50 2014] [notice] Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8x DAV/2 PHP/5.3.10 configured -- resuming normal operations
Access log shows:
172.16.64.49 - - [28/Jul/2014:14:50:40 -0500] "GET /nagios/main.php HTTP/1.1" 200 5001
172.16.64.49 - - [28/Jul/2014:14:50:40 -0500] "GET /nagios/rss-corefeed.php HTTP/1.1" 200 499
172.16.64.49 - - [28/Jul/2014:14:50:40 -0500] "GET /nagios/rss-newsfeed.php HTTP/1.1" 200 572
172.16.64.49 - - [28/Jul/2014:14:50:46 -0500] "GET /nagios/cgi-bin/status.cgi?hostgroup=all&style=hostdetail HTTP/1.1" 500 531
127.0.0.1 - - [28/Jul/2014:14:53:53 -0500] "GET / HTTP/1.0" 200 44
Error_log shows:
[Mon Jul 28 14:25:49 2014] [notice] Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8x DAV/2 PHP/5.3.10 configured -- resuming normal operations
[Mon Jul 28 14:36:50 2014] [error] [client 172.16.64.49] Premature end of script headers: status.cgi, referer: http://sunmon/nagios/side.php
[Mon Jul 28 14:36:51 2014] [notice] caught SIGTERM, shutting down
[Mon Jul 28 14:37:50 2014] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Jul 28 14:37:52 2014] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Jul 28 14:37:52 2014] [notice] Digest: generating secret for digest authentication ...
[Mon Jul 28 14:37:52 2014] [notice] Digest: done
[Mon Jul 28 14:37:53 2014] [notice] Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8x DAV/2 PHP/5.3.10 configured -- resuming normal operations
[Mon Jul 28 14:50:46 2014] [error] [client 172.16.64.49] Premature end of script headers: status.cgi, referer: http://sunmon/nagios/side.php
[Mon Jul 28 14:50:47 2014] [notice] caught SIGTERM, shutting down
[Mon Jul 28 14:50:48 2014] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Jul 28 14:50:49 2014] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon Jul 28 14:50:49 2014] [notice] Digest: generating secret for digest authentication ...
[Mon Jul 28 14:50:49 2014] [notice] Digest: done
[Mon Jul 28 14:50:50 2014] [notice] Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8x DAV/2 PHP/5.3.10 configured -- resuming normal operations
Access log shows:
172.16.64.49 - - [28/Jul/2014:14:50:40 -0500] "GET /nagios/main.php HTTP/1.1" 200 5001
172.16.64.49 - - [28/Jul/2014:14:50:40 -0500] "GET /nagios/rss-corefeed.php HTTP/1.1" 200 499
172.16.64.49 - - [28/Jul/2014:14:50:40 -0500] "GET /nagios/rss-newsfeed.php HTTP/1.1" 200 572
172.16.64.49 - - [28/Jul/2014:14:50:46 -0500] "GET /nagios/cgi-bin/status.cgi?hostgroup=all&style=hostdetail HTTP/1.1" 500 531
127.0.0.1 - - [28/Jul/2014:14:53:53 -0500] "GET / HTTP/1.0" 200 44