Page 1 of 1

Nagios XI installation error - python

Posted: Mon Jun 30, 2014 6:08 pm
by BenShirley
I am attempting to install the demo version of Nagios XI version 2014 r1.2 on a clean install of CentOS 6.5. The installation fails at the following:

--> Processing Dependency: python(abi) = 2.4 for package: python-numpy-1.0.1-1.el5.rf.x86_64
---> Package python-rrdtool.x86_64 0:1.4.7-1.el5.rf will be installed
--> Processing Dependency: python(abi) = 2.4 for package: python-rrdtool-1.4.7-1.el5.rf.x86_64
--> Finished Dependency Resolution
Error: Package: python-numpy-1.0.1-1.el5.rf.x86_64 (rpmforge)
Requires: python(abi) = 2.4
Installed: python-2.6.6-51.el6.x86_64 (@base)
python(abi) = 2.6
Available: python-2.6.6-52.el6.x86_64 (updates)
python(abi) = 2.6
Error: Package: python-rrdtool-1.4.7-1.el5.rf.x86_64 (rpmforge)
Requires: python(abi) = 2.4
Installed: python-2.6.6-51.el6.x86_64 (@base)
python(abi) = 2.6
Available: python-2.6.6-52.el6.x86_64 (updates)
python(abi) = 2.6
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
RESULT=1

===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).

If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.

The script that failed was: './1-prereqs'


Help?

Re: Nagios XI installation error - python

Posted: Tue Jul 01, 2014 9:39 am
by tmcdonald
Was this a clean *minimal* install? It looks like you already have a later version of Python installed which is typical in Desktop installs and full server installs.

Re: Nagios XI installation error - python

Posted: Tue Jul 01, 2014 11:17 am
by BenShirley
Thanks for the response. I went ahead and reinstalled CentOS 6.5 with ONLY the base packages, as you suggested. That definitely helped--I got further along on the install.

However, now it errors out at a different step:

Running './3-dbservers'...
PostgresQL installed OK - continuing...
Initializing PostgresQL...
Starting PostgresQL...
Starting postgresql service: [FAILED]
ERROR: Could not start PostgresQL - exiting.
RESULT=1


Any suggestions? (I've attached a new install.log)

Thanks in advance.

Re: Nagios XI installation error - python

Posted: Tue Jul 01, 2014 11:58 am
by tmcdonald
Did you install using the Minimal ISO image or did you choose the Basic Server install?

http://unix.stackexchange.com/questions ... on-options

You need to choose minimal otherwise a lot of those packages will already be installed.

Re: Nagios XI installation error - python

Posted: Tue Jul 01, 2014 5:47 pm
by BenShirley
Aha! I guess I was thrown off by the message you get when you start the install:

IMPORTANT: This script should only be used on a 'clean' install of CentOS or RedHat. Do NOT use this on a system that has been tasked
with other purposes or has an existing install of Nagios Core. To create such a clean install you should have selected ONLY the
'Base' package in the OS installer.


I had been trying to install CentOS using Kickstart, editing the packages installed in the script. I first tried including only the @base package group, but then after you pointed out that was wrong, I tried including only the @core group. Both had the same results as my last post.

Finally, I burned a DVD and installed from that, selecting the Minimal install option, and that worked.

Thanks!

Re: Nagios XI installation error - python

Posted: Wed Jul 02, 2014 9:33 am
by tmcdonald
I can understand how that message might be a bit confusing. I'll see if we can get that changed. At any rate, glad it is working now and I will be closing this thread.