upgrade from 5.2.9 to 5.3.0 error "php-pecl-ssh2"

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
valmberg
Posts: 49
Joined: Fri May 16, 2014 9:43 pm

upgrade from 5.2.9 to 5.3.0 error "php-pecl-ssh2"

Post by valmberg »

Trying to upgrade NagiosXI from 5.2.9 to 5.3.0 (running vmware version with CentOS 7). I tried upgrading from the web, but now it tells me to upgrade manually.

When I run the upgrade per the instructions on the web, I keep getting the following error:

Code: Select all

Error: Package: php-pecl-ssh2-0.11.0-7.el6.x86_64 (@epel)
           Requires: php(api) = 20090626
           Removing: php-common-5.3.3-47.el6.x86_64 (@base)
               php(api) = 20090626
           Updated By: php-common-5.4.45-56.el6.art.x86_64 (atomic)
               php(api) = 20100412-x86-64
           Available: atomic-php55-php-common-5.5.30-30.el6.art.x86_64 (atomic)
               php(api) = 20121113-64
           Available: atomic-php55-php-common-5.5.31-31.el6.art.x86_64 (atomic)
               php(api) = 20121113-64
           Available: atomic-php55-php-common-5.5.32-32.el6.art.x86_64 (atomic)
               php(api) = 20121113-64
           Available: atomic-php55-php-common-5.5.33-33.el6.art.x86_64 (atomic)
               php(api) = 20121113-64
           Available: atomic-php55-php-common-5.5.34-34.el6.art.x86_64 (atomic)
               php(api) = 20121113-64
           Available: atomic-php55-php-common-5.5.35-35.el6.art.x86_64 (atomic)
               php(api) = 20121113-64
           Available: atomic-php55-php-common-5.5.36-36.el6.art.x86_64 (atomic)
               php(api) = 20121113-64
           Available: atomic-php55-php-common-5.5.37-37.el6.art.x86_64 (atomic)
               php(api) = 20121113-64
           Available: atomic-php55-php-common-5.5.38-38.el6.art.x86_64 (atomic)
               php(api) = 20121113-64
           Available: atomic-php56-php-common-5.6.11-26.el6.art.x86_64 (atomic)
               php(api) = 20131106-64
           Available: atomic-php56-php-common-5.6.12-28.el6.art.x86_64 (atomic)
               php(api) = 20131106-64
           Available: atomic-php56-php-common-5.6.13-27.el6.art.x86_64 (atomic)
               php(api) = 20131106-64
           Available: atomic-php56-php-common-5.6.14-29.el6.art.x86_64 (atomic)
               php(api) = 20131106-64
           Available: atomic-php56-php-common-5.6.15-30.el6.art.x86_64 (atomic)
               php(api) = 20131106-64
           Available: atomic-php56-php-common-5.6.16-31.el6.art.x86_64 (atomic)
               php(api) = 20131106-64
           Available: atomic-php56-php-common-5.6.17-32.el6.art.x86_64 (atomic)
               php(api) = 20131106-64
           Available: atomic-php56-php-common-5.6.18-33.el6.art.x86_64 (atomic)
               php(api) = 20131106-64
           Available: atomic-php56-php-common-5.6.19-34.el6.art.x86_64 (atomic)
               php(api) = 20131106-64
           Available: atomic-php56-php-common-5.6.20-35.el6.art.x86_64 (atomic)
               php(api) = 20131106-64
           Available: atomic-php56-php-common-5.6.21-36.el6.art.x86_64 (atomic)
               php(api) = 20131106-64
           Available: atomic-php56-php-common-5.6.22-37.el6.art.x86_64 (atomic)
               php(api) = 20131106-64
           Available: atomic-php56-php-common-5.6.23-38.el6.art.x86_64 (atomic)
               php(api) = 20131106-64
           Available: atomic-php56-php-common-5.6.25-39.el6.art.x86_64 (atomic)
               php(api) = 20131106-64
           Available: atomic-php56-php-common-5.6.26-40.el6.art.x86_64 (atomic)
               php(api) = 20131106-64
           Available: php-common-5.3.3-48.el6_8.x86_64 (updates)
               php(api) = 20090626
           Available: php-common-5.4.42-48.el6.art.i686 (atomic)
               php(api) = 20100412-x86-32
           Available: php-common-5.4.43-49.el6.art.i686 (atomic)
               php(api) = 20100412-x86-32
           Available: php-common-5.4.44-50.el6.art.i686 (atomic)
               php(api) = 20100412-x86-32
           Available: php-common-5.4.45-51.el6.art.i686 (atomic)
               php(api) = 20100412-x86-32
           Available: php-common-5.4.45-52.el6.art.i686 (atomic)
               php(api) = 20100412-x86-32
           Available: php-common-5.4.45-53.el6.art.i686 (atomic)
               php(api) = 20100412-x86-32
           Available: php-common-5.4.45-54.el6.art.i686 (atomic)
               php(api) = 20100412-x86-32
Error: Package: php-pecl-ssh2-0.11.0-7.el6.x86_64 (@epel)
           Requires: php(zend-abi) = 20090626
           Removing: php-common-5.3.3-47.el6.x86_64 (@base)
               php(zend-abi) = 20090626
           Updated By: php-common-5.4.45-56.el6.art.x86_64 (atomic)
               php(zend-abi) = 20100525-x86-64
           Available: atomic-php55-php-common-5.5.30-30.el6.art.x86_64 (atomic)
               php(zend-abi) = 20121212-64
           Available: atomic-php55-php-common-5.5.31-31.el6.art.x86_64 (atomic)
               php(zend-abi) = 20121212-64
           Available: atomic-php55-php-common-5.5.32-32.el6.art.x86_64 (atomic)
               php(zend-abi) = 20121212-64
           Available: atomic-php55-php-common-5.5.33-33.el6.art.x86_64 (atomic)
               php(zend-abi) = 20121212-64
           Available: atomic-php55-php-common-5.5.34-34.el6.art.x86_64 (atomic)
               php(zend-abi) = 20121212-64
           Available: atomic-php55-php-common-5.5.35-35.el6.art.x86_64 (atomic)
               php(zend-abi) = 20121212-64
           Available: atomic-php55-php-common-5.5.36-36.el6.art.x86_64 (atomic)
               php(zend-abi) = 20121212-64
           Available: atomic-php55-php-common-5.5.37-37.el6.art.x86_64 (atomic)
               php(zend-abi) = 20121212-64
           Available: atomic-php55-php-common-5.5.38-38.el6.art.x86_64 (atomic)
               php(zend-abi) = 20121212-64
           Available: atomic-php56-php-common-5.6.11-26.el6.art.x86_64 (atomic)
               php(zend-abi) = 20131226-64
           Available: atomic-php56-php-common-5.6.12-28.el6.art.x86_64 (atomic)
               php(zend-abi) = 20131226-64
           Available: atomic-php56-php-common-5.6.13-27.el6.art.x86_64 (atomic)
               php(zend-abi) = 20131226-64
           Available: atomic-php56-php-common-5.6.14-29.el6.art.x86_64 (atomic)
               php(zend-abi) = 20131226-64
           Available: atomic-php56-php-common-5.6.15-30.el6.art.x86_64 (atomic)
               php(zend-abi) = 20131226-64
           Available: atomic-php56-php-common-5.6.16-31.el6.art.x86_64 (atomic)
               php(zend-abi) = 20131226-64
           Available: atomic-php56-php-common-5.6.17-32.el6.art.x86_64 (atomic)
               php(zend-abi) = 20131226-64
           Available: atomic-php56-php-common-5.6.18-33.el6.art.x86_64 (atomic)
               php(zend-abi) = 20131226-64
           Available: atomic-php56-php-common-5.6.19-34.el6.art.x86_64 (atomic)
               php(zend-abi) = 20131226-64
           Available: atomic-php56-php-common-5.6.20-35.el6.art.x86_64 (atomic)
               php(zend-abi) = 20131226-64
           Available: atomic-php56-php-common-5.6.21-36.el6.art.x86_64 (atomic)
               php(zend-abi) = 20131226-64
           Available: atomic-php56-php-common-5.6.22-37.el6.art.x86_64 (atomic)
               php(zend-abi) = 20131226-64
           Available: atomic-php56-php-common-5.6.23-38.el6.art.x86_64 (atomic)
               php(zend-abi) = 20131226-64
           Available: atomic-php56-php-common-5.6.25-39.el6.art.x86_64 (atomic)
               php(zend-abi) = 20131226-64
           Available: atomic-php56-php-common-5.6.26-40.el6.art.x86_64 (atomic)
               php(zend-abi) = 20131226-64
           Available: php-common-5.3.3-48.el6_8.x86_64 (updates)
               php(zend-abi) = 20090626
           Available: php-common-5.4.42-48.el6.art.i686 (atomic)
               php(zend-abi) = 20100525-x86-32
           Available: php-common-5.4.43-49.el6.art.i686 (atomic)
               php(zend-abi) = 20100525-x86-32
           Available: php-common-5.4.44-50.el6.art.i686 (atomic)
               php(zend-abi) = 20100525-x86-32
           Available: php-common-5.4.45-51.el6.art.i686 (atomic)
               php(zend-abi) = 20100525-x86-32
           Available: php-common-5.4.45-52.el6.art.i686 (atomic)
               php(zend-abi) = 20100525-x86-32
           Available: php-common-5.4.45-53.el6.art.i686 (atomic)
               php(zend-abi) = 20100525-x86-32
           Available: php-common-5.4.45-54.el6.art.i686 (atomic)
               php(zend-abi) = 20100525-x86-32
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
Last edited by dwhitfield on Thu Oct 06, 2016 12:39 pm, edited 1 time in total.
Reason: adding code blocks
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: upgrade from 5.2.9 to 5.3.0 error "php-pecl-ssh2"

Post by dwhitfield »

Can you post the output of cat /etc/centos-release and yum repolist -v? Thanks!
valmberg
Posts: 49
Joined: Fri May 16, 2014 9:43 pm

Re: upgrade from 5.2.9 to 5.3.0 error "php-pecl-ssh2"

Post by valmberg »

Code: Select all

# cat /etc/centos-release
CentOS release 6.5 (Final)

Code: Select all

# yum repolist -v
[root@nagios nagiosxi]# yum repolist -v
Loading "fastestmirror" plugin
Config time: 0.007
Yum Version: 3.2.29
Loading mirror speeds from cached hostfile
CentOS release 6.5 (Final)
 * atomic: mirrors.vbi.vt.edu
 * base: mirror.vtti.vt.edu
 * epel: mirrors.xmission.com
 * extras: repos.forethought.net
 * updates: mirror.vtti.vt.edu
Setting up Package Sacks
pkgsack time: 0.531
Repo-id      : atomic
Repo-name    : CentOS / Red Hat Enterprise Linux 6 - atomicrocketturtle.com
Repo-revision: 1475601293
Repo-updated : Tue Oct  4 10:18:08 2016
Repo-pkgs    : 2,849
Repo-size    : 3.5 G
Repo-mirrors : http:://updates.atomicorp.com/channels/mirrorlist/atomic/centos-6-x86_64
Repo-baseurl : http:://mirrors.vbi.vt.edu/linux/atomic/atomic/centos/6/x86_64/ (11 more)
Repo-expire  : 21,600 second(s) (last: Thu Oct  6 09:32:29 2016)

Repo-id      : base
Repo-name    : CentOS-6 - Base
Repo-revision: 1463896289
Repo-updated : Sat May 21 22:52:33 2016
Repo-pkgs    : 6,696
Repo-size    : 5.5 G
Repo-mirrors : http:://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os
Repo-baseurl : http:://mirror.vtti.vt.edu/centos/6.8/os/x86_64/ (9 more)
Repo-expire  : 21,600 second(s) (last: Thu Oct  6 09:32:30 2016)

Repo-id      : cr
Repo-name    : CentOS-6 - CR
Repo-revision: 1464115680
Repo-updated : Tue May 24 11:48:00 2016
Repo-pkgs    : 0
Repo-size    : 0
Repo-baseurl : http://mirror.centos.org/centos/6/cr/x86_64/
Repo-expire  : 21,600 second(s) (last: Thu Oct  6 09:32:34 2016)

Repo-id      : epel
Repo-name    : Extra Packages for Enterprise Linux 6 - x86_64
Repo-revision: 1475720186
Repo-tags    : binary-x86_64
Repo-updated : Wed Oct  5 19:36:16 2016
Repo-pkgs    : 12,243
Repo-size    : 11 G
Repo-metalink: https:://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=x86_64
  Updated    : Wed Oct  5 19:36:16 2016
Repo-baseurl : https:://mirrors.xmission.com/fedora-epel/6/x86_64/ (33 more)
Repo-expire  : 21,600 second(s) (last: Thu Oct  6 09:32:34 2016)

Repo-id      : extras
Repo-name    : CentOS-6 - Extras
Repo-revision: 1467739109
Repo-updated : Tue Jul  5 10:18:31 2016
Repo-pkgs    : 62
Repo-size    : 18 M
Repo-mirrors : http:://mirrorlist.centos.org/?release=6&arch=x86_64&repo=extras
Repo-baseurl : http:://repos.forethought.net/centos/6.8/extras/x86_64/ (9 more)
Repo-expire  : 21,600 second(s) (last: Thu Oct  6 09:32:40 2016)

Repo-id      : nagios-base
Repo-name    : Nagios
Repo-revision: 1466624909
Repo-updated : Wed Jun 22 12:48:36 2016
Repo-pkgs    : 76
Repo-size    : 557 M
Repo-baseurl : http://repo.nagios.com/nagios/6/
Repo-expire  : 21,600 second(s) (last: Thu Oct  6 09:32:41 2016)

Repo-id      : nagiosxi-deps
Repo-name    : Nagios XI Dependencies
Repo-revision: 1473787461
Repo-updated : Tue Sep 13 10:24:22 2016
Repo-pkgs    : 31
Repo-size    : 13 M
Repo-baseurl : http://repo.nagios.com/nagiosxi-deps/6/
Repo-expire  : 21,600 second(s) (last: Thu Oct  6 09:32:41 2016)

Repo-id      : updates
Repo-name    : CentOS-6 - Updates
Repo-revision: 1475676549
Repo-updated : Wed Oct  5 07:13:26 2016
Repo-pkgs    : 531
Repo-size    : 2.9 G
Repo-mirrors : http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=updates
Repo-baseurl : http://mirror.vtti.vt.edu/centos/6.8/updates/x86_64/ (9 more)
Repo-expire  : 21,600 second(s) (last: Thu Oct  6 09:32:41 2016)
Last edited by dwhitfield on Thu Oct 06, 2016 12:38 pm, edited 1 time in total.
Reason: adding code blocks
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: upgrade from 5.2.9 to 5.3.0 error "php-pecl-ssh2"

Post by lmiltchev »

This doesn't look like a "clean" minimal install. It's possible that the "atomic" repo is causing the issue - you may need to deactivate it.

What is the output of the following command?

Code: Select all

yum provides php-pecl-ssh2
Be sure to check out our Knowledgebase for helpful articles and solutions!
valmberg
Posts: 49
Joined: Fri May 16, 2014 9:43 pm

Re: upgrade from 5.2.9 to 5.3.0 error "php-pecl-ssh2"

Post by valmberg »

# yum provides php-pecl-ssh2
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* atomic: www6.atomicorp.com
* base: mirrors.usinternet.com
* epel: mirror.unl.edu
* extras: mirror.lug.udel.edu
* updates: mirrors.usinternet.com
php-pecl-ssh2-0.11.0-7.el6.i686 : Bindings for the libssh2 library
Repo : nagiosxi-deps
Matched from:

php-pecl-ssh2-0.11.0-7.el6.x86_64 : Bindings for the libssh2 library
Repo : nagiosxi-deps
Matched from:

php-pecl-ssh2-0.11.0-7.el6.x86_64 : Bindings for the libssh2 library
Repo : epel
Matched from:

php-pecl-ssh2-0.11.0-7.el6.x86_64 : Bindings for the libssh2 library
Repo : installed
Matched from:
Other : Provides-match: php-pecl-ssh2
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: upgrade from 5.2.9 to 5.3.0 error "php-pecl-ssh2"

Post by ssax »

Please try disabling the atomic repo like lmiltchev recommended and try again.

Also, please send the output of this command:

Code: Select all

rpm -qa | grep php
Include your upgrade.log file as well so that we can look at all the things that occurred.


Thank you
valmberg
Posts: 49
Joined: Fri May 16, 2014 9:43 pm

Re: upgrade from 5.2.9 to 5.3.0 error "php-pecl-ssh2"

Post by valmberg »

disabled atomic repo. Got the install to run much farther. Now it says "Upgrade Complete". Looks like that did the trick. Thanks.

Here's the command you requested:
# rpm -qa | grep php
php-common-5.3.3-48.el6_8.x86_64
php-pgsql-5.3.3-48.el6_8.x86_64
php-mbstring-5.3.3-48.el6_8.x86_64
php-pdo-5.3.3-48.el6_8.x86_64
php-5.3.3-48.el6_8.x86_64
php-mysql-5.3.3-48.el6_8.x86_64
php-snmp-5.3.3-48.el6_8.x86_64
php-ldap-5.3.3-48.el6_8.x86_64
php-pear-1.9.4-4.el6.noarch
php-pear-HTML-Template-IT-1.3.0-2.el5.noarch
php-mcrypt-5.3.3-3.el6.x86_64
php-mssql-5.3.3-3.el6.x86_64
php-cli-5.3.3-48.el6_8.x86_64
php-gd-5.3.3-48.el6_8.x86_64
php-xml-5.3.3-48.el6_8.x86_64
php-pecl-ssh2-0.11.0-7.el6.x86_64
You do not have the required permissions to view the files attached to this post.
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: upgrade from 5.2.9 to 5.3.0 error "php-pecl-ssh2"

Post by avandemore »

Sounds like your issue is resolved. Is it okay to lock this thread?
Previous Nagios employee
valmberg
Posts: 49
Joined: Fri May 16, 2014 9:43 pm

Re: upgrade from 5.2.9 to 5.3.0 error "php-pecl-ssh2"

Post by valmberg »

yes
Locked