Page 1 of 2
URGENT: Installation of Nagios XI on 64Bit Cent OS 5.7
Posted: Thu Oct 13, 2011 6:51 am
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
Re: URGENT: Installation of Nagios XI on 64Bit Cent OS 5.7
Posted: Thu Oct 13, 2011 10:57 am
by mguthrie
For some reason it appears to be failing to connect to postgresql. Can you show us the output from:
And then try re-running the install scripts starting from:
Re: URGENT: Installation of Nagios XI on 64Bit Cent OS 5.7
Posted: Thu Oct 13, 2011 1:43 pm
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
Re: URGENT: Installation of Nagios XI on 64Bit Cent OS 5.7
Posted: Thu Oct 13, 2011 2:17 pm
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.
Re: URGENT: Installation of Nagios XI on 64Bit Cent OS 5.7
Posted: Thu Oct 13, 2011 2:43 pm
by sievers
no proxy on the system wget works fine. the system has full access and is setup on a bare minimal distribution
Re: URGENT: Installation of Nagios XI on 64Bit Cent OS 5.7
Posted: Thu Oct 13, 2011 2:48 pm
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?
Re: URGENT: Installation of Nagios XI on 64Bit Cent OS 5.7
Posted: Thu Oct 13, 2011 2:57 pm
by sievers
The file was there and here is the output document
Re: URGENT: Installation of Nagios XI on 64Bit Cent OS 5.7
Posted: Thu Oct 13, 2011 4:29 pm
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...
Re: URGENT: Installation of Nagios XI on 64Bit Cent OS 5.7
Posted: Fri Oct 14, 2011 3:58 am
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
Re: URGENT: Installation of Nagios XI on 64Bit Cent OS 5.7
Posted: Fri Oct 14, 2011 10:08 am
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