Upgrade from 2014R2.7 to 5.4.13 unsuccessful

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
Dave Ryan
Posts: 25
Joined: Mon Mar 12, 2018 12:00 pm
Location: San Francisco, CA

Upgrade from 2014R2.7 to 5.4.13 unsuccessful

Post by Dave Ryan »

Hi,

I just attempted to upgrade my Nagios XI instance from 2014R2.7 to 5.4.13 from the nagiosxi/admin page and it did not complete successfully. It seems that the dependencies it attempts it download are not found on any of the mirror sites as they all error out with [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404". Does anyone know what might be going on here? Attached is the upgrade log.

Thanks,
Dave.
You do not have the required permissions to view the files attached to this post.
Dave Ryan.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Upgrade from 2014R2.7 to 5.4.13 unsuccessful

Post by scottwilkerson »

there are a couple possible problems, one would be you could be behind a proxy but this error is glaring at me about the machine not being updated

Code: Select all

Loaded plugins: aliases, changelog, downloadonly, product-id, rhnplugin,
              : security, subscription-manager, tmprepo, verify, versionlock
Updating certificate-based repositories.
Unable to read consumer identity
There was an error communicating with RHN.
RHN Satellite or RHN Classic support will be disabled.

Error Message:
    Service not enabled for system profile: "bktsfnoc01.dynarand.com"
Error Class Code: 31
Error Class Info: 
     This system does not have a valid entitlement for Red Hat Network.
     Please visit https://rhn.redhat.com/rhn/systems/SystemEntitlements.do
     or login at https://rhn.redhat.com, and from the "Your RHN" tab,
     select "Subscription Management" to enable RHN service for this system.
Explanation:
    Your organization does not have enough Management entitlements to register this
    system to Red Hat Network. Please notify your organization administrator of this error. 
    You should be able to register this system after your organization frees existing 
    or purchases additional entitlements. Additional entitlements may be purchased by your
    organization administrator by logging into Red Hat Network and visiting
    the 'Subscription Management' page in the 'Your RHN' section of RHN.
    
    A common cause of this error code is due to having mistakenly setup an
    Activation Key which is set as the universal default.  If an activation key is set
    on the account as a universal default, you can disable this key and retry to avoid
    requiring a Management entitlement.
Can you run the following from the command line without error?

Code: Select all

yum update epel-release -y
If so did it update a package?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
Dave Ryan
Posts: 25
Joined: Mon Mar 12, 2018 12:00 pm
Location: San Francisco, CA

Re: Upgrade from 2014R2.7 to 5.4.13 unsuccessful

Post by Dave Ryan »

Thanks for the reply! Yep, it seemed to do something. Log attached.
You do not have the required permissions to view the files attached to this post.
Dave Ryan.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Upgrade from 2014R2.7 to 5.4.13 unsuccessful

Post by scottwilkerson »

Not that this is updated, you may have a better list of mirrors to find the items it needs, so you can try the upgrade again

However you may need to resolve that issue with Redhat if a package is needed from the base repo.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
Dave Ryan
Posts: 25
Joined: Mon Mar 12, 2018 12:00 pm
Location: San Francisco, CA

Re: Upgrade from 2014R2.7 to 5.4.13 unsuccessful

Post by Dave Ryan »

I resolved the issue with RHEL and downloading from mirrors. I kicked off another upgrade attempt, it got much further but was unsuccessful. Can you review the attached log and advise?
You do not have the required permissions to view the files attached to this post.
Dave Ryan.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Upgrade from 2014R2.7 to 5.4.13 unsuccessful

Post by scottwilkerson »

Somehow your machine doesn't have another required package

Code: Select all

yum install 'perl(Math::Calc::Units)' -y
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
Dave Ryan
Posts: 25
Joined: Mon Mar 12, 2018 12:00 pm
Location: San Francisco, CA

Re: Upgrade from 2014R2.7 to 5.4.13 unsuccessful

Post by Dave Ryan »

Thanks for the response. I ran the command and below is the output. It seems like the package isn't available. Any idea?

Code: Select all

[root@bktsfnoc01 ~]# yum install 'perl(Math::Calc::Units)' -y
Loaded plugins: aliases, changelog, downloadonly, product-id, security,
              : subscription-manager, tmprepo, verify, versionlock
Setting up Install Process
No package perl(Math::Calc::Units) available.
Error: Nothing to do
[root@bktsfnoc01 ~]# 
Dave Ryan.
User avatar
Dave Ryan
Posts: 25
Joined: Mon Mar 12, 2018 12:00 pm
Location: San Francisco, CA

Re: Upgrade from 2014R2.7 to 5.4.13 unsuccessful

Post by Dave Ryan »

I downloaded the rpm files manually and installed them per below.

Code: Select all

[root@bktsfnoc01 rpms]# rpm -ivh perl-Class-Accessor-0.34-1.el6.rfx.noarch.rpm
Preparing...                ########################################### [100%]
   1:perl-Class-Accessor    ########################################### [100%]
[root@bktsfnoc01 rpms]# rpm -ivh perl-Config-Tiny-2.12-1.el6.rfx.noarch.rpm
Preparing...                ########################################### [100%]
   1:perl-Config-Tiny       ########################################### [100%]
[root@bktsfnoc01 rpms]# rpm -ivh perl-Math-Calc-Units-1.07-1.el6.rf.noarch.rpm
Preparing...                ########################################### [100%]
   1:perl-Math-Calc-Units   ########################################### [100%]
[root@bktsfnoc01 rpms]# rpm -ivh perl-Number-Format-1.72a-1.el5.rf.noarch.rpm
Preparing...                ########################################### [100%]
   1:perl-Number-Format     ########################################### [100%]
[root@bktsfnoc01 rpms]# 
I then kicked off another install but I'm not sure what went wrong now. Can you take another look? A new log has been attached. Thx!
You do not have the required permissions to view the files attached to this post.
Dave Ryan.
User avatar
Dave Ryan
Posts: 25
Joined: Mon Mar 12, 2018 12:00 pm
Location: San Francisco, CA

Re: Upgrade from 2014R2.7 to 5.4.13 unsuccessful

Post by Dave Ryan »

So it seems that maybe it did upgrade to the latest version but had some errors in the process. See screenshot attached showing latest version is installed but update shows that it was not successful. Please advise. Thx!
You do not have the required permissions to view the files attached to this post.
Dave Ryan.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Upgrade from 2014R2.7 to 5.4.13 unsuccessful

Post by scottwilkerson »

It's trying to update php-ldap but the php-ldap that is available to your repos doesn't have all the dependencies required to match your version.

Unfortunately you would need to resolve these with RedHat
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked