Page 1 of 2

Upgrade to XI 5.2.0 - Worked but issue

Posted: Wed Oct 21, 2015 1:27 pm
by BanditBBS
Ok, upgraded 2014R2.6 PROD server to XI 5.2.0 today, woot! Everything seems to be workign fine, but this is at the tail of my log....

Code: Select all

Running pre-flight check on configuration data...

Checking objects...
        Checked 16968 services.
        Checked 1113 hosts.
        Checked 292 host groups.
        Checked 470 service groups.
        Checked 275 contacts.
        Checked 63 contact groups.
        Checked 317 commands.
        Checked 316 time periods.
        Checked 254 host escalations.
        Checked 4042 service escalations.
Checking for circular paths...
        Checked 1113 hosts
        Checked 138 service dependencies
        Checked 0 host dependencies
        Checked 316 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 0
Total Errors:   0

Things look okay - No serious problems were detected during the pre-flight check
RET: 0
Running configuration check...
Stopping nagios:. done.
Starting nagios: done.
Fixing php-mcrypt bug...
Starting httpd:
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
Resolving Dependencies
--> Running transaction check
---> Package php-ldap.x86_64 0:5.3.3-40.el6_6 will be updated
---> Package php-ldap.x86_64 0:5.3.3-46.el6_6 will be an update
--> Processing Dependency: php-common(x86-64) = 5.3.3-46.el6_6 for package: php-ldap-5.3.3-46.el6_6.x86_64
--> Running transaction check
---> Package php-common.x86_64 0:5.3.3-40.el6_6 will be updated
--> Processing Dependency: php-common(x86-64) = 5.3.3-40.el6_6 for package: php-mysql-5.3.3-40.el6_6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-40.el6_6 for package: php-5.3.3-40.el6_6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-40.el6_6 for package: php-gd-5.3.3-40.el6_6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-40.el6_6 for package: php-xml-5.3.3-40.el6_6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-40.el6_6 for package: php-snmp-5.3.3-40.el6_6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-40.el6_6 for package: php-pgsql-5.3.3-40.el6_6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-40.el6_6 for package: php-mbstring-5.3.3-40.el6_6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-40.el6_6 for package: php-pdo-5.3.3-40.el6_6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-40.el6_6 for package: php-cli-5.3.3-40.el6_6.x86_64
---> Package php-common.x86_64 0:5.3.3-46.el6_6 will be an update
--> Running transaction check
---> Package php.x86_64 0:5.3.3-40.el6_6 will be updated
---> Package php.x86_64 0:5.3.3-46.el6_6 will be an update
---> Package php-cli.x86_64 0:5.3.3-40.el6_6 will be updated
---> Package php-cli.x86_64 0:5.3.3-46.el6_6 will be an update
---> Package php-common.x86_64 0:5.3.3-40.el6_6 will be updated
--> Processing Dependency: php-common(x86-64) = 5.3.3-40.el6_6 for package: php-snmp-5.3.3-40.el6_6.x86_64
--> Processing Dependency: php-common(x86-64) = 5.3.3-40.el6_6 for package: php-mbstring-5.3.3-40.el6_6.x86_64
---> Package php-gd.x86_64 0:5.3.3-40.el6_6 will be updated
---> Package php-gd.x86_64 0:5.3.3-46.el6_6 will be an update
---> Package php-mysql.x86_64 0:5.3.3-40.el6_6 will be updated
---> Package php-mysql.x86_64 0:5.3.3-46.el6_6 will be an update
---> Package php-pdo.x86_64 0:5.3.3-40.el6_6 will be updated
---> Package php-pdo.x86_64 0:5.3.3-46.el6_6 will be an update
---> Package php-pgsql.x86_64 0:5.3.3-40.el6_6 will be updated
---> Package php-pgsql.x86_64 0:5.3.3-46.el6_6 will be an update
---> Package php-xml.x86_64 0:5.3.3-40.el6_6 will be updated
---> Package php-xml.x86_64 0:5.3.3-46.el6_6 will be an update
--> Finished Dependency Resolution
Error: Package: php-mbstring-5.3.3-40.el6_6.x86_64 (@rhel-x86_64-server-optional-6)
           Requires: php-common(x86-64) = 5.3.3-40.el6_6
           Removing: php-common-5.3.3-40.el6_6.x86_64 (@rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.3-40.el6_6
           Updated By: php-common-5.3.3-46.el6_6.x86_64 (rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.3-46.el6_6
           Available: php-common-5.3.2-6.el6.x86_64 (rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.2-6.el6
           Available: php-common-5.3.2-6.el6_0.1.x86_64 (rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.2-6.el6_0.1
           Available: php-common-5.3.3-3.el6.x86_64 (rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.3-3.el6
           Available: php-common-5.3.3-3.el6_1.3.x86_64 (rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.3-3.el6_1.3
           Available: php-common-5.3.3-3.el6_2.5.x86_64 (rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.3-3.el6_2.5
           Available: php-common-5.3.3-3.el6_2.6.x86_64 (rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.3-3.el6_2.6
           Available: php-common-5.3.3-3.el6_2.8.x86_64 (rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.3-3.el6_2.8
           Available: php-common-5.3.3-14.el6_3.x86_64 (rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.3-14.el6_3
           Available: php-common-5.3.3-22.el6.x86_64 (rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.3-22.el6
           Available: php-common-5.3.3-23.el6_4.x86_64 (rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.3-23.el6_4
           Available: php-common-5.3.3-26.el6.x86_64 (rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.3-26.el6
           Available: php-common-5.3.3-27.el6_5.x86_64 (rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.3-27.el6_5
           Available: php-common-5.3.3-27.el6_5.1.x86_64 (rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.3-27.el6_5.1
           Available: php-common-5.3.3-27.el6_5.2.x86_64 (rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.3-27.el6_5.2
           Available: php-common-5.3.3-38.el6.x86_64 (rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.3-38.el6
Error: Package: php-snmp-5.3.3-40.el6_6.x86_64 (@rhel-x86_64-server-optional-6)
           Requires: php-common(x86-64) = 5.3.3-40.el6_6
           Removing: php-common-5.3.3-40.el6_6.x86_64 (@rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.3-40.el6_6
           Updated By: php-common-5.3.3-46.el6_6.x86_64 (rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.3-46.el6_6
           Available: php-common-5.3.2-6.el6.x86_64 (rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.2-6.el6
           Available: php-common-5.3.2-6.el6_0.1.x86_64 (rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.2-6.el6_0.1
           Available: php-common-5.3.3-3.el6.x86_64 (rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.3-3.el6
           Available: php-common-5.3.3-3.el6_1.3.x86_64 (rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.3-3.el6_1.3
           Available: php-common-5.3.3-3.el6_2.5.x86_64 (rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.3-3.el6_2.5
           Available: php-common-5.3.3-3.el6_2.6.x86_64 (rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.3-3.el6_2.6
           Available: php-common-5.3.3-3.el6_2.8.x86_64 (rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.3-3.el6_2.8
           Available: php-common-5.3.3-14.el6_3.x86_64 (rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.3-14.el6_3
           Available: php-common-5.3.3-22.el6.x86_64 (rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.3-22.el6
           Available: php-common-5.3.3-23.el6_4.x86_64 (rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.3-23.el6_4
           Available: php-common-5.3.3-26.el6.x86_64 (rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.3-26.el6
           Available: php-common-5.3.3-27.el6_5.x86_64 (rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.3-27.el6_5
           Available: php-common-5.3.3-27.el6_5.1.x86_64 (rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.3-27.el6_5.1
           Available: php-common-5.3.3-27.el6_5.2.x86_64 (rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.3-27.el6_5.2
           Available: php-common-5.3.3-38.el6.x86_64 (rhel-x86_64-server-6)
               php-common(x86-64) = 5.3.3-38.el6
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
Configuring Auto-discovery component permissions...
Reloading httpd:
Install complete.
NRDS already installed
==================
UPGRADE COMPLETED!
==================

Re: Upgrade to XI 5.2.0 - Worked but issue

Posted: Wed Oct 21, 2015 3:37 pm
by lmiltchev
Is the optional channel added/enabled? You can try:

Code: Select all

yum --enablerepo=rhel-6-server-optional-rpms update
Can you show the output of the following command?

Code: Select all

yum repolist -v

Re: Upgrade to XI 5.2.0 - Worked but issue

Posted: Wed Oct 21, 2015 3:40 pm
by BanditBBS

Code: Select all

[root@iss-chi-nag05 ~]# 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.369
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'
Yum Version: 3.2.29
rhel-x86_64-server-6                                                                                                                 | 1.8 kB     00:00
rhel-x86_64-server-6/primary                                                                                                         |  21 MB     00:02
rhel-x86_64-server-6                                                                                                                            16162/16162
Setting up Package Sacks
pkgsack time: 0.047
Repo-id      : epel
Repo-name    : Extra Packages for Enterprise Linux 6 - x86_64
Repo-revision: 1445317090
Repo-tags    : binary-x86_64
Repo-updated : Mon Oct 19 23:59:54 2015
Repo-pkgs    : 11,808
Repo-size    : 10 G
Repo-metalink: https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=x86_64
  Updated    : Mon Oct 19 23:59:54 2015
Repo-baseurl : http://mirror.pnl.gov/epel/6/x86_64/ (33 more)
Repo-expire  : 21,600 second(s) (last: Wed Oct 21 09:46:48 2015)

Repo-id      : nagios-base
Repo-name    : Nagios
Repo-revision: 1444772471
Repo-updated : Tue Oct 13 16:42:59 2015
Repo-pkgs    : 151
Repo-size    : 1.1 G
Repo-baseurl : http://repo.nagios.com/nagios/6/
Repo-expire  : 21,600 second(s) (last: Wed Oct 21 09:46:49 2015)

Repo-id      : nagiosxi-deps
Repo-name    : Nagios XI Dependencies
Repo-revision: 1444743584
Repo-updated : Tue Oct 13 08:39:45 2015
Repo-pkgs    : 33
Repo-size    : 13 M
Repo-baseurl : http://repo.nagios.com/nagiosxi-deps/6/
Repo-expire  : 21,600 second(s) (last: Wed Oct 21 09:46:49 2015)

Repo-id      : rhel-x86_64-server-6
Repo-name    : Red Hat Enterprise Linux Server (v. 6 for 64-bit x86_64)
Repo-updated : Wed Oct 21 14:01:58 2015
Repo-pkgs    : 16,162
Repo-size    : 28 G
Repo-baseurl : https://xmlrpc.rhn.redhat.com/XMLRPC/GET-REQ/rhel-x86_64-server-6
Repo-expire  : 21,600 second(s) (last: Wed Oct 21 15:38:37 2015)

Repo-id      : rpmforge
Repo-name    : RHEL 6Server - RPMforge.net - dag
Repo-updated : Thu Jul 10 20: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: Wed Oct 21 09:46:50 2015)

repolist: 32,872
And

Code: Select all

[root@iss-chi-nag05 ~]# yum --enablerepo=rhel-6-server-optional-rpms update
Loaded plugins: product-id, refresh-packagekit, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.


Error getting repository data for rhel-6-server-optional-rpms, repository not found

Re: Upgrade to XI 5.2.0 - Worked but issue

Posted: Wed Oct 21, 2015 5:09 pm
by scottwilkerson
wait a second, the error conflicting versions of php-common

Can you just run

Code: Select all

yum update php-snmp

Re: Upgrade to XI 5.2.0 - Worked but issue

Posted: Wed Oct 21, 2015 5:56 pm
by BanditBBS
scottwilkerson wrote:wait a second, the error conflicting versions of php-common

Can you just run

Code: Select all

yum update php-snmp
results(tried update and reinstall):

Code: Select all

[root@iss-chi-nag05 ~]# yum update php-snmp
Loaded plugins: product-id, refresh-packagekit, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Update Process
No Packages marked for Update

[root@iss-chi-nag05 ~]# yum reinstall php-snmp
Loaded plugins: product-id, refresh-packagekit, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Reinstall Process
Installed package php-snmp-5.3.3-40.el6_6.x86_64 (from rhel-x86_64-server-optional-6) not available.
Error: Nothing to do
So, sort of looks like Ludmil might be on the proper track with me needing a repo, right?

Re: Upgrade to XI 5.2.0 - Worked but issue

Posted: Wed Oct 21, 2015 6:44 pm
by rajasegar
BanditBBS wrote:
scottwilkerson wrote:wait a second, the error conflicting versions of php-common

Can you just run

Code: Select all

yum update php-snmp
results(tried update and reinstall):

Code: Select all

[root@iss-chi-nag05 ~]# yum update php-snmp
Loaded plugins: product-id, refresh-packagekit, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Update Process
No Packages marked for Update

[root@iss-chi-nag05 ~]# yum reinstall php-snmp
Loaded plugins: product-id, refresh-packagekit, rhnplugin, security, subscription-manager
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Reinstall Process
Installed package php-snmp-5.3.3-40.el6_6.x86_64 (from rhel-x86_64-server-optional-6) not available.
Error: Nothing to do
So, sort of looks like Ludmil might be on the proper track with me needing a repo, right?

Try this if you are using the new subscription method or add it manually via the Red Hat classic site.

sudo subscription-manager repos --enable=rhel-6-server-optional-rpms
sudo subscription-manager repos --enable=rhel-6-server-optional-debug-rpms
sudo subscription-manager repos --enable=rhel-6-server-supplementary-rpms
sudo subscription-manager repos --enable=rhel-6-server-supplementary-debuginfo

Re: Upgrade to XI 5.2.0 - Worked but issue

Posted: Wed Oct 21, 2015 6:48 pm
by BanditBBS
Yeah, I get not a valid repo ID, so I think I need to have one of the sysadmins add it through the classic site.

Re: Upgrade to XI 5.2.0 - Worked but issue

Posted: Wed Oct 21, 2015 7:12 pm
by BanditBBS
HA! I have access to do that...so guess who is OK now :)

What was it trying to update at the end of the install that didn't work?

Re: Upgrade to XI 5.2.0 - Worked but issue

Posted: Thu Oct 22, 2015 10:22 am
by jomann
You would need to do a

Code: Select all

yum update php-mbstring php-snmp
since those ones did not update

Re: Upgrade to XI 5.2.0 - Worked but issue

Posted: Thu Oct 22, 2015 10:31 am
by BanditBBS
jomann wrote:You would need to do a

Code: Select all

yum update php-mbstring php-snmp
since those ones did not update
Thanks man, I did those last night. This can be closed...thanks!!!