1. ls -l /etc/yum.repos.d/
total 40
-rw-r--r-- 1 root root 1991 Aug 3 2015 CentOS-Base.repo
-rw-r--r-- 1 root root 509 Sep 25 2011 CentOS-CR.repo
-rw-r--r-- 1 root root 647 Aug 3 2015 CentOS-Debuginfo.repo
-rw-r--r-- 1 root root 289 Aug 3 2015 CentOS-fasttrack.repo
-rw-r--r-- 1 root root 630 Aug 3 2015 CentOS-Media.repo
-rw-r--r-- 1 root root 6259 Aug 3 2015 CentOS-Vault.repo
-rw-r--r-- 1 root root 957 Nov 4 2012 epel.repo
-rw-r--r-- 1 root root 1056 Nov 4 2012 epel-testing.repo
-rw-r--r-- 1 root root 307 Mar 16 2018 nagios-6.repo
2. yum clean all
Loaded plugins: fastestmirror
Cleaning repos: base cr epel extras nagios-base nagiosxi-deps updates
Cleaning up Everything
Cleaning up list of fastest mirrors
3. [root@localhost ~]# yum repolist
Loaded plugins: fastestmirror
Determining fastest mirrors
base | 3.7 kB 00:00
base/primary_db | 4.7 MB 00:03
cr | 3.3 kB 00:00
cr/primary_db | 1.2 kB 00:00
extras | 3.4 kB 00:00
extras/primary_db | 29 kB 00:00
nagios-base | 1.5 kB 00:00
nagios-base/primary | 20 kB 00:00
nagios-base 173/173
nagiosxi-deps | 1.5 kB 00:00
nagiosxi-deps/primary | 10 kB 00:00
nagiosxi-deps 33/33
updates | 3.4 kB 00:00
updates/primary_db | 5.2 MB 00:01
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
[root@localhost ~]#
4:
[root@localhost ~]# curl -k -L -v 'https://mirrors.fedoraproject.org/metal ... rch=x86_64'
* About to connect() to mirrors.fedoraproject.org port 443 (#0)
* Trying 8.43.85.73... connected
* Connected to mirrors.fedoraproject.org (8.43.85.73) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* warning: ignoring value of ssl.verifyhost
* NSS error -12190
* Closing connection #0
* SSL connect error
curl: (35) SSL connect error
[root@localhost ~]#
[root@localhost ~]# curl -k -L -v http://download.fedoraproject.org/pub/epel/6/x86_64
* About to connect() to download.fedoraproject.org port 80 (#0)
* Trying 67.203.2.67... connected
* Connected to download.fedoraproject.org (67.203.2.67) port 80 (#0)
> GET /pub/epel/6/x86_64 HTTP/1.1
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.19.1 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> Host: download.fedoraproject.org
> Accept: */*
>
< HTTP/1.1 302 Found
< Date: Wed, 24 Jul 2019 18:23:04 GMT
< Server: Apache/2.4.38 (Fedora) mod_wsgi/4.6.4 Python/2.7
< X-Frame-Options: SAMEORIGIN
< X-Xss-Protection: 1; mode=block
< X-Content-Type-Options: nosniff
< Referrer-Policy: same-origin
< Content-Length: 0
< Location: http://mirror.nodesdirect.com/epel/6/x86_64/
< Content-Type: text/html; charset=UTF-8
< AppTime: D=132090
< X-Fedora-ProxyServer: proxy08.fedoraproject.org
< X-Fedora-RequestID: XTiiCPwvArWjKbiDIS7j8AAAA0Y
<
* Connection #0 to host download.fedoraproject.org left intact
* Issue another request to this URL: 'http://mirror.nodesdirect.com/epel/6/x86_64/'
* About to connect() to mirror.nodesdirect.com port 80 (#1)
* Trying 23.92.92.94... connected
* Connected to mirror.nodesdirect.com (23.92.92.94) port 80 (#1)
> GET /epel/6/x86_64/ HTTP/1.1
> User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.19.1 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2
> Host: mirror.nodesdirect.com
> Accept: */*
>
< HTTP/1.1 200 OK
< Server: nginx
< Date: Wed, 24 Jul 2019 18:23:04 GMT
< Content-Type: text/html
< Transfer-Encoding: chunked
< Connection: keep-alive
<
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Nodes Direct Holdings, LLC .:. Mirror .:. Index of /epel/6/x86_64/</title>
<link href="/nd/style.css" rel="stylesheet" type="text/css" />
<style type="text/css">body,html {font-family:Arial;}tr:nth-child(even) {background:#f4f4f4;}th,td {padding:0.1em 0.5em;}th {text-align:left;font-wei ght:bold;background:#eee;border-bottom:1px solid #aaa;}#list {border:1px solid #aaa;width:100%;}a {color:#444;}a:hover {color:#888;}</style>
<script type='text/javascript' src='/nd/script.js'></script>
</head>
<body>
<div id="wrapper">
<div id="logoWrap">
</div>
<div id="bodWrap">
<h3>Index of /epel/6/x86_64/</h3>
<h1 style="display: none;">/epel/6/x86_64/</h1>
<table id="list" cellpadding="0.1em" cellspacing="0">
<colgroup><col width="55%"/><col width="20%"/><col width="25%"/></colgroup>
<thead><tr><th><a href="?C=N&O=A">File Name</a> <a href="?C=N&O=D"> ↓ </a></th><th><a href="?C=S&O=A">File Size</a> <a href="?C =S&O=D"> ↓ </a></th><th><a href="?C=M&O=A">Date</a> <a href="?C=M&O=D"> ↓ </a></th></tr></thead>
<tbody><tr><td><a href="../">Parent directory/</a></td><td>-</td><td>-</td></tr><tr><td><a href="Packages/" title="Packages">Packages/</a></td><td>-</td> <td>2019-Jul-23 21:58</td></tr>
<tr><td><a href="debug/" title="debug">debug/</a></td><td>-</td><td>2017-Oct-29 09:53</td></tr>
<tr><td><a href="drpms/" title="drpms">drpms/</a></td><td>-</td><td>2019-Jul-23 22:01</td></tr>
<tr><td><a href="repodata/" title="repodata">repodata/</a></td><td>-</td><td>2019-Jul-23 22:07</td></tr>
<tr><td><a href="epel-release-6-8.noarch.rpm" title="epel-release-6-8.noarch.rpm">epel-release-6-8.noarch.rpm</a></td><td> 14K</td><td>2012-Nov-05 11: 31</td></tr>
</tbody></table> </div>
<div id="footer">
<p>This public mirror is located in Jacksonville, FL and is provided as a courtesy of Nodes Direct Holdings, LLC. For problems with this mirror, please contact <a href="mailto:[email protected]">[email protected]</a>. For more information, please visit <a href="http://nodesdirect.com">http://n odesdirect.com</a>.</p>
<br />
<p>This mirror is updated automatically every 4 hours. Last Updated: Wed Jul 24 13:21:51 EDT 2019
</p>
<br />
<p>Mirror Specs: Dual Intel Xeon X5650 / 48GB DDR3 RAM / 2 x 240GB Intel SSD (RAID-1 OS) / 14 x 2TB WD RE4 (RAID-6 Mirror Data) / Intel X520 10Gb ps NIC</p>
<p>Currently using 12TB / 22TB (55%) for mirroring open source projects</p>
</div>
</div>
</body>
</html>
* Connection #1 to host mirror.nodesdirect.com left intact
* Closing connection #0
* Closing connection #1
[root@localhost ~]#
Update Version 5.5.10 to 5.6.4 not finishing - stuck
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Update Version 5.5.10 to 5.6.4 not finishing - stuck
Hello @tfhadmin,
Make a backup of the epel.repos file (eg. cp epel.repo epel.repo.backup) , and then run the following command to change the mirrors from https to http, and try running the upgrade again.
The server is not connecting to the mirrors vis https. Log into the server, and navigate to /etc/yum.repos.d/.Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
....
* SSL connect error
curl: (35) SSL connect error
Make a backup of the epel.repos file (eg. cp epel.repo epel.repo.backup) , and then run the following command to change the mirrors from https to http, and try running the upgrade again.
Code: Select all
sudo sed -i "s/mirrorlist=https/mirrorlist=http/" /etc/yum.repos.d/epel.repo
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Update Version 5.5.10 to 5.6.4 not finishing - stuck
That seemed to work. Latest version 5.6.5 and installed version is 5.6.5.
Thanks so much for the great help! I'll definitely document this.
Thanks so much for the great help! I'll definitely document this.
Re: Update Version 5.5.10 to 5.6.4 not finishing - stuck
Glad to hear it's working!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!