Upgrade from 5.4.13 to 5.6.12 unsuccessful

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Upgrade from 5.4.13 to 5.6.12 unsuccessful

Post by scottwilkerson »

Someone must have removed the repo file but left the package there....

Code: Select all

cd /tmp
yum remove epel-release -y
yum -y localinstall epel-release-latest-6.noarch.rpm
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 5.4.13 to 5.6.12 unsuccessful

Post by Dave Ryan »

Thanks, that looks like it took. 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 5.4.13 to 5.6.12 unsuccessful

Post by scottwilkerson »

Ok, now lets try to continue with the upgrade
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 5.4.13 to 5.6.12 unsuccessful

Post by Dave Ryan »

Sounds good. I'll attempt the upgrade again this afternoon and respond back. Thanks again for all your help on this.

Dave.
Dave Ryan.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Upgrade from 5.4.13 to 5.6.12 unsuccessful

Post by scottwilkerson »

Dave Ryan wrote:Sounds good. I'll attempt the upgrade again this afternoon and respond back. Thanks again for all your help on this.

Dave.
No problem
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 5.4.13 to 5.6.12 unsuccessful

Post by Dave Ryan »

It seems like it may have gotten a little further in the upgrade process. However, it still did not complete successfully. It seems it ran out of mirrors to try for shellinabox.

Code: Select all

Error Downloading Packages:
  shellinabox-2.14-27.git88822c1.el6.x86_64: failure: shellinabox-2.14-27.git88822c1.el6.x86_64.rpm from epel: [Errno 256] No more mirrors to try.
Log attached.

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 5.4.13 to 5.6.12 unsuccessful

Post by scottwilkerson »

Can you run the following and try again

Code: Select all

yum clean all
If you get the same error, can you show the output of

Code: Select all

yum info shellinabox
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 5.4.13 to 5.6.12 unsuccessful

Post by Dave Ryan »

Unfortunately after running "yum clean all" the upgrade did not get very far. Log attached.

Code: Select all

[root@bktsfnoc01 nagiosxi]# yum info shellinabox                                                                                                        
Loaded plugins: aliases, changelog, product-id, security, subscription-manager, tmprepo, verify, versionlock                                            
Error: Cannot retrieve repository metadata (repomd.xml) for repository: epel. Please verify its path and try again
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 5.4.13 to 5.6.12 unsuccessful

Post by scottwilkerson »

This is very bizarre, can you port the output of the following

Code: Select all

cat /etc/yum.repos.d/epel.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 5.4.13 to 5.6.12 unsuccessful

Post by Dave Ryan »

No problem, here it is:

Code: Select all

[root@bktsfnoc01 ~]# cat /etc/yum.repos.d/epel.repo
[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

[epel-debuginfo]
name=Extra Packages for Enterprise Linux 6 - $basearch - Debug
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch/debug
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-6&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1

[epel-source]
name=Extra Packages for Enterprise Linux 6 - $basearch - Source
#baseurl=http://download.fedoraproject.org/pub/epel/6/SRPMS
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-6&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=1
[root@bktsfnoc01 ~]# 
Thanks,
Dave.
Dave Ryan.
Locked