Problem Description
When you click the Administration menu the page fails to load and you receive a HTTP 500 error.
Editing Files
In this article you will be required to edit files. This documentation will use the vi text editor. When using the vi
editor:
In larger deployments of Log Server, PHP needs the memory_limit increased from the default of 128M. This needs to be performed on all Log Server nodes. The following steps will increase the value to 512M.
Establish a terminal session to each Log Server node as a root user.
This change needs to be made to your php.ini file, to determine the location of this file execute the following command:
find /etc -name php.ini
If there are multiple results then the one in the apache directory is the one that needs changing.
Edit the file and make the following change:
memory_limit = 512M
Once the change has been made you will have to restart Apache for the changes to take effect using one of the commands below:
RHEL 7 + | CentOS 7 +
systemctl restart httpd.service
Debian | Ubuntu 16/18/20
systemctl restart apache2.service
Once the service has restarted, the Administration page will be accessible. If the problem persists, please increase the value again.
For any support related questions please visit the Nagios Support Forums at:
http://support.nagios.com/forum/
Article ID: 132
Created On: Thu, Jan 21, 2016 at 7:50 PM
Last Updated On: Thu, Mar 11, 2021 at 1:44 PM
Authored by: tlea
Online URL: https://support.nagios.com/kb/article/nagios-log-server-administration-page-fails-to-display-132.html