Page 1 of 4

install nagios issue.

Posted: Wed Oct 19, 2016 4:18 pm
by vy3734
I'm installing Nagiosxi 5.3.0 but seeing following errors. Please help

nagiosxi]# ./fullinstall -n -p nagiosxi
Checking MySQL credentials...
MySQL not yet installed - that's okay.
Running './0-repos'...
Repos already configured - exiting.
RESULT=0
Running './1-prereqs'...
Installing prerequisites...
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Local Package Process
Examining /www/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 /www/nagios/nagiosxi/packages/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm to be installed
http://repo.nagios.com/nagiosxi-deps/6/ ... ary.xml.gz: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
Error: failure: repodata/e0c22bc59fdedcd278c35dfca73b4de0a95fdaa12ac6355ccd4c0e4d3b5777f5-primary.xml.gz from nagiosxi-deps: [Errno 256] No more mirrors to try.
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: install nagios issue.

Posted: Wed Oct 19, 2016 5:06 pm
by avandemore
Can you try running yum clean all then the install again? Is this system provisioned from an old template perhaps? It's best to install on a fully updated clean install.

Re: install nagios issue.

Posted: Wed Oct 19, 2016 7:50 pm
by vy3734
still see issue.

nagiosxi]# yum clean all
Loaded plugins: product-id, rhnplugin, security, subscription-manager
Cleaning repos: epel nagios-base nagiosxi-deps rhel-x86_64-server-6.7.z rhel-x86_64-server-optional-6.7.z rhel-x86_64-server-supplementary-6.7.z
Cleaning up Everything
[ nagiosxi]# ./fullinstall -n -p nagiosxi
Checking MySQL credentials...
MySQL not yet installed - that's okay.
Running './0-repos'...
Repos already configured - exiting.
RESULT=0
Running './1-prereqs'...
Installing prerequisites...
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Local Package Process
Examining /www/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 /www/nagios/nagiosxi/packages/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm to be installed
http://repo.nagios.com/nagiosxi-deps/6/ ... ary.xml.gz: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://repo.nagios.com/nagiosxi-deps/6/ ... ary.xml.gz: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
Error: failure: repodata/e0c22bc59fdedcd278c35dfca73b4de0a95fdaa12ac6355ccd4c0e4d3b5777f5-primary.xml.gz from nagiosxi-deps: [Errno 256] No more mirrors to try.
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: install nagios issue.

Posted: Wed Oct 19, 2016 10:10 pm
by Box293
Run this command:

Code: Select all

mv /etc/yum.repos.d/nagios* /tmp/
Now try running fullinstall.

Re: install nagios issue.

Posted: Wed Oct 19, 2016 10:34 pm
by vy3734
Error: Package: nagiosxi-deps-5.3.0-1.noarch (/nagiosxi-deps-5.3.0-1.noarch)
Requires: pymssql
Error: Package: nagiosxi-deps-5.3.0-1.noarch (/nagiosxi-deps-5.3.0-1.noarch)
Requires: perl(Net::SMTP::TLS)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Re: install nagios issue.

Posted: Thu Oct 20, 2016 1:08 am
by Box293
Can you try following this KB article and let us know if it fixes your problem:

https://support.nagios.com/kb/article.php?id=555

Re: install nagios issue.

Posted: Thu Oct 20, 2016 3:18 am
by vy3734
try that and got the first error

ySQL not yet installed - that's okay.
Running './0-repos'...
Repos already configured - exiting.
RESULT=0
Running './1-prereqs'...
Installing prerequisites...
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Local Package Process
Examining /www/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 /www/nagios/nagiosxi/packages/php-pear-HTML-Template-IT-1.3.0-2.el5.noarch.rpm to be installed
http://repo.nagios.com/nagiosxi-deps/6/ ... ary.xml.gz: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
http://repo.nagios.com/nagiosxi-deps/6/ ... ary.xml.gz: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
Error: failure: repodata/e0c22bc59fdedcd278c35dfca73b4de0a95fdaa12ac6355ccd4c0e4d3b5777f5-primary.xml.gz from nagiosxi-deps: [Errno 256] No more mirrors to try.
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: install nagios issue.

Posted: Thu Oct 20, 2016 9:59 am
by vy3734
can I have an update on this issue please. This is urgent. Thanks

Re: install nagios issue.

Posted: Thu Oct 20, 2016 12:04 pm
by tgriep
Is the server behind a proxy server or firewall that is blocking access to the internet?

Can you login to the server, run the following commands and post the output?

Code: Select all

yum repolist
tail -50 /var/log/yum.log
uname -a
cat /etc/*release*

Re: install nagios issue.

Posted: Thu Oct 20, 2016 12:15 pm
by vy3734
it's using proxy to get to the internet. This server can access to the internet so it's not internet issue.

based on the error above, it couldn't download this file because it's not there in repo.nagios http://repo.nagios.com/nagiosxi-deps/6/ ... ary.xml.gz

nagiosxi]# tail -50 /var/log/yum.log
Oct 13 15:32:43 Updated: efibootmgr-0.5.4-13.el6.x86_64
Oct 13 15:32:44 Updated: xorg-x11-drv-ati-firmware-7.5.99-3.el6.noarch
Oct 13 15:32:44 Updated: ql2400-firmware-7.03.00-1.el6_5.noarch
Oct 13 15:32:44 Updated: hal-info-20090716-5.el6.noarch
Oct 13 15:32:45 Updated: man-pages-overrides-6.7.5-1.el6.noarch
Oct 13 15:32:45 Updated: ql2500-firmware-7.03.00-1.el6_5.noarch
Oct 13 15:32:46 Updated: nss-softokn-freebl-3.14.3-23.el6_7.i686
Oct 13 15:32:47 Updated: glibc-2.12-1.166.el6_7.7.i686
Oct 14 15:41:18 Installed: libXau-1.0.6-4.el6.i686
Oct 14 15:41:18 Installed: libxcb-1.9.1-3.el6.i686
Oct 14 15:41:18 Installed: libX11-1.6.0-6.el6.i686
Oct 14 15:41:18 Installed: libXext-1.3.2-2.1.el6.i686
Oct 14 15:41:19 Installed: libgcc-4.4.7-16.el6.i686
Oct 14 15:41:19 Installed: nc-1.84-24.el6.x86_64
Oct 14 15:41:19 Installed: 1:telnet-0.17-48.el6.x86_64
Oct 14 15:41:19 Installed: libXp-1.0.2-2.1.el6.x86_64
Oct 14 15:41:19 Installed: compat-libstdc++-33-3.2.3-69.el6.i686
Oct 14 15:41:20 Installed: libXp-1.0.2-2.1.el6.i686
Oct 14 16:13:07 Installed: cfengine-community-3.7.2-1.x86_64
Oct 14 16:19:26 Installed: BESAgent-9.1.1229.0-rhe5.x86_64
Oct 14 16:19:56 Installed: gskcrypt64-8.0-50.40.x86_64
Oct 14 16:19:57 Installed: gskssl64-8.0-50.40.x86_64
Oct 14 16:20:02 Installed: TIVsm-API64-7.1.2-0.x86_64
Oct 14 16:20:10 Installed: TIVsm-BA-7.1.2-0.x86_64
Oct 19 09:55:14 Installed: php-common-5.3.3-46.el6_7.1.x86_64
Oct 19 09:55:14 Installed: php-cli-5.3.3-46.el6_7.1.x86_64
Oct 19 09:55:15 Installed: 1:php-pear-1.9.4-4.el6.noarch
Oct 19 12:34:36 Installed: apr-1.3.9-5.el6_2.x86_64
Oct 19 12:34:37 Installed: apr-util-1.3.9-3.el6_0.1.x86_64
Oct 19 12:34:37 Installed: php-pdo-5.3.3-46.el6_7.1.x86_64
Oct 19 12:34:37 Installed: apr-util-ldap-1.3.9-3.el6_0.1.x86_64
Oct 19 12:34:37 Installed: httpd-tools-2.2.15-47.el6_7.4.x86_64
Oct 19 12:34:38 Installed: libtool-ltdl-2.2.6-15.5.el6.x86_64
Oct 19 12:34:38 Installed: unixODBC-2.2.14-14.el6.x86_64
Oct 19 12:34:39 Installed: postgresql-libs-8.4.20-5.el6_7.x86_64
Oct 19 12:34:39 Installed: mailcap-2.1.31-2.el6.noarch
Oct 19 12:34:40 Installed: httpd-2.2.15-47.el6_7.4.x86_64
Oct 19 12:34:40 Installed: php-5.3.3-46.el6_7.1.x86_64
Oct 19 12:34:41 Installed: php-pgsql-5.3.3-46.el6_7.1.x86_64
Oct 19 12:34:41 Installed: php-odbc-5.3.3-46.el6_7.1.x86_64
Oct 19 12:34:41 Installed: php-mysql-5.3.3-46.el6_7.1.x86_64
Oct 19 12:34:41 Installed: php-pecl-memcache-3.0.5-4.el6.x86_64
Oct 19 12:34:42 Installed: php-soap-5.3.3-46.el6_7.1.x86_64
Oct 19 12:34:42 Installed: php-gd-5.3.3-46.el6_7.1.x86_64
Oct 19 12:34:42 Installed: php-pecl-apc-3.1.9-2.el6.x86_64
Oct 19 12:34:43 Installed: php-xml-5.3.3-46.el6_7.1.x86_64
Oct 19 12:34:43 Installed: php-xmlrpc-5.3.3-46.el6_7.1.x86_64
Oct 19 12:34:43 Installed: php-ldap-5.3.3-46.el6_7.1.x86_64
Oct 19 13:09:37 Erased: yum-utils
Oct 19 13:10:40 Installed: yum-utils-1.1.30-30.el6.noarch
[ nagiosxi]# uname -a
Linux ma100mlpmon017 2.6.32-573.34.1.el6.x86_64 #1 SMP Fri Aug 12 14:06:58 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux
[ nagiosxi]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.7 (Santiago)