Administration button - Error 500

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
gimeb
Posts: 93
Joined: Mon Jan 25, 2016 1:56 pm

Administration button - Error 500

Post by gimeb »

When I am clicking on Administration button (next to the Log Source) I am getting the page not found screen. I have tried in IE and Chrome. The results are the same – error 500. See attached. Please advise
You do not have the required permissions to view the files attached to this post.
Gary
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Administration button - Error 500

Post by mcapra »

Can you try upping the memory limit of your php?

In /etc/php.ini, change the memory_limit setting to 512M

Code: Select all

memory_limit = 512M
Former Nagios employee
https://www.mcapra.com/
gimeb
Posts: 93
Joined: Mon Jan 25, 2016 1:56 pm

Re: Administration button - Error 500

Post by gimeb »

I have changed the memory_limit=512M. Do I need to re-start NLS and how?
Gary
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Administration button - Error 500

Post by mcapra »

Restart the httpd service and see if that fixes the issue:

service httpd restart

When changes are made to php.ini, you usually need to restart the httpd/apache service to load the new changes (at least with Nagios products). My mistake for forgetting to mention that :)
Former Nagios employee
https://www.mcapra.com/
gimeb
Posts: 93
Joined: Mon Jan 25, 2016 1:56 pm

Re: Administration button - Error 500

Post by gimeb »

Thank you for your support. This has fixed the issue and I can use Admin functions. Please let me know what are the commands to restart NLS if I ever need it
Gary
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Administration button - Error 500

Post by mcapra »

There's really 3 core components that make up NLS, and you can restart them like so:

Code: Select all

service httpd restart
service elasticsearch restart
service logstash restart
Did you have additional questions regarding this, or can I close the thread and mark it as resolved?
Former Nagios employee
https://www.mcapra.com/
Locked