Page 1 of 1

Administration button - Error 500

Posted: Thu Nov 10, 2016 11:36 pm
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

Re: Administration button - Error 500

Posted: Fri Nov 11, 2016 10:04 am
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

Re: Administration button - Error 500

Posted: Fri Nov 11, 2016 2:34 pm
by gimeb
I have changed the memory_limit=512M. Do I need to re-start NLS and how?

Re: Administration button - Error 500

Posted: Fri Nov 11, 2016 2:42 pm
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 :)

Re: Administration button - Error 500

Posted: Fri Nov 11, 2016 5:36 pm
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

Re: Administration button - Error 500

Posted: Mon Nov 14, 2016 10:00 am
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?