Reinstall Nagios XI2014R2.7

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Reinstall Nagios XI2014R2.7

Post 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
You do not have the required permissions to view the files attached to this post.
Thanks & Regards,
I2MP Team.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Reinstall Nagios XI2014R2.7

Post by Box293 »

As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: Reinstall Nagios XI2014R2.7

Post by RIDS_I2MP »

When we tried to reinstall Nagios XI then we received below error:
test install error.PNG
install.log file.PNG
You do not have the required permissions to view the files attached to this post.
Thanks & Regards,
I2MP Team.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Reinstall Nagios XI2014R2.7

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
RIDS_I2MP
Posts: 751
Joined: Thu Mar 13, 2014 9:25 am

Re: Reinstall Nagios XI2014R2.7

Post 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?
Thanks & Regards,
I2MP Team.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Reinstall Nagios XI2014R2.7

Post 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.
Former Nagios employee
https://www.mcapra.com/
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Reinstall Nagios XI2014R2.7

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked