Page 1 of 1

XI shutdown & restart method

Posted: Mon Mar 07, 2011 3:28 pm
by lyle
I went to upgrade our XI 2009R1.3G installation on Centos 5.5, when I realized I am not clear on how to shutdown, then restart XI.

I figure: "/etc/init.d/nagios stop" and "/etc/init.d/nagiosxi stop", but that doesn't seem to stop php, postgres, and several other processes.

Same question on restarting (other than reboot).

Thanks....Lyle

Re: XI shutdown & restart method

Posted: Tue Mar 08, 2011 10:41 am
by mguthrie
All of the key daemons for XI are defined as services, so you can start and stop them with the service command


service nagios restart (This is usually adequate for most changes)
service npcd restart
service ndo2db restart
service nsca restart (if you're using passive checks)
service postgresql restart
service mysqld restart

Re: XI shutdown & restart method

Posted: Tue Mar 08, 2011 11:04 am
by tonyyarusso
This will bring all the different parts down and back up in a sane order:

Code: Select all

service nagiosxi stop
service npcd stop
service ndo2db stop
service nagios stop
service postgresql stop
service mysqld stop
service httpd stop

Code: Select all

service httpd start
service mysqld start
service postgresql start
service nagios start
service ndo2db start
service npcd start
service nagiosxi start