THIS KNOWLEDGE BASE HAS BEEN ARCHIVED AND IS NO LONGER BEING UPDATED
Please visit library.nagios.com/docs for the latest and most up-to-date documentation.
Home » Categories » Products » Nagios Log Server » Troubleshooting » Common Problems

Nagios Log Server - Administration Page Fails To Display

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:

  • To make changes press i on the keyboard first to enter insert mode
  • Press Esc to exit insert mode
  • When you have finished, save the changes in vi by typing :wq and press Enter

 

 

Resolution

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.

 

 

Final Thoughts

For any support related questions please visit the Nagios Support Forums at:

http://support.nagios.com/forum/



Special Offer For Knowledgebase Visitors! Get a huge discount on Nagios Log Server by clicking below.

Get 60% Off Nagios Log Server!

Did you know? Nagios provides complete monitoring of: Windows, Linux, UNIX, Servers, Websites, SNMP, DHCP, DNS, Email, Storage, Files, Apache, IIS, EC2, and more!

0 (0)
Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Installation errors on customized corporate builds of CentOS or RHEL
Viewed 15456 times since Tue, Jan 26, 2016
Waiting for Database Startup
Viewed 1595 times since Thu, Jan 30, 2025
Nagios Log Server - Troubleshooting Backups
Viewed 7176 times since Fri, Apr 15, 2016
Nagios Log Server - Troubleshooting Commands
Viewed 8681 times since Mon, Feb 11, 2019
Nagios Log Server - Logstash not running after upgrade to 2.0
Viewed 5095 times since Tue, Nov 14, 2017
Nagios Log Server - Waiting For Database Startup
Viewed 8543 times since Wed, Oct 12, 2016
Nagios Log Server - Logs Not Searchable or Not Coming In
Viewed 15602 times since Tue, Jan 27, 2015
Nagios Log Server - Logstash process dying
Viewed 7128 times since Mon, Apr 10, 2017
Web Browser Reports 330 Error Content Encoding
Viewed 9450 times since Tue, Mar 7, 2017
Forwarding Logs from Nagios Log Server to Another Destination
Viewed 8360 times since Wed, Sep 16, 2020