INSTALLATION ERROR

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
1faizankhan
Posts: 22
Joined: Tue Jun 23, 2015 1:57 pm

Re: INSTALLATION ERROR

Post by 1faizankhan »

[root@RHELPOC63 nagiosxi]# yum install php-mssql php-pecl-ssh -y
Loaded plugins: product-id, refresh-packagekit, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Install Process
No package php-mssql available.
No package php-pecl-ssh available.
Error: Nothing to do
Faizan Khan
Unix Administrator | Unix Team
HCL America | Gulfstream Aerospace Corporation
www. gulfstream.com
http://www.hcl.com
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: INSTALLATION ERROR

Post by lmiltchev »

I am sorry - I had a typo. You needed to run:

Code: Select all

yum install php-mssql php-pecl-ssh2 -y
Anyway, is the epel repo enabled on this box? Can you run the following commands and show us the output?

Code: Select all

yum provides php-mssql
yum provides php-pecl-ssh2
yum repolist -v
Be sure to check out our Knowledgebase for helpful articles and solutions!
1faizankhan
Posts: 22
Joined: Tue Jun 23, 2015 1:57 pm

Re: INSTALLATION ERROR

Post by 1faizankhan »

[root@RHELPOC63 ~]# yum provides php-mssql
Loaded plugins: product-id, refresh-packagekit, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Warning: 3.0.x versions of yum would erroneously match against filenames.
You can use "*/php-mssql" and/or "*bin/php-mssql" to get that behaviour
No Matches found
[root@RHELPOC63 ~]# yum provides php-pecl-ssh2
Loaded plugins: product-id, refresh-packagekit, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Warning: 3.0.x versions of yum would erroneously match against filenames.
You can use "*/php-pecl-ssh2" and/or "*bin/php-pecl-ssh2" to get that behaviour
No Matches found
[root@RHELPOC63 ~]# yum repolist -v
Loading "rhnplugin" plugin
Loading "product-id" plugin
Loading "refresh-packagekit" plugin
Loading "security" plugin
Loading "subscription-manager" plugin
Updating Subscription Management repositories.
Unable to read consumer identity
Config time: 0.497
This system is receiving updates from RHN Classic or RHN Satellite.
Looking for repo options for [main]
Looking for repo options for [rhel-x86_64-server-6]
Repo 'rhel-x86_64-server-6' setting option 'enabled' = '1'
Repo 'rhel-x86_64-server-6' setting option 'gpgcheck' = '1'
Looking for repo options for [rhn-tools-rhel-x86_64-server-6]
Repo 'rhn-tools-rhel-x86_64-server-6' setting option 'enabled' = '1'
Repo 'rhn-tools-rhel-x86_64-server-6' setting option 'gpgcheck' = '1'
Looking for repo options for [rhel-x86_64-server-optional-6]
Repo 'rhel-x86_64-server-optional-6' setting option 'enabled' = '1'
Repo 'rhel-x86_64-server-optional-6' setting option 'gpgcheck' = '1'
Yum Version: 3.2.29
Setting up Package Sacks
pkgsack time: 0.081
Repo-id : rhel-x86_64-server-6
Repo-name : Red Hat Enterprise Linux Server (v. 6 for 64-bit x86_64)
Repo-updated : Tue Jun 30 11:10:23 2015
Repo-pkgs : 14,978
Repo-size : 25 G
Repo-baseurl : http://infrhnpl001.gac.gulfaero.com/XML ... 4-server-6
Repo-expire : 21,600 second(s) (last: Thu Jul 2 12:40:11 2015)

Repo-id : rhel-x86_64-server-optional-6
Repo-name : RHEL Server Optional (v. 6 64-bit x86_64)
Repo-updated : Thu Jun 25 11:05:49 2015
Repo-pkgs : 8,344
Repo-size : 13 G
Repo-baseurl : http://infrhnpl001.gac.gulfaero.com/XML ... optional-6
Repo-expire : 21,600 second(s) (last: Thu Jul 2 10:38:32 2015)

Repo-id : rhn-tools-rhel-x86_64-server-6
Repo-name : RHN Tools for RHEL (v. 6 for 64-bit x86_64)
Repo-updated : Wed Jun 17 11:06:04 2015
Repo-pkgs : 183
Repo-size : 41 M
Repo-baseurl : http://infrhnpl001.gac.gulfaero.com/XML ... 4-server-6
Repo-expire : 21,600 second(s) (last: Thu Jul 2 12:40:12 2015)

Repo-id : rpmforge
Repo-name : RHEL 6Server - RPMforge.net - dag
Repo-updated : Thu Jul 10 21:46:59 2014
Repo-pkgs : 4,718
Repo-size : 2.2 G
Repo-baseurl : http://apt.sw.be/redhat/el6/en/x86_64/rpmforge
Repo-mirrors : http://mirrorlist.repoforge.org/el6/mirrors-rpmforge
Repo-expire : 21,600 second(s) (last: Thu Jul 2 12:21:01 2015)

repolist: 28,223
[root@RHELPOC63 ~]#
Faizan Khan
Unix Administrator | Unix Team
HCL America | Gulfstream Aerospace Corporation
www. gulfstream.com
http://www.hcl.com
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: INSTALLATION ERROR

Post by jdalrymple »

Your stuff that went bonkers earlier has you hosed in a different way now.

Try removing the file in your install directory named "installed.repos" and run fullinstall again.
1faizankhan
Posts: 22
Joined: Tue Jun 23, 2015 1:57 pm

Re: INSTALLATION ERROR

Post by 1faizankhan »

Same error:

---> 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: 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]#
Faizan Khan
Unix Administrator | Unix Team
HCL America | Gulfstream Aerospace Corporation
www. gulfstream.com
http://www.hcl.com
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: INSTALLATION ERROR

Post by jdalrymple »

post the contents of install.log - in code wraps please.

For some reason your system is choosing not to install our Nagios repos - which are required for an online installation.
1faizankhan
Posts: 22
Joined: Tue Jun 23, 2015 1:57 pm

Re: INSTALLATION ERROR

Post by 1faizankhan »

I installed rest of the 2 RPMs but still getting error:
php-mssql
php-pecl-ssh2

This time it is trying to install but failing on different error.

Code: Select all

It appears as though Ajaxterm is already configured, so we'll skip that step.
Subcomponent 'ajaxterm' installed OK
Installing wkhtmltopdf and wkhtmltoimage...
Error parsing proxy URL http://user-name:[email protected]:9090/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: Invalid host name.
ERROR: Subcomponent 'wkhtmlx' installation failed - exiting.
Subcomponents installation failed - exiting
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: './A-subcomponents'
[root@RHELPOC63 nagiosxi]#
Faizan Khan
Unix Administrator | Unix Team
HCL America | Gulfstream Aerospace Corporation
www. gulfstream.com
http://www.hcl.com
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: INSTALLATION ERROR

Post by lmiltchev »

This output look a bit weird:
Error parsing proxy URL http://user-name:[email protected] ... 168.0.0/16 # Hosts to exclude from proxying: Invalid host name.
Can you run the following commands and show the output?

Code: Select all

grep proxy /etc/wgetrc
grep proxy /etc/yum.conf
Be sure to check out our Knowledgebase for helpful articles and solutions!
1faizankhan
Posts: 22
Joined: Tue Jun 23, 2015 1:57 pm

Re: INSTALLATION ERROR

Post by 1faizankhan »

[root@RHELPOC63 nagiosxi]# grep proxy /etc/wgetrc
#https_proxy = http://proxy.yoyodyne.com:18023/
#http_proxy = http://proxy.yoyodyne.com:18023/
#ftp_proxy = http://proxy.yoyodyne.com:18023/
# If you do not want to use proxy at all, set this to off.
#use_proxy = on
http_proxy=http://fn661091:******@mwgprod.gac.gulf ... 168.0.0/16 # Hosts to exclude from proxying
[root@RHELPOC63 nagiosxi]# grep proxy /etc/yum.conf
proxy=http://mwgprod.gac.gulfaero.com:9090
proxy_username=fn661091
proxy_password=*********
[root@RHELPOC63 nagiosxi]#
Faizan Khan
Unix Administrator | Unix Team
HCL America | Gulfstream Aerospace Corporation
www. gulfstream.com
http://www.hcl.com
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: INSTALLATION ERROR

Post by lmiltchev »

This line in the "/etc/wgetrc" :
should be split into two lines.

Change it to:

Code: Select all

http_proxy=http://fn661091:******@mwgprod.gac.gulfaero.com:9090/
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
and try running the installer again.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked