Nagios XI - Installation Error - RHN 5.9

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
kp-nagios
Posts: 2
Joined: Thu Nov 21, 2013 6:45 pm

Nagios XI - Installation Error - RHN 5.9

Post by kp-nagios »

I am trying to install Nagios XI 2011 and getting the following error (Please see the attachment - install.log).

This is a cloud environment.

I have install multiple times and I did not use the uninstall process, instead

I remove the nagios created directories from /usr/local, then kill the postgres processes, then drop the nagiosxi database, drop the nagiosxi user from postgres and remove the user using userdel, then remove the /homes/nagiosxi directory.

Then I remove the /tmp/nagiosxi directory, extract the file one more time and use the ./fullinstall.

Reason why I am mentioning this is, I would like to know, if there is anything else I need to perform to clean the nagiosxi installed file.

or please advise what is the preferred way of uninstalling (This is not as important as succeeding the installation process)

My error is coming in E-importnagiosql

ERROR: NagiosQL import appears to have failed - exiting. (Reason: Import files are still present in /usr/local/nagios/etc/import)

I also modified the /etc/wgetrc and added no_proxy=localhost

Please help
You do not have the required permissions to view the files attached to this post.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios XI - Installation Error - RHN 5.9

Post by tmcdonald »

The preferred method of uninstalling is to use the script located at /usr/local/nagiosxi/scripts/uninstall_xi.sh. You will need to chmod +x it before running, and run it as root. We're updating the documentation to refer to this script. It may take a while to appear, but look for http://assets.nagios.com/downloads/nagi ... tall_xi.sh for a direct link to the script since it was deleted when you removed the /usr/local/nagiosxi directory.
Former Nagios employee
kp-nagios
Posts: 2
Joined: Thu Nov 21, 2013 6:45 pm

Re: Nagios XI - Installation Error - RHN 5.9

Post by kp-nagios »

Thanks.

Do you have any advise on the Installtion problem I am encountering?

Appreciate your response in advance.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Nagios XI - Installation Error - RHN 5.9

Post by slansing »

It looks like the issue you are running into was answered in your first post "Reason: Import files are still present in /usr/local/nagios/etc/import"

Try removing the files from that directory then running fullinstall again.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Nagios XI - Installation Error - RHN 5.9

Post by sreinhardt »

Most likely this is due to having files that are set to be imported in that directory. Clear it out and you should be all set!

Code: Select all

mkdir /tmp/import
mv /usr/local/nagios/etc/import/* /tmp/import/
Then try the full install again.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked