Page 1 of 2

Full Installer Failure

Posted: Tue Oct 22, 2013 1:24 pm
by ryanam
Hi,

I'm fairly new to Red Hat and Nagios but I managed to get this working perfectly on a local CentOS VM. I'm now trying to evaluate on a corporate Red Hat VM -

What version of Nagios XI are you using? - Latest?? No version information in tar.gz filename.
Linux Distribution and version? Red Hat Enterprise Server release 6.4 (Santiago)
32 or 64bit? 64bit
VMware Image or Manual Install of XI? Manual, I guess. Don't really understnd the question. The install comes from - http://assets.nagios.com/downloads/nagi ... est.tar.gz
Are there special configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL? Nothing additional

The instance of RH is registered on RHN.

When running the ./fullinstall wrapper script, the yum config seems to fail -

Code: Select all

Configuring Yum...
package centos-release is not installed
This system is not registered to Red Hat Subscription Management. You can use s
ERROR: Please add the 'Optional' channel to your Red Hat systems subscriptions.
       You can do so in the Redhat Network web interface or using the rhn-chann
       or, install the yum-utils package and use the following command:
       yum-config-manager --enable rhel-6-server-optional-rpms
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: './0-yum'
So, after checking support docs, I was suggested to do this -

Code: Select all

yum install yum-utils

yum-config-manager --enable rhel-6-server-optional-rpms
Which gives -

Code: Select all

Loaded plugins: product-id, rhnplugin
This system is receiving updates from RHN Classic or RHN Satellite.
This makes no difference to anything. The exact same thing happens when I try to run the wrapper script.

Any help would be appreciated.

Thanks

Re: Full Installer Failure

Posted: Tue Oct 22, 2013 1:29 pm
by tmcdonald
Can you post your install.log?

Re: Full Installer Failure

Posted: Tue Oct 22, 2013 1:34 pm
by ryanam

Code: Select all

Installing libgcc-4.4.6-3.el6.x86_64
warning: libgcc-4.4.6-3.el6.x86_64: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Installing setup-2.8.14-13.el6.noarch
Installing filesystem-2.4.30-3.el6.x86_64
Installing basesystem-10.0-4.el6.noarch
Installing ca-certificates-2010.63-3.el6_1.5.noarch
Installing ncurses-base-5.7-3.20090208.el6.x86_64
Installing tzdata-2011l-4.el6.noarch
Installing glibc-common-2.12-1.47.el6.x86_64
Installing nss-softokn-freebl-3.12.9-11.el6.x86_64
Installing glibc-2.12-1.47.el6.x86_64
Installing ncurses-libs-5.7-3.20090208.el6.x86_64
Installing bash-4.1.2-8.el6.x86_64
Installing libattr-2.4.44-7.el6.x86_64
Installing libcap-2.16-5.5.el6.x86_64
Installing zlib-1.2.3-27.el6.x86_64
Installing info-4.13a-8.el6.x86_64
Installing audit-libs-2.1.3-3.el6.x86_64
Installing popt-1.13-7.el6.x86_64
Installing chkconfig-1.3.47-1.el6.x86_64
Installing libcom_err-1.41.12-11.el6.x86_64
Installing db4-4.7.25-16.el6.x86_64
Installing libacl-2.2.49-6.el6.x86_64
Installing nspr-4.8.8-3.el6.x86_64
Installing libsepol-2.0.41-4.el6.x86_64
Installing libselinux-2.0.94-5.2.el6.x86_64
Installing glib2-2.22.5-6.el6.x86_64
Installing gamin-0.1.10-9.el6.x86_64
Installing sed-4.2.1-7.el6.x86_64
Installing shadow-utils-4.1.4.2-13.el6.x86_64
Installing bzip2-libs-1.0.5-7.el6_0.x86_64
Installing nss-util-3.12.10-2.el6.x86_64
Installing readline-6.0-3.el6.x86_64
Installing libudev-147-2.40.el6.x86_64
Installing dbus-libs-1.2.24-5.el6_1.x86_64
Installing gawk-3.1.7-6.el6.x86_64
Installing libstdc++-4.4.6-3.el6.x86_64
Installing pcre-7.8-3.1.el6.x86_64
Installing grep-2.6.3-2.el6.x86_64
Installing lua-5.1.4-4.1.el6.x86_64
Installing sqlite-3.6.20-1.el6.x86_64
Installing cyrus-sasl-lib-2.1.23-13.el6.x86_64
Installing iptables-1.4.7-4.el6.x86_64
Installing libidn-1.18-2.el6.x86_64
Installing file-libs-5.04-11.el6.x86_64
Installing libxml2-2.7.6-4.el6.x86_64
Installing libuuid-2.17.2-12.4.el6.x86_64
Installing libblkid-2.17.2-12.4.el6.x86_64
Installing xz-libs-4.999.9-0.3.beta.20091007git.el6.x86_64
Installing elfutils-libelf-0.152-1.el6.x86_64
Installing libgpg-error-1.7-4.el6.x86_64
Installing bzip2-1.0.5-7.el6_0.x86_64
Installing findutils-4.4.2-6.el6.x86_64
Installing libselinux-utils-2.0.94-5.2.el6.x86_64
Installing checkpolicy-2.0.22-1.el6.x86_64
Installing cpio-2.10-9.el6.x86_64
Installing tcp_wrappers-libs-7.6-57.el6.x86_64
Installing sysvinit-tools-2.87-4.dsf.el6.x86_64
Installing expat-2.0.1-9.1.el6.x86_64
Installing dbus-glib-0.86-5.el6.x86_64
Installing pth-2.0.7-9.3.el6.x86_64
Installing libgcrypt-1.4.5-9.el6.x86_64
Installing grubby-7.0.15-2.el6.x86_64
Installing iproute-2.6.32-17.el6.x86_64
Installing iptables-ipv6-1.4.7-4.el6.x86_64
Installing nss-softokn-3.12.9-11.el6.x86_64
Installing gmp-4.3.1-7.el6.x86_64
Installing libusb-0.1.12-23.el6.x86_64
Installing libnih-1.0.1-7.el6.x86_64
Installing upstart-0.6.5-10.el6.x86_64
Installing libgudev1-147-2.40.el6.x86_64
Installing libutempter-1.1.5-4.1.el6.x86_64
Installing MAKEDEV-3.24-6.el6.x86_64
Installing vim-minimal-7.2.411-1.6.el6.x86_64
Installing procps-3.2.8-21.el6.x86_64
Installing net-tools-1.60-109.el6.x86_64
Installing psmisc-22.6-15.el6_0.1.x86_64
Installing tar-1.23-3.el6.x86_64
Installing db4-utils-4.7.25-16.el6.x86_64
Installing libss-1.41.12-11.el6.x86_64
Installing e2fsprogs-libs-1.41.12-11.el6.x86_64
Installing pinentry-0.7.6-6.el6.x86_64
Installing diffutils-2.8.1-28.el6.x86_64
Installing binutils-2.20.51.0.2-5.28.el6.x86_64
Installing m4-1.4.13-5.el6.x86_64
Installing which-2.19-6.el6.x86_64
Installing ncurses-5.7-3.20090208.el6.x86_64
Installing groff-1.18.1.4-21.el6.x86_64
Installing less-436-10.el6.x86_64
Installing coreutils-libs-8.4-16.el6.x86_64
Installing gzip-1.3.12-18.el6.x86_64
Installing cracklib-2.8.16-4.el6.x86_64
Installing cracklib-dicts-2.8.16-4.el6.x86_64
Installing coreutils-8.4-16.el6.x86_64
Installing pam-1.1.1-10.el6.x86_64
Installing module-init-tools-3.9-17.el6.x86_64
Installing hwdata-0.233-7.6.el6.noarch
Installing redhat-logos-60.0.14-1.el6.noarch
Installing plymouth-scripts-0.8.3-24.el6.x86_64
Installing logrotate-3.7.8-12.el6_0.1.x86_64
Installing nss-3.12.10-16.el6.x86_64
Installing nss-sysinit-3.12.10-16.el6.x86_64
Installing openldap-2.4.23-20.el6.x86_64
Installing libuser-0.56.13-4.el6_0.1.x86_64
Installing passwd-0.77-4.el6.x86_64
Installing libcap-ng-0.6.4-3.el6_0.1.x86_64
Installing pciutils-libs-3.1.4-11.el6.x86_64
Installing ethtool-2.6.33-0.3.el6.x86_64
Installing mingetty-1.08-5.el6.x86_64
Installing keyutils-libs-1.4-3.el6.x86_64
Installing krb5-libs-1.9-22.el6.x86_64
Installing openssl-1.0.0-20.el6.x86_64
Installing libssh2-1.2.2-7.el6_1.1.x86_64
Installing libcurl-7.19.7-26.el6_1.2.x86_64
Installing gnupg2-2.0.14-4.el6.x86_64
Installing gpgme-1.1.8-3.el6.x86_64
Installing curl-7.19.7-26.el6_1.2.x86_64
Installing rpm-libs-4.8.0-19.el6.x86_64
Installing rpm-4.8.0-19.el6.x86_64
Installing mysql-libs-5.1.52-1.el6_0.1.x86_64
Installing fipscheck-lib-1.2.0-7.el6.x86_64
Installing fipscheck-1.2.0-7.el6.x86_64
Installing ustr-1.0.4-9.1.el6.x86_64
Installing libsemanage-2.0.43-4.1.el6.x86_64
Installing gdbm-1.8.0-36.el6.x86_64
Installing libffi-3.0.5-3.2.el6.x86_64
Installing python-libs-2.6.6-29.el6.x86_64
Installing python-2.6.6-29.el6.x86_64
Installing python-iniparse-0.3.1-2.1.el6.noarch
Installing python-simplejson-2.0.9-3.1.el6.x86_64
Installing dbus-python-0.83.0-6.1.el6.x86_64
Installing rpm-python-4.8.0-19.el6.x86_64
Installing m2crypto-0.20.2-7.el6.x86_64
Installing libxml2-python-2.7.6-4.el6.x86_64
Installing python-dmidecode-3.10.13-1.el6.x86_64
Installing python-rhsm-0.96.15-1.el6.noarch
Installing PyXML-0.8.4-19.el6.x86_64
Installing yum-metadata-parser-1.1.2-16.el6.x86_64
Installing pygpgme-0.1-18.20090824bzr68.el6.x86_64
Installing python-pycurl-7.19.0-8.el6.x86_64
Installing python-urlgrabber-3.9.1-8.el6.noarch
Installing yum-3.2.29-22.el6.noarch
Installing pygobject2-2.20.0-5.el6.x86_64
Installing python-gudev-147.1-4.el6_0.1.x86_64
Installing pyOpenSSL-0.10-2.el6.x86_64
Installing rhnlib-2.5.22-12.el6.noarch
Installing libnl-1.1-14.el6.x86_64
Installing python-ethtool-0.6-1.el6.x86_64
Installing dmidecode-2.11-2.el6.x86_64
Installing dash-0.5.5.1-3.1.el6.x86_64
Installing slang-2.2.1-1.el6.x86_64
Installing newt-0.52.11-3.el6.x86_64
Installing rhn-client-tools-1.0.0-73.el6.noarch
Installing newt-python-0.52.11-3.el6.x86_64
Installing plymouth-core-libs-0.8.3-24.el6.x86_64
Installing kbd-misc-1.15-11.el6.noarch
Installing redhat-release-server-6Server-6.2.0.3.el6.x86_64
Installing iputils-20071127-16.el6.x86_64
Installing util-linux-ng-2.17.2-12.4.el6.x86_64
Installing initscripts-9.03.27-1.el6.x86_64
Installing udev-147-2.40.el6.x86_64
Installing device-mapper-libs-1.02.66-6.el6.x86_64
Installing device-mapper-1.02.66-6.el6.x86_64
Installing device-mapper-event-libs-1.02.66-6.el6.x86_64
Installing policycoreutils-2.0.83-19.18.el6.x86_64
Installing selinux-policy-3.7.19-126.el6.noarch
Installing device-mapper-event-1.02.66-6.el6.x86_64
Installing lvm2-libs-2.02.87-6.el6.x86_64
Installing kbd-1.15-11.el6.x86_64
Installing rsyslog-4.6.2-12.el6.x86_64
Installing openssh-5.3p1-70.el6.x86_64
Installing cyrus-sasl-2.1.23-13.el6.x86_64
Installing postfix-2.6.6-2.2.el6_1.x86_64
Installing cronie-anacron-1.4.4-7.el6.x86_64
Installing cronie-1.4.4-7.el6.x86_64
Installing crontabs-1.10-33.el6.noarch
Installing virt-what-1.11-1.1.el6.x86_64
Installing usermode-1.102-3.el6.x86_64
Installing rhnsd-4.9.3-2.el6.x86_64
Installing rhn-setup-1.0.0-73.el6.noarch
Installing yum-rhn-plugin-0.9.1-36.el6.noarch
Installing rhn-check-1.0.0-73.el6.noarch
Installing dhcp-common-4.1.1-25.P1.el6.x86_64
Installing kernel-firmware-2.6.32-220.el6.noarch
Installing libdrm-2.4.25-2.el6.x86_64
Installing plymouth-0.8.3-24.el6.x86_64
Installing dracut-004-256.el6.noarch
Installing dracut-kernel-004-256.el6.noarch
Installing kernel-2.6.32-220.el6.x86_64
Installing dhclient-4.1.1-25.P1.el6.x86_64
Installing subscription-manager-0.96.17-1.el6.x86_64
Installing openssh-server-5.3p1-70.el6.x86_64
Installing lvm2-2.02.87-6.el6.x86_64
Installing selinux-policy-targeted-3.7.19-126.el6.noarch
Installing iwl6000g2b-firmware-17.168.5.2-1.el6.noarch
Installing bfa-firmware-3.0.0.0-1.el6.noarch
Installing iwl5150-firmware-8.24.2.2-1.el6.noarch
Installing iwl100-firmware-39.31.5.1-1.el6.noarch
Installing iwl6050-firmware-41.28.5.1-2.el6.noarch
Installing b43-openfwwf-5.2-4.el6.noarch
Installing iwl6000g2a-firmware-17.168.5.3-1.el6.noarch
Installing aic94xx-firmware-30-2.el6.noarch
Installing iwl6000-firmware-9.221.4.1-1.el6.noarch
Installing iwl1000-firmware-39.31.5.1-1.el6.noarch
Installing authconfig-6.1.12-5.el6.x86_64
Installing grub-0.97-75.el6.x86_64
Installing system-config-firewall-base-1.2.27-5.el6.noarch
Installing efibootmgr-0.5.4-9.el6.x86_64
Installing sudo-1.7.4p5-7.el6.x86_64
Installing audit-2.1.3-3.el6.x86_64
Installing e2fsprogs-1.41.12-11.el6.x86_64
Installing acl-2.2.49-6.el6.x86_64
Installing attr-2.4.44-7.el6.x86_64
Installing ql2400-firmware-5.06.02-1.el6.noarch
Installing iwl5000-firmware-8.83.5.1_1-1.el6_1.1.noarch
Installing ql2100-firmware-1.19.38-3.1.el6.noarch
Installing ivtv-firmware-20080701-20.2.noarch
Installing libertas-usb8388-firmware-5.110.22.p23-3.1.el6.noarch
Installing xorg-x11-drv-ati-firmware-6.14.2-7.el6.noarch
Installing ql2500-firmware-5.06.02-1.el6.noarch
Installing atmel-firmware-1.3-7.el6.noarch
Installing zd1211-firmware-1.4-4.el6.noarch
Installing iwl4965-firmware-228.61.2.24-2.1.el6.noarch
Installing rt61pci-firmware-1.2-7.el6.noarch
Installing iwl3945-firmware-15.32.2.9-4.el6.noarch
Installing ql2200-firmware-2.02.08-3.1.el6.noarch
Installing rt73usb-firmware-1.8-7.el6.noarch
Installing ipw2100-firmware-1.3-11.el6.noarch
Installing ql23xx-firmware-3.03.27-3.1.el6.noarch
Installing ipw2200-firmware-3.1-4.el6.noarch
Installing rootfiles-8.1-6.1.el6.noarch
Thanks

Re: Full Installer Failure

Posted: Tue Oct 22, 2013 2:03 pm
by slansing
That doesn't seem to be the entire log, do you have a larger install log in the nagiosxi installation directory?

Re: Full Installer Failure

Posted: Tue Oct 22, 2013 2:08 pm
by nscott
Does your

Code: Select all

yum repolist
Contain the Server Optional package?

Code: Select all

[root@rhel61x64 ~]# yum repolist
Loaded plugins: product-id, rhnplugin, subscription-manager
Updating Red Hat repositories.
repo id                               repo name                                                         status
epel                                  Extra Packages for Enterprise Linux 6 - x86_64                     9,819
rhel-x86_64-server-6                  Red Hat Enterprise Linux Server (v. 6 for 64-bit x86_64)          11,030
rhel-x86_64-server-optional-6         RHEL Server Optional (v. 6 64-bit x86_64)                          6,275           <<=== THIS IS THE ONE IT IS SAYING IT CANT USE
rpmforge                              RHEL 6Server - RPMforge.net - dag                                  4,637
repolist: 31,761
If not you'll need to add it to your Red Hat server via RHN.

Re: Full Installer Failure

Posted: Tue Oct 22, 2013 3:06 pm
by ryanam
This is interesting...

The system is definitely registered... I watched our lead sys admin do it as he was doing it.

Like I said... I tried

Code: Select all

yum-config-manager --enable rhel-6-server-optional-rpms
and this didn't change anything. The output was

Code: Select all

Loaded plugins: product-id, rhnplugin
This system is receiving updates from RHN Classic or RHN Satellite.
install.log from /nagiosxi

Code: Select all

Nagios XI Installation Log
==========================
DATE: Mon Oct 21 18:54:59 CEST 2013

DISTRO INFO:
RedHatEnterpriseServer
6.4
x86_64

THIS IS A NEW INSTALL!

INSTALLING:
full=2012R2.5
major=2012
minor=R2.5
releasedate=2013-10-11
release=314

Configuring Yum...
package centos-release is not installed
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
ERROR: Please add the 'Optional' channel to your Red Hat systems subscriptions.
       You can do so in the Redhat Network web interface or using the rhn-channel command.
       or, install the yum-utils package and use the following command:
       yum-config-manager --enable rhel-6-server-optional-rpms
Nagios XI Installation Log
==========================
DATE: Tue Oct 22 19:19:15 CEST 2013

DISTRO INFO:
RedHatEnterpriseServer
6.4
x86_64

THIS IS A NEW INSTALL!

INSTALLING:
full=2012R2.5
major=2012
minor=R2.5
releasedate=2013-10-11
release=314

Configuring Yum...
package centos-release is not installed
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
ERROR: Please add the 'Optional' channel to your Red Hat systems subscriptions.
       You can do so in the Redhat Network web interface or using the rhn-channel command.
       or, install the yum-utils package and use the following command:
       yum-config-manager --enable rhel-6-server-optional-rpms
Nagios XI Installation Log
==========================
DATE: Tue Oct 22 19:27:37 CEST 2013

DISTRO INFO:
RedHatEnterpriseServer
6.4
x86_64

THIS IS A NEW INSTALL!

INSTALLING:
full=2012R2.5
major=2012
minor=R2.5
releasedate=2013-10-11
release=314

Configuring Yum...
package centos-release is not installed
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
ERROR: Please add the 'Optional' channel to your Red Hat systems subscriptions.
       You can do so in the Redhat Network web interface or using the rhn-channel command.
       or, install the yum-utils package and use the following command:
       yum-config-manager --enable rhel-6-server-optional-rpms

Re: Full Installer Failure

Posted: Tue Oct 22, 2013 3:17 pm
by nscott
Enabling the optional repo is not the same as registering your RHEL installation. Please add the Optional channel using RHN and I think this will alleviate the problems.

Re: Full Installer Failure

Posted: Tue Oct 22, 2013 3:26 pm
by ryanam
Understood... Like I said though, the installation is registered with RHN.

Are you saying that rather than using

Code: Select all

yum-config-manager --enable rhel-6-server-optional-rpms
on the box itself, that this channel should be, instead, added via RHN?

Thanks

Re: Full Installer Failure

Posted: Tue Oct 22, 2013 3:31 pm
by nscott
To the best of my knowledge, you must explicitly enable the repo in RHN, and that command simply tells the local yum to use it, but if its not enabled in your RHN subscription, it won't work. I however, am not a RHEL expert.

Re: Full Installer Failure

Posted: Wed Oct 23, 2013 5:02 pm
by ryanam
Thanks guys.

That did it.