Page 1 of 1

Problems installing Nagios XI

Posted: Fri Apr 12, 2013 9:14 pm
by rks
Env:

Code: Select all

[root@maya-app-01-s nagiosxi]# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 5.5 (Tikanga)
[root@maya-app-01-s nagiosxi]# uname -a
Linux maya-app-01-s.cisco.com 2.6.18-238.9.1.el5 #1 SMP Fri Mar 18 12:42:39 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
[root@maya-app-01-s nagiosxi]# 
Nagios XI version:

Code: Select all

version 2012 R1.7, source installation on a clean Linux VM (xi-2012r1.7.tar)
Problem:
I extracted xi-2012r1.7.tar in /tmp and started install as follows:

# cd /tmp
# tar xf xi-2012r1.7.tar
# cd nagiosxi
# ./fullinstall

The installation fails with the message:
"Yum was not properly prepared - run previous script"

The install.log is given below.

Could you please suggest a resolution to this?

Install.log:

Code: Select all

Nagios XI Installation Log
==========================
DATE: Sat Apr 13 02:00:35 GMT 2013

DISTRO INFO:
RedHatEnterpriseServer
5.5
x86_64

THIS IS A NEW INSTALL!

INSTALLING:
full=2012R1.7
major=2012
minor=R1.7
releasedate=2013-03-27
release=307

Configuring Yum...
****************************************************************
WARNING: This script will remove existing RPMs installed on this
         system, which may result in existing applications being
         removed!
****************************************************************
Do you want to continue? [y/N]: RESP: Y
Exiting
Yum was not properly prepared - run previous script
The full installation transcript is as follows:

Code: Select all

  [root@maya-app-01-s nagiosxi]# ./fullinstall 
========================
Nagios XI Full Installer
========================

This script will do a complete install of Nagios XI by executing all necessary sub-scripts.

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.
Do you want to continue? [Y/n] Y
Proceeding with installation...
Checking MySQL credentials...
MySQL not yet installed - that's okay.
Running './0-yum'...
Configuring Yum...
****************************************************************
WARNING: This script will remove existing RPMs installed on this
         system, which may result in existing applications being
         removed!
****************************************************************
Do you want to continue? [y/N]: Y
RESP: Y
Exiting
RESULT=0
Running './1-prereqs'...
Yum was not properly prepared - run previous script
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'

Re: Problems installing Nagios XI

Posted: Mon Apr 15, 2013 10:23 am
by slansing
Are you behind a proxy? If so make sure you follow this:

http://support.nagios.com/wiki/index.ph ... th_Proxies