Page 1 of 3
nagios xi offline upgrade
Posted: Wed May 31, 2017 5:56 am
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
Re: nagios xi offline upgrade
Posted: Wed May 31, 2017 12:13 pm
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
Save the file and try the install again and see if it works for you.
Re: nagios xi offline upgrade
Posted: Mon Jun 05, 2017 10:56 pm
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
Re: nagios xi offline upgrade
Posted: Tue Jun 06, 2017 10:39 am
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.
The server that is blocked out on your screen capture, can you ping it from the Nagios XI server?
Re: nagios xi offline upgrade
Posted: Tue Jun 06, 2017 11:14 pm
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.
Re: nagios xi offline upgrade
Posted: Wed Jun 07, 2017 10:34 am
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.
Re: nagios xi offline upgrade
Posted: Sat Jun 10, 2017 12:11 am
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
Re: nagios xi offline upgrade
Posted: Mon Jun 12, 2017 10:05 am
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).
Re: nagios xi offline upgrade
Posted: Mon Jun 12, 2017 11:09 pm
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
Re: nagios xi offline upgrade
Posted: Tue Jun 13, 2017 4:16 pm
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?