Page 1 of 2

XI installation problem

Posted: Wed Apr 25, 2012 2:57 am
by lntinfo
i am trying installed below nagiosxi pkg on below mentioned system:
wget http://assets.nagios.com/downloads/nagi ... est.tar.gz

sytem:-Red Hat Enterprise Linux Server release 5.8 (Tikanga)
x86_64

i was following up with your latest docs.
tried to installed using ./fullinstall
the script that failed was ./0-yum
then i tried installing manually using ./0-yum
it was installed successfully it took 4 hours .
but now i am trying to install
./1-prereqs it throws below errror
Yum was not properly prepared - run previous script
is this because of, Manual Installation Problem: EPEL is down ?

problem from your end just confirm it ?

kindly help.
below is install.log

Code: Select all

Nagios XI Installation Log
==========================
DATE: Tue Apr 24 13:33:02 CEST 2012

DISTRO INFO:
RedHatEnterpriseServer
5.6
x86_64

THIS IS A NEW INSTALL!

INSTALLING:
full=2011R2.3
major=2011
minor=R2.3
releasedate=2012-04-16
release=213

Configuring Yum...
An error has occurred:
Tunnel Connection Failed
See /var/log/up2date for more information
Your Red Hat Installation is not registered or does not have proper entitlements.
Please register or enable entitlements at rhn.redhat.com.
Nagios XI Installation Log
==========================
DATE: Wed Apr 25 07:27:08 CEST 2012

DISTRO INFO:
RedHatEnterpriseServer
5.8
x86_64

THIS IS A NEW INSTALL!

INSTALLING:
full=2011R2.3
major=2011
minor=R2.3
releasedate=2012-04-16
release=213

Configuring Yum...
"install.log" 170L, 4441C
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
64-bit system detected, modifying yum
Loaded plugins: rhnplugin, security
Setting up Remove Process
No Match for argument: *.i?86
Excluding Packages in global exclude list
Finished
No Packages marked for removal
Enabling RPMForge repo...
Nagios XI Installation Log
==========================
DATE: Wed Apr 25 08:40:29 CEST 2012

DISTRO INFO:
RedHatEnterpriseServer
5.8
x86_64

THIS IS A NEW INSTALL!

INSTALLING:
full=2011R2.3
major=2011
minor=R2.3
releasedate=2012-04-16
release=213

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
64-bit system detected, modifying yum
Loaded plugins: rhnplugin, security
Setting up Remove Process
No Match for argument: *.i?86
Excluding Packages in global exclude list
Finished
No Packages marked for removal
Enabling RPMForge repo...
curl: Remote file name has no length!
curl: try 'curl --help' for more information
error: File not found by glob:
rm: cannot remove `': No such file or directory
Loaded plugins: rhnplugin, security
Excluding Packages in global exclude list
Finished
Skipping security plugin, no data
ERROR: rpmforge-release RPM was not installed - exiting.
Nagios XI Installation Log
==========================
DATE: Wed Apr 25 08:51:42 CEST 2012

DISTRO INFO:
RedHatEnterpriseServer
5.8
x86_64

THIS IS A NEW INSTALL!

INSTALLING:
full=2011R2.3
major=2011
minor=R2.3
releasedate=2012-04-16
release=213

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
64-bit system detected, modifying yum
Loaded plugins: rhnplugin, security
Setting up Remove Process
No Match for argument: *.i?86

Excluding Packages in global exclude list
Finished
No Packages marked for removal
Enabling RPMForge repo...
curl: Remote file name has no length!
curl: try 'curl --help' for more information
error: File not found by glob:
rm: cannot remove `': No such file or directory
Loaded plugins: rhnplugin, security
Excluding Packages in global exclude list
Finished
Skipping security plugin, no data
ERROR: rpmforge-release RPM was not installed - exiting.
Nagios XI Installation Log
==========================
DATE: Wed Apr 25 09:16:31 CEST 2012

DISTRO INFO:
RedHatEnterpriseServer
5.8
x86_64

THIS IS A NEW INSTALL!

INSTALLING:
full=2011R2.3
major=2011
minor=R2.3
releasedate=2012-04-16
release=213

Configuring Yum...
Could not retrieve mirrorlist http://apt.sw.be/redhat/el4/en/mirrors-rpmforge error was
[Errno 4] IOError: <urlopen error (110, 'Connection timed out')>
****************************************************************
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

Re: XI installation problem

Posted: Wed Apr 25, 2012 9:08 am
by scottwilkerson
Honestly, this looks like your machine cannot reach
http://apt.sw.be/redhat/el4/en/mirrors-rpmforge

This site is up and working properly.

Does this machine have direct connection to the internet?

Re: XI installation problem

Posted: Wed Apr 25, 2012 10:17 am
by lntinfo
using proxy

Re: XI installation problem

Posted: Wed Apr 25, 2012 11:40 am
by scottwilkerson
Make sure you have followed these steps

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

Re: XI installation problem

Posted: Thu Apr 26, 2012 4:17 am
by lntinfo
yes.

no_proxy=localhost,127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16 # Hosts to exclude from proxying
i have not added above entry. is it necessary...

at persent i have hold my installation due to Manual Installation Problem: EPEL is down
once its up i will start my installation.

Re: XI installation problem

Posted: Thu Apr 26, 2012 7:19 am
by scottwilkerson
At the very lease adding no_proxy for localhost,127.0.0/0/8 would be a wise idea.

Re: XI installation problem

Posted: Fri Apr 27, 2012 1:46 am
by lntinfo
still facing issue after run ./fullinstall
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




DATE: Fri Apr 27 08:29:06 CEST 2012


below is the install.log file
DISTRO INFO:
RedHatEnterpriseServer
5.8
x86_64

THIS IS A NEW INSTALL!

INSTALLING:
full=2011R2.3
major=2011
minor=R2.3
releasedate=2012-04-16
release=213

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
64-bit system detected, modifying yum
Loaded plugins: rhnplugin, security
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package expat.i386 0:1.95.8-8.3.el5_5.3 set to be erased
---> Package glibc.i386 0:2.5-81.el5_8.2 set to be erased
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Removing:
expat i386 1.95.8-8.3.el5_5.3 installed 158 k
glibc i386 2.5-81.el5_8.2 installed 10 M

Transaction Summary
================================================================================

emove 2 Package(s)
Reinstall 0 Package(s)
Downgrade 0 Package(s)

Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
^M Erasing : expat 1/2
^M Erasing : glibc 2/2

Removed:
expat.i386 0:1.95.8-8.3.el5_5.3 glibc.i386 0:2.5-81.el5_8.2

Complete!
rpmforge-release RPM installed OK
Enabling EPEL repo...

plz help...as sooon as possible ....wating your reply

Re: XI installation problem

Posted: Fri Apr 27, 2012 2:03 am
by lntinfo
when ia m givng yum list commnand
yum list
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

No module named cElementTree

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.4.3 (#1, Dec 22 2011, 12:12:01)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-50)]

If you cannot solve this problem yourself, please go to
the yum faq at:
http://wiki.linux.duke.edu/YumFaq

Re: XI installation problem

Posted: Fri Apr 27, 2012 6:08 am
by lntinfo
i have came across below error although i have registered system with rhn

Configuring Yum...
Your Red Hat Installation is not registered or does not have proper entitlements.
Please register or enable entitlements at rhn.redhat.com.
Nagios XI Installation Log
==========================
DATE: Fri Apr 27 10:47:12 CEST 2012

DISTRO INFO:
RedHatEnterpriseServer
5.8
x86_64

THIS IS A NEW INSTALL!

INSTALLING:
full=2011R2.4
major=2011
minor=R2.4
releasedate=2012-04-24
release=214

Configuring Yum...
Your Red Hat Installation is not registered or does not have proper entitlements.
Please register or enable entitlements at rhn.redhat.com.
Nagios XI Installation Log
==========================

Re: XI installation problem

Posted: Fri Apr 27, 2012 10:32 am
by agriffin
How did you register your system with Red Hat? Was it with certificate-based authentication or some other non-standard method?