nagios xi offline upgrade

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
asiansuntrading
Posts: 53
Joined: Wed Sep 14, 2016 4:23 pm

nagios xi offline upgrade

Post by asiansuntrading »

hi
We want to upgrade our nagios xi from 5.4.3 to 5.4.4 offline. We download nagiosxi-5-4.4.el6.x86_64.tar.gz but when ./fullinstall command is running, "loading mirror speeds from cached hostfile" error is displayed and need internet access! can you help our?
thanks
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: nagios xi offline upgrade

Post by tgriep »

Did the server at one time have access to the internet and yum was used to update it?
It looks like the system is still trying to use the fastmirror cache for yum installs. Lets disable it by editing this file on the Nagios server

Code: Select all

/etc/yum/pluginconf.d/fastestmirror.conf
And set the following to 0 to disable it

Code: Select all

enable=0
Save the file and try the install again and see if it works for you.
Be sure to check out our Knowledgebase for helpful articles and solutions!
asiansuntrading
Posts: 53
Joined: Wed Sep 14, 2016 4:23 pm

Re: nagios xi offline upgrade

Post by asiansuntrading »

hi
we disabled fastmirror by editing fastestmirror.conf file but installation is failed too. We send you screenshot of install.log file.
thanks
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: nagios xi offline upgrade

Post by tgriep »

Did the server at one time have access to the internet and yum was used to update it?


Try clearing the yum cache by running the following and then try the upgrade again.

Code: Select all

yum clean all

The server that is blocked out on your screen capture, can you ping it from the Nagios XI server?
Be sure to check out our Knowledgebase for helpful articles and solutions!
asiansuntrading
Posts: 53
Joined: Wed Sep 14, 2016 4:23 pm

Re: nagios xi offline upgrade

Post by asiansuntrading »

hi
We clean yum cache but that problem don't resolved. On our screen capture too, that isn't IP address, it's look like to encrypte code. I don't know.
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: nagios xi offline upgrade

Post by avandemore »

In the very first place if you've done an offline installation and are attempting to upgrade it you need to be using these instructions:

http://repo.nagios.com/

If you where trying to upgrade a normal install, you'd need to use the script upgrade, not fullinstall. However that doesn't appear to apply here.
Previous Nagios employee
asiansuntrading
Posts: 53
Joined: Wed Sep 14, 2016 4:23 pm

Re: nagios xi offline upgrade

Post by asiansuntrading »

Hi
Our problem is not resolved. I send you the error screenshot. If this offline upgrade is required to any prerequisites, please provide them to us.
Thanks
You do not have the required permissions to view the files attached to this post.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: nagios xi offline upgrade

Post by dwhitfield »

The prereqs should have been handled during the initial install, but you can find them at https://assets.nagios.com/downloads/nag ... onment.pdf

What's the output of yum repolist all? Please put the output in a code block. The "Code" button is the fifth from the left on the post input screen (between Quote and List).
asiansuntrading
Posts: 53
Joined: Wed Sep 14, 2016 4:23 pm

Re: nagios xi offline upgrade

Post by asiansuntrading »

hi

Code: Select all

Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock error was
14: PYCURL ERROR 7 - "Failed to connect to 2001:4178:5:200::10: Network is unreachable"
http://mirror.centos.org/centos/6/cr/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "Failed to connect to 2607:4d00:1:100:213:72ff:fefc:622e: Network is unreachable"
Trying other mirror.
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=extras&infra=stock error was
14: PYCURL ERROR 7 - "Failed to connect to 2001:4178:5:200::10: Network is unreachable"
http://repo.nagios.com/nagios/6/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "Failed to connect to 2600:3c00::f03c:91ff:fedf:b821: Network is unreachable"
Trying other mirror.
http://repo.nagios.com/nagiosxi-deps/6/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "Failed to connect to 2600:3c00::f03c:91ff:fedf:b821: Network is unreachable"
Trying other mirror.
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=updates&infra=stock error was
14: PYCURL ERROR 7 - "Failed to connect to 2604:1580:fe02:2::10: Network is unreachable"
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: nagios xi offline upgrade

Post by tgriep »

Even though the system does not have access to the internet, it still needs access to a local repository so when Nagios XI is installed, it can download and install the required packages.

CentOS
Offline server must still have access to CentOS Base Repo (actual or clone) for installation/upgrade

Do you have access to an internal Repo?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked