restore Nagios XI database(s) from comand line

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
DanZ
Posts: 17
Joined: Thu Jan 02, 2014 11:36 am

restore Nagios XI database(s) from comand line

Post 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.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

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

Post 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
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
DanZ
Posts: 17
Joined: Thu Jan 02, 2014 11:36 am

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

Post 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
Locked