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.
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 »

Hi, I've enabled the optional channel however I'm still having an issue performing the upgrade. Please see 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 »

This looks like you are getting an error from the rpmforge repo, I would suggest you disable this repository
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 for the recommendation. Disabling the repo certainly got the upgrade to go a lot further. However, I still see the below at the end of the upgrade process. I've attached as much of the session that was captured from my SSH session. I've confirmed from the Nagios XI Admin page that I'm still running on version 5.4.13.

Setting up Install Process
No package shellinabox available.
Error: Nothing to do

Any ideas on what went wrong?

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 looks better, but now you are missing a different repo which is required for shellinabox, the epel repo

If you do not have it installed any longer and cannot enable it, you yshould be able to do the following

Code: Select all

yum install https://dl.fedoraproject.org/pub/epel/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 »

I've executed the yum install command for epel but I'm not sure it worked. I'm seeing Error: Nothing to do, 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 »

Hmm, I see this

Code: Select all

Cannot open: https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm. Skipping.
does this machine have access to the Internet?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
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 show the output of the following

Code: Select all

ll /etc/yum.repos.d/
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 »

Yes, this machines has access to the internet. Command executed, output below.

Code: Select all

[root@bktsfnoc01 ~]# ll /etc/yum.repos.d/
total 92
-rw-r--r-- 1 root root   739 Nov 12  2010 mirrors-rpmforge
-rw-r--r-- 1 root root   717 Nov 12  2010 mirrors-rpmforge-extras
-rw-r--r-- 1 root root   728 Nov 12  2010 mirrors-rpmforge-testing
-rw-r--r-- 1 root root 70106 Apr  4 08:08 redhat.repo
-rw-r--r-- 1 root root  2716 Jan 15  2018 remi.repo
-rw-r--r-- 1 root root  1113 Apr  6 08:53 rpmforge.repo
[root@bktsfnoc01 ~]# 
Thanks,
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 »

hmm, can you run the following

Code: Select all

cd /tmp
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
yum 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 »

Commands executed, log attached.

Thanks,
Dave.
You do not have the required permissions to view the files attached to this post.
Dave Ryan.
Locked