Page 1 of 4

Error during XI install on RHEL 6.4

Posted: Thu Jan 15, 2015 1:40 pm
by JakeHatMacys
Getting this error during installation and it's confusing our Linux support teams due to a Centos-release package reference:

Configuring Repos...
package centos-release is not installed
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
+ echo 1
++ cat .fail-7946
+ echo RESULT=1
RESULT=1
+ '[' -f .fail-7946 ']'
+ cat

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


Have you guys seen this before and should be checking for that centos package on a RHEL server???

Using the latest Source installer on http://library.nagios.com/library/produ ... ain#vmware

Re: Error during XI install on RHEL 6.4

Posted: Thu Jan 15, 2015 3:59 pm
by cmerchant
The message might appear confusing if that were the real problem. The install script makes use of several checks to see what distro/ arch/ release you are running, to install the correct dependancies.

Could issue the following commands:

Code: Select all

uname -a
cat /etc/*release
yum repolist
and send us your output.

could you PM us your install log?

Re: Error during XI install on RHEL 6.4

Posted: Fri Jan 16, 2015 8:28 am
by JakeHatMacys
cmerchant wrote:The message might appear confusing if that were the real problem. The install script makes use of several checks to see what distro/ arch/ release you are running, to install the correct dependancies.

Could issue the following commands:

Code: Select all

uname -a
cat /etc/*release
yum repolist
and send us your output.

could you PM us your install log?
Linux esu2v238 2.6.32-358.el6.x86_64 #1 SMP Tue Jan 29 11:47:41 EST 2013 x86_64 x86_64 x86_64 GNU/Linux

LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch

Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
This system is receiving updates from RHN Classic or RHN Satellite.
macys-clone-rhel-x86_64-server-6.3 | 1.5 kB 00:00
macys-clone-rhel-x86_64-server-supplementary-6 | 1.5 kB 00:00
macys-clone-rhn-tools-rhel-x86_64-server-6 | 1.3 kB 00:00
repo id repo name status
macys-clone-rhel-x86_64-server-6.3 Macys RHEL (v. 6.4 for 64-bit x86_64) BPA 02/26/2013 10,096
macys-clone-rhel-x86_64-server-supplementary-6 Macys RHEL Server Supplementary 6 (64-bit x86_64) BPA 355
macys-clone-rhn-tools-rhel-x86_64-server-6 Macys RHN Tools for RHEL (v. 6 for 64-bit x86_64) BPA 91
repolist: 10,542

Red Hat Enterprise Linux Server release 6.4 (Santiago)

I'll get the install log here shortly

Re: Error during XI install on RHEL 6.4

Posted: Fri Jan 16, 2015 10:33 am
by cmerchant
I received your install log PM. Thanks. The install script failed because its can't add the additional repos necessary to build Nagios. Sorry, I missed it from the original post because of the centos package. From your original post install log:
"ERROR: Please add the 'Optional' channel to your Red Hat systems subscriptions."
there is a FAQ answered here:

http://support.nagios.com/wiki/index.ph ... ptions..22

Re: Error during XI install on RHEL 6.4

Posted: Fri Jan 16, 2015 3:34 pm
by JakeHatMacys
So that was enabled for optional and now getting the following error:

Enabling RPMForge repo...
Installing RPMForge PKG: packages/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
warning: packages/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 6b8d7 9e6: NOKEY
Preparing... ##################################################
rpmforge-release ##################################################
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to re gister.
This system is receiving updates from RHN Classic or RHN Satellite.

cyrus-sasl.x86_64 2.1.23-15.el6 macys-clone-rhel-x86_64-server-6.3
cyrus-sasl-gssapi.x86_64 2.1.23-15.el6 macys-clone-rhel-x86_64-server-6.3
cyrus-sasl-lib.x86_64 2.1.23-15.el6 macys-clone-rhel-x86_64-server-6.3
cyrus-sasl-plain.x86_64 2.1.23-15.el6 macys-clone-rhel-x86_64-server-6.3
openssl.x86_64 1.0.1e-30.el6 macys-clone-rhel-x86_64-server-6.3
perl-Compress-Raw-Bzip2.x86_64 2.052-1.el6.rf rpmforge
rpm.x86_64 4.8.0-38.el6_6 macys-clone-rhel-x86_64-server-6.3
rpm-libs.x86_64 4.8.0-38.el6_6 macys-clone-rhel-x86_64-server-6.3
rpm-python.x86_64 4.8.0-38.el6_6 macys-clone-rhel-x86_64-server-6.3
rpmforge-release RPM installed OK
Enabling EPEL repo...
Installing EPEL PKG: ./packages/epel-release-6-8.noarch.rpm
warning: ./packages/epel-release-6-8.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
Preparing... ##################################################
epel-release ##################################################
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to re gister.
This system is receiving updates from RHN Classic or RHN Satellite.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
epel-release RPM installed OK
Repo configured OK
RESULT=0
Running './1-prereqs'...
Installing prerequisites...
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to re gister.
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Local Package Process
Examining /tmp/nagiosxi/packages/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm: php-pear-HTML-Templat e-IT-1.3.0-2.el5.noarch
Marking /tmp/nagiosxi/packages/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm to be installed
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
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: Error during XI install on RHEL 6.4

Posted: Fri Jan 16, 2015 3:53 pm
by JakeHatMacys
Update Apparently we have an internal Epel Repo (unix supports words) and they pointed us to that, but failed here:

Transaction Summary
================================================================================
Install 57 Package(s)

Total download size: 97 M
Installed size: 43 M
Downloading Packages:
--------------------------------------------------------------------------------
Total 11 MB/s | 97 MB 00:08
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY


Public key for ibus-table-chinese-cangjie-1.4.6-1.el6.noarch.rpm is not installed
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: Error during XI install on RHEL 6.4

Posted: Mon Jan 19, 2015 10:25 am
by lmiltchev
Is your internal Epel Repo up to date? Does it contain all of the required packages? Can you post the whole install.log file?

Re: Error during XI install on RHEL 6.4

Posted: Mon Jan 19, 2015 10:49 am
by JakeHatMacys
lmiltchev wrote:Is your internal Epel Repo up to date? Does it contain all of the required packages? Can you post the whole install.log file?
Not sure on Epel Repo... Support had said that they installed the package on Friday but still getting the same error:

Code: Select all

Nagios XI Installation Log
==========================
DATE: Mon Jan 19 08:15:50 EST 2015

DISTRO INFO:
RedHatEnterpriseServer
6.4
x86_64

THIS IS A NEW INSTALL!

INSTALLING:
full=2014R2.3
major=2014
minor=R2.3
releasedate=2014-12-29
release=412

Configuring Repos...
package centos-release is not installed
rpmforge-release RPM installed OK
epel-release RPM installed OK
Repo configured OK
Installing prerequisites...
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Local Package Process
Examining /tmp/nagiosxi/packages/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm: php-pear-HTML-Template-IT-1.3.0-2.el5.noarch
/tmp/nagiosxi/packages/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm: does not update installed package.
Examining /tmp/nagiosxi/nagiosxi-deps-2014r2.3-1.noarch.rpm: nagiosxi-deps-2014r2.3-1.noarch
/tmp/nagiosxi/nagiosxi-deps-2014r2.3-1.noarch.rpm: does not update installed package.
Nothing to do
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
Package poppler-data-0.4.0-1.el6.noarch already installed and latest version
Package ibus-table-cangjie-1.2.0.20100210-1.el6.noarch is obsoleted by ibus-table-chinese-cangjie-1.4.6-1.el6.noarch which is already installed
Package ibus-table-erbi is obsoleted by ibus-table-chinese-erbi, trying to install ibus-table-chinese-erbi-1.4.6-1.el6.noarch instead
Package ibus-table-wubi is obsoleted by ibus-table-chinese-wubi-jidian, trying to install ibus-table-chinese-wubi-jidian-1.4.6-1.el6.noarch instead
Package poppler-data-0.4.0-1.el6.noarch already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package Red_Hat_Enterprise_Linux-Release_Notes-6-ja-JP.noarch 0:4-1.el6 will be installed
---> Package Red_Hat_Enterprise_Linux-Release_Notes-6-ko-KR.noarch 0:4-1.el6 will be installed
---> Package Red_Hat_Enterprise_Linux-Release_Notes-6-zh-CN.noarch 0:4-1.el6 will be installed
---> Package Red_Hat_Enterprise_Linux-Release_Notes-6-zh-TW.noarch 0:4-2.el6 will be installed
---> Package cjkuni-ukai-fonts.noarch 0:0.2.20080216.1-35.el6 will be installed
--> Processing Dependency: cjkuni-fonts-common = 0.2.20080216.1-35.el6 for package: cjkuni-ukai-fonts-0.2.20080216.1-35.el6.noarch
---> Package cjkuni-uming-fonts.noarch 0:0.2.20080216.1-35.el6 will be installed
---> Package hunspell-ko.noarch 0:0.3.3-1.el6 will be installed
---> Package ibus-anthy.x86_64 0:1.2.1-3.el6 will be installed
--> Processing Dependency: anthy for package: ibus-anthy-1.2.1-3.el6.x86_64
--> Processing Dependency: kasumi for package: ibus-anthy-1.2.1-3.el6.x86_64
--> Processing Dependency: libanthy.so.0()(64bit) for package: ibus-anthy-1.2.1-3.el6.x86_64
--> Processing Dependency: libanthydic.so.0()(64bit) for package: ibus-anthy-1.2.1-3.el6.x86_64
---> Package ibus-chewing.x86_64 0:1.3.5.20100714-4.el6 will be installed
--> Processing Dependency: libchewing >= 0.3.2-16 for package: ibus-chewing-1.3.5.20100714-4.el6.x86_64
--> Processing Dependency: libchewing.so.3()(64bit) for package: ibus-chewing-1.3.5.20100714-4.el6.x86_64
---> Package ibus-hangul.x86_64 0:1.3.0.20100329-4.el6 will be installed
--> Processing Dependency: libhangul >= 0.0.10 for package: ibus-hangul-1.3.0.20100329-4.el6.x86_64
--> Processing Dependency: libhangul.so.0()(64bit) for package: ibus-hangul-1.3.0.20100329-4.el6.x86_64
---> Package ibus-pinyin.x86_64 0:1.3.8-1.el6 will be installed
---> Package ibus-table-chinese-erbi.noarch 0:1.4.6-1.el6 will be installed
---> Package ibus-table-chinese-wubi-jidian.noarch 0:1.4.6-1.el6 will be installed
---> Package ipa-gothic-fonts.noarch 0:003.02-4.2.el6 will be installed
---> Package ipa-mincho-fonts.noarch 0:003.02-3.1.el6 will be installed
---> Package ipa-pgothic-fonts.noarch 0:003.02-4.1.el6 will be installed
---> Package ipa-pmincho-fonts.noarch 0:003.02-3.1.el6 will be installed
---> Package man-pages-ja.noarch 0:20100115-5.el6 will be installed
---> Package man-pages-ko.noarch 2:20050219-17.el6 will be installed
---> Package un-core-batang-fonts.noarch 0:1.0.2-0.15.080608.el6 will be installed
--> Processing Dependency: un-core-fonts-common = 1.0.2-0.15.080608.el6 for package: un-core-batang-fonts-1.0.2-0.15.080608.el6.noarch
---> Package un-core-dinaru-fonts.noarch 0:1.0.2-0.15.080608.el6 will be installed
---> Package un-core-dotum-fonts.noarch 0:1.0.2-0.15.080608.el6 will be installed
---> Package un-core-graphic-fonts.noarch 0:1.0.2-0.15.080608.el6 will be installed
---> Package un-core-gungseo-fonts.noarch 0:1.0.2-0.15.080608.el6 will be installed
---> Package un-core-pilgi-fonts.noarch 0:1.0.2-0.15.080608.el6 will be installed
---> Package vlgothic-fonts.noarch 0:20091202-2.el6 will be installed
--> Processing Dependency: vlgothic-fonts-common = 20091202-2.el6 for package: vlgothic-fonts-20091202-2.el6.noarch
---> Package vlgothic-p-fonts.noarch 0:20091202-2.el6 will be installed
---> Package wqy-zenhei-fonts.noarch 0:0.9.45-3.el6 will be installed
--> Running transaction check
---> Package anthy.x86_64 0:9100h-10.1.el6 will be installed
---> Package cjkuni-fonts-common.noarch 0:0.2.20080216.1-35.el6 will be installed
---> Package kasumi.x86_64 0:2.5-1.1.el6 will be installed
---> Package libchewing.x86_64 0:0.3.2-27.el6 will be installed
---> Package libhangul.x86_64 0:0.0.10-1.el6 will be installed
---> Package un-core-fonts-common.noarch 0:1.0.2-0.15.080608.el6 will be installed
---> Package vlgothic-fonts-common.noarch 0:20091202-2.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package  Arch   Version               Repository                          Size
================================================================================
Installing:
 Red_Hat_Enterprise_Linux-Release_Notes-6-ja-JP
          noarch 4-1.el6               macys-clone-rhel-x86_64-server-6.3 107 k
 Red_Hat_Enterprise_Linux-Release_Notes-6-ko-KR
          noarch 4-1.el6               macys-clone-rhel-x86_64-server-6.3 105 k
 Red_Hat_Enterprise_Linux-Release_Notes-6-zh-CN
          noarch 4-1.el6               macys-clone-rhel-x86_64-server-6.3 106 k
 Red_Hat_Enterprise_Linux-Release_Notes-6-zh-TW
          noarch 4-2.el6               macys-clone-rhel-x86_64-server-6.3 107 k
 cjkuni-ukai-fonts
          noarch 0.2.20080216.1-35.el6 macys-clone-rhel-x86_64-server-6.3 9.4 M
 cjkuni-uming-fonts
          noarch 0.2.20080216.1-35.el6 macys-clone-rhel-x86_64-server-6.3 8.9 M
 hunspell-ko
          noarch 0.3.3-1.el6           macys-clone-rhel-x86_64-server-6.3 774 k
 ibus-anthy
          x86_64 1.2.1-3.el6           macys-clone-rhel-x86_64-server-6.3 133 k
 ibus-chewing
          x86_64 1.3.5.20100714-4.el6  macys-clone-rhel-x86_64-server-6.3  64 k
 ibus-hangul
          x86_64 1.3.0.20100329-4.el6  macys-clone-rhel-x86_64-server-6.3  40 k
 ibus-pinyin
          x86_64 1.3.8-1.el6           macys-clone-rhel-x86_64-server-6.3 1.1 M
 ibus-table-chinese-erbi
          noarch 1.4.6-1.el6           mst-epel-rhel6-x86_64              4.2 M
 ibus-table-chinese-wubi-jidian
          noarch 1.4.6-1.el6           mst-epel-rhel6-x86_64              4.1 M
 ipa-gothic-fonts
          noarch 003.02-4.2.el6        macys-clone-rhel-x86_64-server-6.3 3.6 M
 ipa-mincho-fonts
          noarch 003.02-3.1.el6        macys-clone-rhel-x86_64-server-6.3 5.0 M
 ipa-pgothic-fonts
          noarch 003.02-4.1.el6        macys-clone-rhel-x86_64-server-6.3 3.6 M
 ipa-pmincho-fonts
          noarch 003.02-3.1.el6        macys-clone-rhel-x86_64-server-6.3 5.0 M
 man-pages-ja
          noarch 20100115-5.el6        macys-clone-rhel-x86_64-server-6.3 5.5 M
 man-pages-ko
          noarch 2:20050219-17.el6     macys-clone-rhel-x86_64-server-6.3 1.1 M
 un-core-batang-fonts
          noarch 1.0.2-0.15.080608.el6 macys-clone-rhel-x86_64-server-6.3 6.8 M
 un-core-dinaru-fonts
          noarch 1.0.2-0.15.080608.el6 macys-clone-rhel-x86_64-server-6.3 979 k
 un-core-dotum-fonts
          noarch 1.0.2-0.15.080608.el6 macys-clone-rhel-x86_64-server-6.3 4.1 M
 un-core-graphic-fonts
          noarch 1.0.2-0.15.080608.el6 macys-clone-rhel-x86_64-server-6.3 677 k
 un-core-gungseo-fonts
          noarch 1.0.2-0.15.080608.el6 macys-clone-rhel-x86_64-server-6.3 3.5 M
 un-core-pilgi-fonts
          noarch 1.0.2-0.15.080608.el6 macys-clone-rhel-x86_64-server-6.3 496 k
 vlgothic-fonts
          noarch 20091202-2.el6        macys-clone-rhel-x86_64-server-6.3 2.2 M
 vlgothic-p-fonts
          noarch 20091202-2.el6        macys-clone-rhel-x86_64-server-6.3 2.2 M
 wqy-zenhei-fonts
          noarch 0.9.45-3.el6          macys-clone-rhel-x86_64-server-6.3 7.8 M
Installing for dependencies:
 anthy    x86_64 9100h-10.1.el6        macys-clone-rhel-x86_64-server-6.3 6.0 M
 cjkuni-fonts-common
          noarch 0.2.20080216.1-35.el6 macys-clone-rhel-x86_64-server-6.3 9.5 k
 kasumi   x86_64 2.5-1.1.el6           macys-clone-rhel-x86_64-server-6.3  71 k
 libchewing
          x86_64 0.3.2-27.el6          macys-clone-rhel-x86_64-server-6.3 1.5 M
 libhangul
          x86_64 0.0.10-1.el6          macys-clone-rhel-x86_64-server-6.3 2.1 M
 un-core-fonts-common
          noarch 1.0.2-0.15.080608.el6 macys-clone-rhel-x86_64-server-6.3  13 k
 vlgothic-fonts-common
          noarch 20091202-2.el6        macys-clone-rhel-x86_64-server-6.3  16 k

Transaction Summary
================================================================================
Install      35 Package(s)

Total download size: 92 M
Installed size: 27 M
Downloading Packages:
--------------------------------------------------------------------------------
Total                                           6.8 MB/s |  92 MB     00:13     
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY


Public key for ibus-table-chinese-wubi-jidian-1.4.6-1.el6.noarch.rpm is not installed

Re: Error during XI install on RHEL 6.4

Posted: Mon Jan 19, 2015 1:04 pm
by lmiltchev
In RHEL you can import a missing key by running:

Code: Select all

rpm --import /path/to/YOUR-RPM-GPG-KEY
What keys do you have in the "/etc/pki/rpm-gpg/" directory?

Code: Select all

ll /etc/pki/rpm-gpg/

Re: Error during XI install on RHEL 6.4

Posted: Mon Jan 19, 2015 1:10 pm
by JakeHatMacys
lmiltchev wrote:In RHEL you can import a missing key by running:

Code: Select all

rpm --import /path/to/YOUR-RPM-GPG-KEY
What keys do you have in the "/etc/pki/rpm-gpg/" directory?

Code: Select all

ll /etc/pki/rpm-gpg/
[root@esu2v238 nagiosxi]# ll /etc/pki/rpm-gpg/
total 32
-rw-r--r-- 1 root root 1649 Nov 4 2012 RPM-GPG-KEY-EPEL-6
-rw-r--r--. 1 root root 3375 Jan 29 2013 RPM-GPG-KEY-redhat-beta
-rw-r--r--. 1 root root 1990 Jan 29 2013 RPM-GPG-KEY-redhat-legacy-former
-rw-r--r--. 1 root root 1164 Jan 29 2013 RPM-GPG-KEY-redhat-legacy-release
-rw-r--r--. 1 root root 885 Jan 29 2013 RPM-GPG-KEY-redhat-legacy-rhx
-rw-r--r--. 1 root root 3211 Jan 29 2013 RPM-GPG-KEY-redhat-release
-rw-r--r-- 1 root root 1672 Apr 14 2011 RPM-GPG-KEY-rpmforge-dag
-rw-r--r-- 1 root root 992 Apr 14 2011 RPM-GPG-KEY-rpmforge-fabian
[root@esu2v238 nagiosxi]#