Nagios XI installation error - python

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
BenShirley
Posts: 7
Joined: Thu Jun 26, 2014 3:54 pm

Nagios XI installation error - python

Post 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?
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 - python

Post 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.
Former Nagios employee
BenShirley
Posts: 7
Joined: Thu Jun 26, 2014 3:54 pm

Re: Nagios XI installation error - python

Post 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.
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 - python

Post 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.
Former Nagios employee
BenShirley
Posts: 7
Joined: Thu Jun 26, 2014 3:54 pm

Re: Nagios XI installation error - python

Post 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!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios XI installation error - python

Post 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.
Former Nagios employee
Locked