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
URGENT: Installation of Nagios xi on 64Bit Cent OS 5.7
-
- Posts: 48
- Joined: Tue May 24, 2011 7:34 am
URGENT: Installation of Nagios xi on 64Bit Cent OS 5.7
You do not have the required permissions to view the files attached to this post.
-
- Posts: 4380
- Joined: Mon Jun 14, 2010 10:21 am
Re: URGENT: Installation of Nagios xi on 64Bit Cent OS 5.7
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:
Code: Select all
psql nagiosxi nagiosxi
Code: Select all
./B-installxi
-
- Posts: 48
- Joined: Tue May 24, 2011 7:34 am
Re: URGENT: Installation of Nagios xi on 64Bit Cent OS 5.7
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
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.
-
- Posts: 4380
- Joined: Mon Jun 14, 2010 10:21 am
Re: URGENT: Installation of Nagios xi on 64Bit Cent OS 5.7
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.
-
- Posts: 48
- Joined: Tue May 24, 2011 7:34 am
Re: URGENT: Installation of Nagios xi on 64Bit Cent OS 5.7
no proxy on the system wget works fine. the system has full access and is setup on a bare minimal distribution
-
- Posts: 4380
- Joined: Mon Jun 14, 2010 10:21 am
Re: URGENT: Installation of Nagios xi on 64Bit Cent OS 5.7
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:
and send us that output?
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
-
- Posts: 48
- Joined: Tue May 24, 2011 7:34 am
Re: URGENT: Installation of Nagios xi on 64Bit Cent OS 5.7
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.
-
- Posts: 4380
- Joined: Mon Jun 14, 2010 10:21 am
Re: URGENT: Installation of Nagios xi on 64Bit Cent OS 5.7
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...
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...
-
- Posts: 48
- Joined: Tue May 24, 2011 7:34 am
Re: URGENT: Installation of Nagios xi on 64Bit Cent OS 5.7
thanks, after 10+ retries (with fedora, centos 5.7 & 6.0 and RHEL) we have given up. Hopefully you guys can help in time
-
- Posts: 4380
- Joined: Mon Jun 14, 2010 10:21 am
Re: URGENT: Installation of Nagios xi on 64Bit Cent OS 5.7
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
can you run the following command and post the output?
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!
Code: Select all
yum list installed | grep php-pgsql