Page 2 of 5

Re: INSTALLATION ERROR

Posted: Thu Jul 02, 2015 10:36 am
by 1faizankhan
I talk with our security guys and they said that:

So RHELPOC63 (134.216.160.51) is unable to connect to

http://mirrorlist.repoforge.org/el6/mirrors-rpmforge
http://apt.sw.be/redhat/el6/en/x86_64/r ... repomd.xml

because it is not authenticating. When it gets the mirror list (below) it’s not going to be able to get to them for the same reason. I can add an authentication exception in for some of these (US based) but not all.

Re: INSTALLATION ERROR

Posted: Thu Jul 02, 2015 10:48 am
by jdalrymple
abrist wrote:Hmmm, I don't see those errors when I curl the xml urls. :

Code: Select all

curl http://apt.sw.be/redhat/el6/en/x86_64/rpmforge/repodata/repomd.xml
Does your proxy require authentication?
This is where you're stuck - I'm fairly certain. Please run the command indicated above by abrist.

Re: INSTALLATION ERROR

Posted: Thu Jul 02, 2015 11:02 am
by 1faizankhan
Yes it is.

As per conversation with our security guys and they said that:

So RHELPOC63 (134.216.160.51) is unable to connect to

http://mirrorlist.repoforge.org/el6/mirrors-rpmforge
http://apt.sw.be/redhat/el6/en/x86_64/r ... repomd.xml

because it is not authenticating. When it gets the mirror list (below) it’s not going to be able to get to them for the same reason. I can add an authentication exception in for some of these (US based) but not all.

Re: INSTALLATION ERROR

Posted: Thu Jul 02, 2015 11:08 am
by jdalrymple
We have already instructed you on how to deal with this problem. Please reference ssax's post from page 1:
ssax wrote:Have you followed these steps in configuring yum and the other settings for using a proxy?

https://support.nagios.com/wiki/index.p ... th_Proxies

Re: INSTALLATION ERROR

Posted: Thu Jul 02, 2015 11:25 am
by 1faizankhan
Getting this error now:

DATE: Thu Jul 2 12:20:59 EDT 2015

DISTRO INFO:
RedHatEnterpriseServer
6.6
x86_64

THIS IS A NEW INSTALL!

INSTALLING:
full=2014R2.6
major=2014
minor=R2.7
releasedate=2015-04-23
release=416

Repos already configured - exiting.
Installing prerequisites...
Loaded plugins: product-id, refresh-packagekit, rhnplugin, security,
: subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Local Package Process
Examining /nas/home/fn661091/software/nagios/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
Marking /nas/home/fn661091/software/nagios/nagiosxi/packages/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm to be installed
Examining /nas/home/fn661091/software/nagios/nagiosxi/nagiosxi-deps-2014r2.6-1.noarch.rpm: nagiosxi-deps-2014r2.6-1.noarch
Marking /nas/home/fn661091/software/nagios/nagiosxi/nagiosxi-deps-2014r2.6-1.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package nagiosxi-deps.noarch 0:2014r2.6-1 will be installed
--> Processing Dependency: expat-devel for package: nagiosxi-deps-2014r2.6-1.noarch
--> Processing Dependency: fping for package: nagiosxi-deps-2014r2.6-1.noarch
--> Processing Dependency: gd-devel for package: nagiosxi-deps-2014r2.6-1.noarch
--> Processing Dependency: graphviz for package: nagiosxi-deps-2014r2.6-1.noarch
--> Processing Dependency: libmcrypt for package: nagiosxi-deps-2014r2.6-1.noarch
--> Processing Dependency: libmcrypt-devel for package: nagiosxi-deps-2014r2.6-1.noarch
--> Processing Dependency: mrtg for package: nagiosxi-deps-2014r2.6-1.noarch
--> Processing Dependency: mysql-server for package: nagiosxi-deps-2014r2.6-1.noarch
--> Processing Dependency: net-snmp-utils for package: nagiosxi-deps-2014r2.6-1.noarch
--> Processing Dependency: nmap for package: nagiosxi-deps-2014r2.6-1.noarch
--> Processing Dependency: numpy for package: nagiosxi-deps-2014r2.6-1.noarch
--> Processing Dependency: perl(Crypt::Rijndael) for package: nagiosxi-deps-2014r2.6-1.noarch
--> Processing Dependency: perl-Mail-IMAPClient for package: nagiosxi-deps-2014r2.6-1.noarch
--> Processing Dependency: perl(Mail::POP3Client) for package: nagiosxi-deps-2014r2.6-1.noarch
--> Processing Dependency: perl(Net::SMTP::TLS) for package: nagiosxi-deps-2014r2.6-1.noarch
--> Processing Dependency: perl(XML::Simple) for package: nagiosxi-deps-2014r2.6-1.noarch
--> Processing Dependency: perl-DBD-MySQL for package: nagiosxi-deps-2014r2.6-1.noarch
--> Processing Dependency: perl-Net-DNS for package: nagiosxi-deps-2014r2.6-1.noarch
--> Processing Dependency: perl-Net-SNMP for package: nagiosxi-deps-2014r2.6-1.noarch
--> Processing Dependency: php-mcrypt for package: nagiosxi-deps-2014r2.6-1.noarch
--> Processing Dependency: php-mssql for package: nagiosxi-deps-2014r2.6-1.noarch
--> Processing Dependency: php-mysql for package: nagiosxi-deps-2014r2.6-1.noarch
--> Processing Dependency: php-pecl-ssh2 for package: nagiosxi-deps-2014r2.6-1.noarch
--> Processing Dependency: php-pgsql for package: nagiosxi-deps-2014r2.6-1.noarch
--> Processing Dependency: php-snmp for package: nagiosxi-deps-2014r2.6-1.noarch
--> Processing Dependency: php-mbstring for package: nagiosxi-deps-2014r2.6-1.noarch
--> Processing Dependency: postgresql-server for package: nagiosxi-deps-2014r2.6-1.noarch
--> Processing Dependency: pymssql for package: nagiosxi-deps-2014r2.6-1.noarch
--> Processing Dependency: python-lxml for package: nagiosxi-deps-2014r2.6-1.noarch
--> Processing Dependency: rpmdevtools for package: nagiosxi-deps-2014r2.6-1.noarch
--> Processing Dependency: rrdtool for package: nagiosxi-deps-2014r2.6-1.noarch
--> Processing Dependency: rrdtool-perl for package: nagiosxi-deps-2014r2.6-1.noarch
--> Processing Dependency: rrdtool-python for package: nagiosxi-deps-2014r2.6-1.noarch
---> Package php-pear-HTML-Template-IT.noarch 0:1.3.0-2.el5 will be installed
--> Running transaction check
---> Package expat-devel.x86_64 0:2.0.1-11.el6_2 will be installed
---> Package fping.x86_64 0:3.10-1.el6.rf will be installed
---> Package gd-devel.x86_64 0:2.0.35-11.el6 will be installed
--> Processing Dependency: libXpm-devel for package: gd-devel-2.0.35-11.el6.x86_64
--> Processing Dependency: libjpeg-devel for package: gd-devel-2.0.35-11.el6.x86_64
---> Package graphviz.x86_64 0:2.26.0-10.el6 will be installed
---> Package libmcrypt.x86_64 0:2.5.7-1.2.el6.rf will be installed
---> Package libmcrypt-devel.x86_64 0:2.5.7-1.2.el6.rf will be installed
---> Package mrtg.x86_64 0:2.16.2-7.el6 will be installed
--> Processing Dependency: mrtg-libs = 2.16.2-7.el6 for package: mrtg-2.16.2-7.el6.x86_64
--> Processing Dependency: perl-IO-Socket-INET6 for package: mrtg-2.16.2-7.el6.x86_64
--> Processing Dependency: perl(locales_mrtg) for package: mrtg-2.16.2-7.el6.x86_64
--> Processing Dependency: perl(MRTG_lib) for package: mrtg-2.16.2-7.el6.x86_64
--> Processing Dependency: perl-Socket6 for package: mrtg-2.16.2-7.el6.x86_64
---> Package mysql-server.x86_64 0:5.1.73-5.el6_6 will be installed
--> Processing Dependency: mysql = 5.1.73-5.el6_6 for package: mysql-server-5.1.73-5.el6_6.x86_64
---> Package nagiosxi-deps.noarch 0:2014r2.6-1 will be installed
--> Processing Dependency: php-mssql for package: nagiosxi-deps-2014r2.6-1.noarch
--> Processing Dependency: php-pecl-ssh2 for package: nagiosxi-deps-2014r2.6-1.noarch
--> Processing Dependency: pymssql for package: nagiosxi-deps-2014r2.6-1.noarch
---> Package net-snmp-utils.x86_64 1:5.5-50.el6_6.1 will be installed
---> Package nmap.x86_64 2:5.51-4.el6 will be installed
---> Package numpy.x86_64 0:1.4.1-9.el6 will be installed
--> Processing Dependency: python-nose for package: numpy-1.4.1-9.el6.x86_64
--> Processing Dependency: libptf77blas.so.3()(64bit) for package: numpy-1.4.1-9.el6.x86_64
--> Processing Dependency: liblapack.so.3()(64bit) for package: numpy-1.4.1-9.el6.x86_64
--> Processing Dependency: libatlas.so.3()(64bit) for package: numpy-1.4.1-9.el6.x86_64
--> Processing Dependency: libptcblas.so.3()(64bit) for package: numpy-1.4.1-9.el6.x86_64
---> Package perl-Crypt-Rijndael.x86_64 0:1.09-1.el6.rf will be installed
--> Processing Dependency: perl(Test::Manifest) >= 1.14 for package: perl-Crypt-Rijndael-1.09-1.el6.rf.x86_64
---> Package perl-DBD-MySQL.x86_64 0:4.013-3.el6 will be installed
---> Package perl-Mail-IMAPClient.noarch 0:3.23-1.el6.rf will be installed
--> Processing Dependency: perl(Parse::RecDescent) >= 1.94 for package: perl-Mail-IMAPClient-3.23-1.el6.rf.noarch
---> Package perl-Mail-POP3Client.noarch 0:2.18-1.el6.rf will be installed
---> Package perl-Net-DNS.x86_64 0:0.65-5.el6 will be installed
--> Processing Dependency: perl(Digest::HMAC_MD5) for package: perl-Net-DNS-0.65-5.el6.x86_64
---> Package perl-Net-SMTP-TLS.noarch 0:0.12-1.el6.rf will be installed
--> Processing Dependency: perl(Net::SSLeay) for package: perl-Net-SMTP-TLS-0.12-1.el6.rf.noarch
--> Processing Dependency: perl(IO::Socket::SSL) for package: perl-Net-SMTP-TLS-0.12-1.el6.rf.noarch
---> Package perl-Net-SNMP.noarch 0:5.2.0-1.2.el6.rf will be installed
--> Processing Dependency: perl(Crypt::DES) for package: perl-Net-SNMP-5.2.0-1.2.el6.rf.noarch
--> Processing Dependency: perl(Digest::SHA1) for package: perl-Net-SNMP-5.2.0-1.2.el6.rf.noarch
---> Package perl-XML-Simple.noarch 0:2.18-6.el6 will be installed
---> Package php-mbstring.x86_64 0:5.3.3-40.el6_6 will be installed
---> Package php-mcrypt.x86_64 0:5.3.3-1.el6.rf will be installed
---> Package php-mysql.x86_64 0:5.3.3-40.el6_6 will be installed
---> Package php-pgsql.x86_64 0:5.3.3-40.el6_6 will be installed
---> Package php-snmp.x86_64 0:5.3.3-40.el6_6 will be installed
---> Package postgresql-server.x86_64 0:8.4.20-3.el6_6 will be installed
--> Processing Dependency: postgresql(x86-64) = 8.4.20-3.el6_6 for package: postgresql-server-8.4.20-3.el6_6.x86_64
--> Processing Dependency: postgresql-libs(x86-64) = 8.4.20-3.el6_6 for package: postgresql-server-8.4.20-3.el6_6.x86_64
---> Package python-lxml.x86_64 0:2.2.3-1.1.el6 will be installed
---> Package rpmdevtools.noarch 0:7.5-2.el6 will be installed
--> Processing Dependency: fakeroot for package: rpmdevtools-7.5-2.el6.noarch
---> Package rrdtool.x86_64 0:1.3.8-7.el6 will be installed
--> Processing Dependency: dejavu-lgc-sans-mono-fonts for package: rrdtool-1.3.8-7.el6.x86_64
---> Package rrdtool-perl.x86_64 0:1.3.8-7.el6 will be installed
---> Package rrdtool-python.x86_64 0:1.3.8-7.el6 will be installed
--> Running transaction check
---> Package atlas.x86_64 0:3.8.4-2.el6 will be installed
---> Package dejavu-lgc-sans-mono-fonts.noarch 0:2.30-2.el6 will be installed
---> Package fakeroot.x86_64 0:1.12.2-22.2.el6 will be installed
--> Processing Dependency: fakeroot-libs = 1.12.2-22.2.el6 for package: fakeroot-1.12.2-22.2.el6.x86_64
---> Package libXpm-devel.x86_64 0:3.5.10-2.el6 will be installed
---> Package libjpeg-turbo-devel.x86_64 0:1.2.1-3.el6_5 will be installed
---> Package mrtg-libs.x86_64 0:2.16.2-7.el6 will be installed
--> Processing Dependency: perl(BER) for package: mrtg-libs-2.16.2-7.el6.x86_64
--> Processing Dependency: perl(SNMP_Session) for package: mrtg-libs-2.16.2-7.el6.x86_64
---> Package mysql.x86_64 0:5.1.73-3.el6_5 will be updated
--> Processing Dependency: mysql = 5.1.73-3.el6_5 for package: mysql-devel-5.1.73-3.el6_5.x86_64
---> Package mysql.x86_64 0:5.1.73-5.el6_6 will be an update
--> Processing Dependency: mysql-libs = 5.1.73-5.el6_6 for package: mysql-5.1.73-5.el6_6.x86_64
---> Package nagiosxi-deps.noarch 0:2014r2.6-1 will be installed
--> Processing Dependency: php-mssql for package: nagiosxi-deps-2014r2.6-1.noarch
--> Processing Dependency: php-pecl-ssh2 for package: nagiosxi-deps-2014r2.6-1.noarch
--> Processing Dependency: pymssql for package: nagiosxi-deps-2014r2.6-1.noarch
---> Package perl-Crypt-DES.x86_64 0:2.05-3.2.el6.rf will be installed
---> Package perl-Digest-HMAC.noarch 0:1.01-22.el6 will be installed
---> Package perl-Digest-SHA1.x86_64 0:2.12-2.el6 will be installed
---> Package perl-IO-Socket-INET6.noarch 0:2.56-4.el6 will be installed
---> Package perl-IO-Socket-SSL.noarch 0:1.31-2.el6 will be installed
--> Processing Dependency: perl(Net::LibIDN) for package: perl-IO-Socket-SSL-1.31-2.el6.noarch
---> Package perl-Net-SSLeay.x86_64 0:1.35-9.el6 will be installed
---> Package perl-Parse-RecDescent.noarch 0:1.962.2-2.el6 will be installed
---> Package perl-Socket6.x86_64 0:0.23-4.el6 will be installed
---> Package perl-Test-Manifest.noarch 0:1.22-5.el6 will be installed
---> Package postgresql.x86_64 0:8.4.20-2.el6_6 will be updated
--> Processing Dependency: postgresql(x86-64) = 8.4.20-2.el6_6 for package: postgresql-devel-8.4.20-2.el6_6.x86_64
---> Package postgresql.x86_64 0:8.4.20-3.el6_6 will be an update
---> Package postgresql-libs.x86_64 0:8.4.20-2.el6_6 will be updated
---> Package postgresql-libs.x86_64 0:8.4.20-3.el6_6 will be an update
---> Package python-nose.noarch 0:0.10.4-3.1.el6 will be installed
--> Processing Dependency: python-setuptools for package: python-nose-0.10.4-3.1.el6.noarch
--> Running transaction check
---> Package fakeroot-libs.x86_64 0:1.12.2-22.2.el6 will be installed
---> Package mysql-devel.x86_64 0:5.1.73-3.el6_5 will be updated
---> Package mysql-devel.x86_64 0:5.1.73-5.el6_6 will be an update
---> Package mysql-libs.x86_64 0:5.1.73-3.el6_5 will be updated
---> Package mysql-libs.x86_64 0:5.1.73-5.el6_6 will be an update
---> Package nagiosxi-deps.noarch 0:2014r2.6-1 will be installed
--> Processing Dependency: php-mssql for package: nagiosxi-deps-2014r2.6-1.noarch
--> Processing Dependency: php-pecl-ssh2 for package: nagiosxi-deps-2014r2.6-1.noarch
--> Processing Dependency: pymssql for package: nagiosxi-deps-2014r2.6-1.noarch
---> Package perl-Net-LibIDN.x86_64 0:0.12-3.el6 will be installed
---> Package perl-SNMP_Session.noarch 0:1.12-4.el6 will be installed
---> Package postgresql-devel.x86_64 0:8.4.20-2.el6_6 will be updated
---> Package postgresql-devel.x86_64 0:8.4.20-3.el6_6 will be an update
---> Package python-setuptools.noarch 0:0.6.10-3.el6 will be installed
--> Finished Dependency Resolution
Error: Package: nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Requires: pymssql
Error: Package: nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Requires: php-mssql
Error: Package: nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Requires: php-pecl-ssh2
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@RHELPOC63 nagiosxi]#

Re: INSTALLATION ERROR

Posted: Thu Jul 02, 2015 11:48 am
by ssax
Looks like you need the pymssql rpm:

You can download it here or from another trusted place of your choosing:

http://rpm.pbone.net/index.php3/stat/4/ ... 4.rpm.html

Then install it:

Code: Select all

yum install pymssql-1.0.2-4.el6.x86_64.rpm
Then try the fullinstall again.

Re: INSTALLATION ERROR

Posted: Thu Jul 02, 2015 12:24 pm
by 1faizankhan
Where to get these 2 more packages?

---> Package python-setuptools.noarch 0:0.6.10-3.el6 will be installed
--> Finished Dependency Resolution
Error: Package: nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Requires: php-mssql
Error: Package: nagiosxi-deps-2014r2.6-1.noarch (/nagiosxi-deps-2014r2.6-1.noarch)
Requires: php-pecl-ssh2
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'
[root@RHELPOC63 nagiosxi]#

Re: INSTALLATION ERROR

Posted: Thu Jul 02, 2015 12:25 pm
by 1faizankhan
Why do we need mssql ?

Re: INSTALLATION ERROR

Posted: Thu Jul 02, 2015 12:28 pm
by lmiltchev
Try running:

Code: Select all

yum install php-mssql php-pecl-ssh -y

Re: INSTALLATION ERROR

Posted: Thu Jul 02, 2015 12:30 pm
by lmiltchev
Why do we need mssql ?
It's needed for MSSQL Database, Server & Query Monitoring wizards, which are part of Nagios XI.