Page 1 of 1

Administration Page and Others Produce Error

Posted: Tue Jul 19, 2016 5:30 pm
by myriad
I'm getting error 500 when I attempt to get to the admin page or some others:
[19/Jul/2016:17:26:33 -0500] "GET /nagioslogserver/app/panels/table/micropanel.php HTTP/1.1" 200 3554 "http://logsvr/nagioslogserver/dashboard" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36"
[19/Jul/2016:17:26:39 -0500] "GET /nagioslogserver/admin HTTP/1.1" 500 - "http://logsvr/nagioslogserver/dashboard" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36"
System link works though:
[19/Jul/2016:17:28:05 -0500] "POST /nagioslogserver/api/system/status HTTP/1.1" 200 82 "http://logsvr/nagioslogserver/admin/system" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36"
Cluster link - No such luck:
[19/Jul/2016:17:28:43 -0500] "GET /nagioslogserver/admin/cluster HTTP/1.1" 500 - "http://logsvr.com/nagioslogserver/admin/globals" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36"

Any ideas before a reinstall? I'm on Nagios Log Server • 1.4.1

Re: Administration Page and Others Produce Error

Posted: Tue Jul 19, 2016 6:27 pm
by myriad
Fixed it!
Increase the 'memory_limit' setting in /etc/php.ini. Default is 128M - try increasing it to 256M and running 'service httpd restart'.
I changed it to 256M, and that took care of it.

Re: Administration Page and Others Produce Error

Posted: Tue Jul 19, 2016 7:01 pm
by Box293
Excellent, this is the same solution provided in this KB article:

https://support.nagios.com/kb/article.php?id=132