Page 1 of 1

restore Nagios XI database(s) from comand line

Posted: Wed Nov 26, 2014 3:05 pm
by DanZ
My system had a crash in the middle of a bulk load config apply. My admin rebooted the server and now the Nagios XI GUI will not stat can get into the admin screen to report from last known good backup. I rand the DB repair script from the command line with no errors but nagios web interface is still not up. How do I restore from last know good backup manually from the Linux command line. Founded s few doc on the site but don't think their are currents. I'm running latest ver of XI. Just install 3 weeks ago.

Re: restore Nagios XI database(s) from comand line

Posted: Wed Nov 26, 2014 3:12 pm
by abrist
What error do you get when you try to access the web ui?
What is the output of:

Code: Select all

service httpd status
service postgresql status
tail -15 /var/log/messages
tail -15 /var/log/httpd/error_log
tail -15 /var/log/mysqld.log

Re: restore Nagios XI database(s) from comand line

Posted: Wed Nov 26, 2014 3:55 pm
by DanZ
Looks like it was the /etc/php.ini memory_limit I set it to = 536870912 and restarted nagios now the Web UI is up. I'm trying to apply config now.. Thanks for your help