Page 1 of 1

Admin page produces 500 error

Posted: Wed Nov 15, 2017 1:18 pm
by ananke
We wanted to prepare for upgrade to 2.0 (from 1.4.4), and make sure we have appropriate config snapshots. While everything seems to be working just fine, when we try to access admin page we get HTTP ERROR 500.

Apache logs simply indicate error 500:

==> ssl_access_log <==
x.x.x.x - - [15/Nov/2017:13:13:56 -0500] "GET /nagioslogserver/admin HTTP/1.1" 500 -

==> ssl_request_log <==
[15/Nov/2017:13:13:56 -0500] x.x.x.x TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 "GET /nagioslogserver/admin HTTP/1.1" -

Restarting doesn't help. How can we go about getting this diagnosed and fixed?

Thanks!

Re: Admin page produces 500 error

Posted: Wed Nov 15, 2017 1:47 pm
by BanditBBS

Re: Admin page produces 500 error

Posted: Wed Nov 15, 2017 1:57 pm
by npolovenko
@ananke, I agree with @BanditBBS. Please increase the memory limit in php.ini. After that please restart apache with service httpd restart.

Re: Admin page produces 500 error

Posted: Wed Nov 15, 2017 3:03 pm
by ananke
Thank you, that did it!

Re: Admin page produces 500 error

Posted: Wed Nov 15, 2017 3:28 pm
by kyang
Sounds good! I'll be closing this thread!

If you have any more questions, feel free to create another thread.

Thanks for using the Nagios Support Forum!