Page 1 of 1

Reinstall Nagios XI2014R2.7

Posted: Wed Jul 27, 2016 1:29 am
by RIDS_I2MP
Hi Team,

We are having a test environment and its not working fine i.e.

1. Monitoring engine is not running it is in stop state
2. Not able to apply the configurations

Please find the attached snapshot related to error.
monitoring engine error.PNG
apply config error.PNG
file permissions error.PNG

Re: Reinstall Nagios XI2014R2.7

Posted: Wed Jul 27, 2016 1:31 am
by Box293

Re: Reinstall Nagios XI2014R2.7

Posted: Wed Jul 27, 2016 1:36 am
by RIDS_I2MP
When we tried to reinstall Nagios XI then we received below error:
test install error.PNG
install.log file.PNG

Re: Reinstall Nagios XI2014R2.7

Posted: Wed Jul 27, 2016 1:42 am
by Box293
Did you uninstall Nagios XI before trying to re-install?

Code: Select all

/usr/local/nagiosxi/scripts/uninstall_xi.sh
If that doesn't work I would start from scratch, format the server and install the operating system again.

Re: Reinstall Nagios XI2014R2.7

Posted: Thu Jul 28, 2016 6:28 am
by RIDS_I2MP
Hi Team,

Yes, I have uninstalled it before I try to re-install it.

Do we have any other option other than formatting the server?

Re: Reinstall Nagios XI2014R2.7

Posted: Thu Jul 28, 2016 11:51 am
by mcapra
A fresh server is probably the quickest/best solution.

If that is not an option, can you run the following command directly:

Code: Select all

yum remove mysql postgresql -y
And show us the output as well as try the fullinstall process again? Keeping in mind that this will probably destroy any existing database data.

Re: Reinstall Nagios XI2014R2.7

Posted: Thu Jul 28, 2016 11:54 am
by lmiltchev
Did you actually run the "uninstall_xi.sh" script?

Code: Select all

cd /usr/local/nagiosxi/scripts
./uninstall_xi.sh
You shouldn't be seeing the "database nagiosxi already exists" error if you did... Our script removes completely both, MySQL & PostgreSQL.

Code: Select all

...
rm -rf /etc/nagiosql
rm -rf /var/www/html/nagiosql
rm -rf /var/lib/mysql
rm -rf /var/lib/pgsql
...
yum remove mysql postgresql -y
...
Can you give it another try - you don't need to reformat the hard drive, and reinstall the OS.