URGENT: Installation of Nagios xi on 64Bit Cent OS 5.7

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
sievers
Posts: 48
Joined: Tue May 24, 2011 7:34 am

URGENT: Installation of Nagios xi on 64Bit Cent OS 5.7

Post by sievers »

Hello,

I am in a bit of a situation where I need to install the current cersion of Nagios on a 64Bit CentOs 5.7.

I managed (afer long trial and error) to get all the prerequistes installed on a clean system but am failing with importing the database. I am attaching my installation log for your reference

additional info

I have set the root password to nagiosxi and have made no additional changes to the system

I need to get this mashine up and running by tomorrow evening, so any help would be greatly appreciated

Regards

knut Seifert
You do not have the required permissions to view the files attached to this post.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: URGENT: Installation of Nagios xi on 64Bit Cent OS 5.7

Post by mguthrie »

For some reason it appears to be failing to connect to postgresql. Can you show us the output from:

Code: Select all

psql nagiosxi nagiosxi
And then try re-running the install scripts starting from:

Code: Select all

./B-installxi
sievers
Posts: 48
Joined: Tue May 24, 2011 7:34 am

Re: URGENT: Installation of Nagios xi on 64Bit Cent OS 5.7

Post by sievers »

Hi,

ok I ran the commands you sent me (see screenshots)

The error however persists. I reinstalled Nagios over 10x today and always run into the same error at the same location

Regards
You do not have the required permissions to view the files attached to this post.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: URGENT: Installation of Nagios xi on 64Bit Cent OS 5.7

Post by mguthrie »

Do you have a proxy configured on your system, or anything that might cause a wget call to localhost to fail? I haven't nailed down if that's the issue, but that's roughly where the install scripts keep hanging up. The install scripts are almost complete, so if we can figure that out you should be set to go.
sievers
Posts: 48
Joined: Tue May 24, 2011 7:34 am

Re: URGENT: Installation of Nagios xi on 64Bit Cent OS 5.7

Post by sievers »

no proxy on the system wget works fine. the system has full access and is setup on a bare minimal distribution
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: URGENT: Installation of Nagios xi on 64Bit Cent OS 5.7

Post by mguthrie »

Ok, the step that appears to be failing is the script that executes the "Apply Configuration."

If the file is there (which it should be at this point), can you run:

Code: Select all

cd /usr/local/nagiosxi/scripts
./reconfigure_nagios.sh &> debug.txt
and send us that output?
sievers
Posts: 48
Joined: Tue May 24, 2011 7:34 am

Re: URGENT: Installation of Nagios xi on 64Bit Cent OS 5.7

Post by sievers »

The file was there and here is the output document
You do not have the required permissions to view the files attached to this post.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: URGENT: Installation of Nagios xi on 64Bit Cent OS 5.7

Post by mguthrie »

That's extremely odd that you can log into postgres with those credentials and and yet the script is failing with them...

We'll run a fresh test install on a CentOS 5.7 64bit system and see if we can recreate this, it doesn't make much sense...
sievers
Posts: 48
Joined: Tue May 24, 2011 7:34 am

Re: URGENT: Installation of Nagios xi on 64Bit Cent OS 5.7

Post by sievers »

thanks, after 10+ retries (with fedora, centos 5.7 & 6.0 and RHEL) we have given up. Hopefully you guys can help in time
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: URGENT: Installation of Nagios xi on 64Bit Cent OS 5.7

Post by mguthrie »

We'll get a 64bit VM made and we'll send you a link for it later today. We've tested our installer scripts on fresh systems but we haven't been able to recreate your issue.

On a system where you've run the installer and it failed at the Import step

Code: Select all

	DB Connect Error [nagiosxi]: Database connection failed 
ERROR CONNECTING TO DATABASES!
NAGIOSQL LOGIN FAILED!
can you run the following command and post the output?

Code: Select all

yum list installed | grep php-pgsql