Issue
mirrorlist site down?
I'm trying to install packages but yum returns with can't connect to mirrorlist. Is the site down?
Share this post:
Responses (36)
-
Accepted Answer
Barry Smith wrote:
That change was supposed to be temporary from when the proxy server was misbehaving. The change will be done centrally at some point. You can safely remove those settings but they won't harm anything at the moment either.
Nick & Tony,
I found another thread from this year where Nick advised a manual update of the /etc/hosts file, with the following:
178.62.233.167 mirrorlist.clearos.com
207.154.210.181 mirrorlist.clearos.com
67.205.175.90 mirrorlist.clearos.com
138.68.237.203 mirrorlist.clearos.com
128.199.192.13 mirrorlist.clearos.com
178.62.250.181 mirrorlist.clearos.com
207.154.246.212 mirrorlist.clearos.com
67.205.144.164 mirrorlist.clearos.com
138.68.236.117 mirrorlist.clearos.com
139.59.245.244 mirrorlist.clearos.com
This resolved the issue and now everything updates and installs without any issue.
I don't know where the problem lies, but at least I can now get a better setup of ClearOS, even if this isn't a proper fix.
Cheers,
Barry. -
Accepted Answer
Nick & Tony,
I found another thread from this year where Nick advised a manual update of the /etc/hosts file, with the following:
178.62.233.167 mirrorlist.clearos.com
207.154.210.181 mirrorlist.clearos.com
67.205.175.90 mirrorlist.clearos.com
138.68.237.203 mirrorlist.clearos.com
128.199.192.13 mirrorlist.clearos.com
178.62.250.181 mirrorlist.clearos.com
207.154.246.212 mirrorlist.clearos.com
67.205.144.164 mirrorlist.clearos.com
138.68.236.117 mirrorlist.clearos.com
139.59.245.244 mirrorlist.clearos.com
This resolved the issue and now everything updates and installs without any issue.
I don't know where the problem lies, but at least I can now get a better setup of ClearOS, even if this isn't a proper fix.
Cheers,
Barry. -
Accepted Answer
No problem reaching http://mirrorlist.clearos.com/clearos/ using the chrome browser from Australia, so its up... -
Accepted Answer
I don't know what is going on there. I don't believe mirrorlist respnds to pings and neither does clearos.com, but clearos.com does resolve:
Are you using Gateway Management?[root@server ~]# host clearos.com
clearos.com has address 52.4.160.28
clearos.com mail is handled by 1 aspmx.l.google.com.
clearos.com mail is handled by 5 alt1.aspmx.l.google.com.
clearos.com mail is handled by 5 alt2.aspmx.l.google.com.
clearos.com mail is handled by 10 alt3.aspmx.l.google.com.
clearos.com mail is handled by 10 alt4.aspmx.l.google.com.
[root@server ~]# ping clearos.com
PING clearos.com (52.4.160.28) 56(84) bytes of data.
^C
--- clearos.com ping statistics ---
8 packets transmitted, 0 received, 100% packet loss, time 7001ms
Also what is the contents of /etc/resolv-peerdns.conf -
Accepted Answer
Nick,
2 years later!!
Thought I would have another go with ClearOS and got the same issue again!!
I did as you suggested and changed my DNS to Google's 8.8.8.8 and 8.8.4.4.
I also tried this instruction from the CLI:host mirrorlist.clearos.com
It returned the following:[root@gateway ~]# host mirrorlist.clearos.com
;; connection timed out; no servers could be reached
[root@gateway ~]# host mirrorlist.clearos.com
mirrorlist.clearos.com has address 209.90.117.202
I tried the second time, straight after the first failure.
I tried a ping to mirrorlist.clearos.com, which returned the same IP address, but failed to return the ping!!
Just to give you an idea of the situation, I can ping bbc.co.uk, but not mirrorlist.clearos.com, which just hangs.
Any other thoughts?
Cheers,
Barry. -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
Nick,
Thanks for your quick response.
I did as you suggested and the first command, yum clean all && yum update, returned the following:
Loaded plugins: clearcenter-marketplace, fastestmirror
ClearCenter Marketplace: fetching repositories...
ClearCenter Marketplace: [Errno -2] Name or service not known
Cleaning repos: clearos clearos-centos clearos-centos-sclo-rh
: clearos-centos-updates clearos-contribs clearos-fast-updates
: clearos-infra clearos-updates
Cleaning up everything
Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data from disabled or removed repos
Cleaning up list of fastest mirrors
Loaded plugins: clearcenter-marketplace, fastestmirror
ClearCenter Marketplace: fetching repositories...
ClearCenter Marketplace: [Errno -2] Name or service not known
Determining fastest mirrors
^CCould not retrieve mirrorlist http://mirrorlist.clearos.com/clearos/mirrorlist/clearos-current-os-7 error was
14: curl#6 - "Could not resolve host: mirrorlist.clearos.com; Unknown error"
One of the configured repositories failed (Unknown),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:
1. Contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).
3. Run the command with the repository temporarily disabled
yum --disablerepo=<repoid> ...
4. Disable the repository permanently, so yum won't use it by default. Yum
will then just ignore the repository until you permanently enable it
again or use --enablerepo for temporary usage:
yum-config-manager --disable <repoid>
or
subscription-manager repos --disable=<repoid>
5. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:
yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true
Cannot find a valid baseurl for repo: clearos/7
Now going to run the second command, yum update app-base, which returned the following:
Loaded plugins: clearcenter-marketplace, fastestmirror
ClearCenter Marketplace: fetching repositories...
ClearCenter Marketplace: [Errno -2] Name or service not known
Loading mirror speeds from cached hostfile
* clearos: www.mirrorservice.org
* clearos-centos: download2.clearsdn.com
* clearos-centos-sclo-rh: download2.clearsdn.com
* clearos-centos-updates: download2.clearsdn.com
* clearos-contribs: www.mirrorservice.org
* clearos-fast-updates: download2.clearsdn.com
* clearos-infra: www.mirrorservice.org
* clearos-updates: www.mirrorservice.org
clearos | 3.7 kB 00:00
clearos-centos | 3.6 kB 00:00
clearos-centos-sclo-rh | 3.0 kB 00:00
clearos-centos-updates | 2.9 kB 00:00
clearos-contribs | 3.5 kB 00:00
clearos-fast-updates | 2.9 kB 00:00
clearos-infra | 3.5 kB 00:00
clearos-updates | 3.5 kB 00:00
(1/13): clearos/7/group_gz | 1.6 kB 00:00
(2/13): clearos/7/primary_db | 739 kB 00:00
(3/13): clearos-contribs/7/updateinfo | 96 B 00:00
(4/13): clearos-contribs/7/primary_db | 64 kB 00:00
(5/13): clearos-centos/x86_64/group_gz | 166 kB 00:00
(6/13): clearos-infra/7/updateinfo | 96 B 00:00
(7/13): clearos-infra/7/primary_db | 11 kB 00:00
(8/13): clearos-updates/7/updateinfo | 96 B 00:00
(9/13): clearos-updates/7/primary_db | 856 kB 00:00
(10/13): clearos-fast-updates/x86_64/primary_db | 12 kB 00:00
(11/13): clearos-centos/x86_64/primary_db | 5.9 MB 00:01
(12/13): clearos-centos-updates/x86_64/primary_db | 5.7 MB 00:01
(13/13): clearos-centos-sclo-rh/x86_64/primary_db | 3.6 MB 00:08
No packages marked for update
Any thoughts about the line:
ClearCenter Marketplace: [Errno -2] Name or service not known
or
Cannot find a valid baseurl for repo: clearos/7
Sorry for the long reply, but thought you should see all of the info.
Oh, DNS servers are 194.168.4.100 and 194.168.8.100
Cheers,
Barry. -
Accepted Answer
I am also on VirginMedia but I use OpenDNS for my DNS servers, but it should not make a difference.
From the command line can you please do a:
And post back with any errors. If there are errors, can you try:yum clean all && yum update
yum update app-base
In the Marketplace there is a gearwheel icon. Can you click on it then clear the cache? -
Accepted Answer
Hi,
I see this is an old forum, but I thought I should attach my post to the end of this one as it is the same issue.
I have installed ClearOS v7, run YUM updates and have setup my DNS to use my ISP DNS servers, (Virgin Media, UK).
I have finally got Marketplace to show content, although it intermitantly forwards to the Virgin Media Advanced Error Search page, for no reason??
If I manage to get the Marketplace to let me select an app to install, I get the following error message:"
"Exception: Cannot find a valid baseurl for repo: clearos/7
There is obviously something wrong with the primary installation files as I get lots of errors when YUM tries to update ClearOS files, but has no issue with CentOS files?
As I am unable to get this resolved after three days of persistent trying, I am know looking at an alternative Firewall option.
Just thought you should know that there is a definite error in the system configuration.
Cheers,
Barry. -
Accepted Answer
-
Accepted Answer
Tim Burgess wrote:
Hi Marcel, that may be because you have a cached mirror list? try 'yum clean all' first?
I did that yesterday a couple of times not today.
[root@gandalf ~]# yum update
Failed to set locale, defaulting to C
Loaded plugins: clearcenter-marketplace, fastestmirror
ClearCenter Marketplace: fetching repositories...
clearos | 3.6 kB 00:00:00
clearos-contribs | 3.0 kB 00:00:00
clearos-fast-updates | 2.9 kB 00:00:00
clearos-infra | 3.0 kB 00:00:00
(1/5): clearos-contribs/7/primary_db | 28 kB 00:00:00
(2/5): clearos/7/primary_db | 891 kB 00:00:00
(3/5): clearos/7/group_gz | 1.5 kB 00:00:00
(4/5): clearos-infra/7/primary_db | 11 kB 00:00:00
(5/5): clearos-fast-updates/7/x86_64/primary_db | 36 kB 00:00:00
Determining fastest mirrors
* clearos: ftp.nluug.nl
* clearos-centos-verified: mirror1-london.clearos.com
* clearos-contribs: ftp.nluug.nl
* clearos-epel-verified: mirror1-london.clearos.com
* clearos-fast-updates: download2.clearsdn.com
* clearos-infra: ftp.nluug.nl
* private-clearcenter-ad: download4.clearsdn.com:80
* private-clearcenter-antimalware: download4.clearsdn.com:80
* private-clearcenter-antispam: download2.clearsdn.com:80
* private-clearcenter-business: download4.clearsdn.com:80
* private-clearcenter-content-filter: download2.clearsdn.com:80
* private-clearcenter-dyndns: download4.clearsdn.com:80
* private-clearcenter-dynvpn: download2.clearsdn.com:80
* private-clearcenter-ids: download4.clearsdn.com:80
* private-clearcenter-master-slave: download2.clearsdn.com:80
* private-clearcenter-rbs: download4.clearsdn.com:80
* private-clearcenter-security-audit: download2.clearsdn.com:80
* private-clearcenter-verified-updates: download4.clearsdn.com:80
* private-clearcenter-wpad: download2.clearsdn.com:80
clearos-centos-verified | 3.0 kB 00:00:00
clearos-centos-verified/primary_db | 779 kB 00:00:00
clearos-epel-verified | 3.0 kB 00:00:00
clearos-epel-verified/primary_db | 109 kB 00:00:00
private-clearcenter-ad | 2.9 kB 00:00:00
private-clearcenter-ad/primary_db | 2.9 kB 00:00:00
private-clearcenter-antimalware | 2.9 kB 00:00:00
private-clearcenter-antimalware/primary_db | 2.7 kB 00:00:00
private-clearcenter-antispam | 2.9 kB 00:00:00
private-clearcenter-antispam/primary_db | 2.8 kB 00:00:00
private-clearcenter-business | 1.9 kB 00:00:00
private-clearcenter-business/primary_db | 2.9 kB 00:00:00
private-clearcenter-content-filter | 2.9 kB 00:00:00
private-clearcenter-content-filter/primary_db | 2.8 kB 00:00:00
private-clearcenter-dyndns | 1.9 kB 00:00:00
private-clearcenter-dyndns/primary_db | 2.3 kB 00:00:00
private-clearcenter-dynvpn | 2.9 kB 00:00:00
private-clearcenter-dynvpn/primary_db | 3.0 kB 00:00:00
private-clearcenter-ids | 2.9 kB 00:00:00
private-clearcenter-ids/primary_db | 4.1 kB 00:00:00
private-clearcenter-master-slave | 1.9 kB 00:00:00
private-clearcenter-master-slave/primary_db | 3.1 kB 00:00:00
private-clearcenter-rbs | 2.9 kB 00:00:00
private-clearcenter-rbs/primary_db | 2.7 kB 00:00:00
private-clearcenter-security-audit | 1.9 kB 00:00:00
private-clearcenter-security-audit/primary_db | 2.1 kB 00:00:00
private-clearcenter-verified-updates | 2.9 kB 00:00:00
private-clearcenter-verified-updates/primary_db | 957 kB 00:00:00
private-clearcenter-wpad | 1.9 kB 00:00:00
private-clearcenter-wpad/primary_db | 2.3 kB 00:00:00
No packages marked for update
[root@gandalf ~]# yum update
Failed to set locale, defaulting to C
Loaded plugins: clearcenter-marketplace, fastestmirror
ClearCenter Marketplace: fetching repositories...
Loading mirror speeds from cached hostfile
* clearos: ftp.nluug.nl
* clearos-centos-verified: mirror1-london.clearos.com
* clearos-contribs: ftp.nluug.nl
* clearos-epel-verified: mirror1-london.clearos.com
* clearos-fast-updates: download4.clearsdn.com
* clearos-infra: ftp.nluug.nl
* private-clearcenter-ad: download2.clearsdn.com:80
* private-clearcenter-antimalware: download4.clearsdn.com:80
* private-clearcenter-antispam: download2.clearsdn.com:80
* private-clearcenter-business: download4.clearsdn.com:80
* private-clearcenter-content-filter: download2.clearsdn.com:80
* private-clearcenter-dyndns: download4.clearsdn.com:80
* private-clearcenter-dynvpn: download2.clearsdn.com:80
* private-clearcenter-ids: download4.clearsdn.com:80
* private-clearcenter-master-slave: download2.clearsdn.com:80
* private-clearcenter-rbs: download4.clearsdn.com:80
* private-clearcenter-security-audit: download2.clearsdn.com:80
* private-clearcenter-verified-updates: download4.clearsdn.com:80
* private-clearcenter-wpad: download2.clearsdn.com:80
No packages marked for update
The actual individual mirrors are fine, it is the mirrorlist.clearfoundation.com host which provides the list of mirrors to yum which is timing out
Yes, I know. I just thought it can't hurt to report. I always check this site thus yesterday I knew all mirrors were up. So I contacted ClearCenter in the middle of the night. I think I have to avoid further contact with David this week...
For business it is mirrorlist.clearos.com. For community mirrorlist.clearfoundation.com.
So for me it's still working!!! -
Accepted Answer
-
Accepted Answer
Over the weekend a core router stopped routing for certain traffic out of one of our data centers. After a tweak or two and a couple of reboots it seems to work better now. During that downtime, I changed the pointers for the mirrorlist which can facilitate temporary relief. Now that this router seems to work better, I've reverted back the DNS. Please test and let us know what you are seeing today. Things should be getting back to normal but the feedback is golden. Thanks!
On the mirrrorlist.clearfoundation.com, that entry should be pointed to the 'clearos' asset instead. -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
Yup - same problem here, mirrorlist.clearfoundation.com is still down, (Dave should it be mirrorlist.clearos.com which is up??)
Hack #1
As a workaround If you desperately need to install something, you can temporarily edit /etc/yum.repos.d/clearos.repo
Comment out all mirrorlist lines with #, and uncomment the baseurl lines
e.g.
#mirrorlist=http://mirrorlist.clearfoundation.com/clearos/mirrorlist/clearos-community-os-$releasever
baseurl=http://mirror.clearfoundation.com/clearos/community/$releasever/os/$basearch/
Hack #2 - Or... another hack:-
Add temporary redirect of mirrorlist.clearfoundation.com to mirrorlist.clearos.com IP in /etc/hosts, e.g. add following line and restart dnsmasq service
192.241.218.251 mirrorlist.clearfoundation.com -
Accepted Answer
Same problem here. There is no way to install, update using yum nor using web interface. Location: Canary Islands.
# yum update
Loaded plugins: clearcenter-marketplace, fastestmirror
Setting up Update Process
ClearCenter Marketplace: fetching repositories...
Determining fastest mirrors
Could not retrieve mirrorlist http://mirrorlist.clearfoundation.com/clearos/mirrorlist/clearos-community-os-6 error was
12: Timeout on http://mirrorlist.clearfoundation.com/clearos/mirrorlist/clearos-community-os-6: (28, 'connect() timed out!')
Could not retrieve mirrorlist http://mirrorlist.clearfoundation.com/clearos/mirrorlist/clearos-community-addons-6 error was
12: Timeout on http://mirrorlist.clearfoundation.com/clearos/mirrorlist/clearos-community-addons-6: (28, 'connect() timed out!')
Could not retrieve mirrorlist http://mirrorlist.clearfoundation.com/clearos/mirrorlist/clearos-core-current-6 error was
12: Timeout on http://mirrorlist.clearfoundation.com/clearos/mirrorlist/clearos-core-current-6: (28, 'connect() timed out!')
^CCould not retrieve mirrorlist http://mirrorlist.clearfoundation.com/clearos/mirrorlist/clearos-community-extras-6 error was
12: Timeout on http://mirrorlist.clearfoundation.com/clearos/mirrorlist/clearos-community-extras-6: (28, 'connect() timed out!')
Could not retrieve mirrorlist http://mirrorlist.clearfoundation.com/clearos/mirrorlist/clearos-community-updates-6 error was
12: Timeout on http://mirrorlist.clearfoundation.com/clearos/mirrorlist/clearos-community-updates-6: (28, 'connect() timed out!')
* clearos-centos: download4.clearsdn.com
* clearos-centos-updates: download4.clearsdn.com
* clearos-fast-updates: download4.clearsdn.com
* private-clearcenter-dyndns: download4.clearsdn.com:80
[root@router yum.repos.d]# ping mirrorlist.clearfoundation.com
PING mirrorlist.clearfoundation.com (209.90.117.202) 56(84) bytes of data.
[...]
--- mirrorlist.clearfoundation.com ping statistics ---
132 packets transmitted, 0 received, 100% packet loss, time 131600ms
-
Accepted Answer
Still working!
[root@gandalf ~]# yum update
Failed to set locale, defaulting to C
Loaded plugins: clearcenter-marketplace, fastestmirror
ClearCenter Marketplace: fetching repositories...
Loading mirror speeds from cached hostfile
* clearos: mirror1-london.clearos.com
* clearos-centos-verified: mirror1-london.clearos.com
* clearos-contribs: mirror1-london.clearos.com
* clearos-epel-verified: mirror1-london.clearos.com
* clearos-fast-updates: download4.clearsdn.com
* clearos-infra: mirror1-london.clearos.com
* private-clearcenter-ad: download2.clearsdn.com:80
* private-clearcenter-antimalware: download4.clearsdn.com:80
* private-clearcenter-antispam: download2.clearsdn.com:80
* private-clearcenter-business: download4.clearsdn.com:80
* private-clearcenter-content-filter: download2.clearsdn.com:80
* private-clearcenter-dyndns: download4.clearsdn.com:80
* private-clearcenter-dynvpn: download2.clearsdn.com:80
* private-clearcenter-ids: download4.clearsdn.com:80
* private-clearcenter-master-slave: download2.clearsdn.com:80
* private-clearcenter-rbs: download4.clearsdn.com:80
* private-clearcenter-security-audit: download2.clearsdn.com:80
* private-clearcenter-verified-updates: download4.clearsdn.com:80
* private-clearcenter-wpad: download2.clearsdn.com:80
No packages marked for update
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
Yeah, I'll sleep later. The way that the mirrors are set up is that all of them can be used as a temporary 'master' if there is any problem like this. That is what I've done is to move everything to a different node while I try and figure out what happened. The damage doesn't look all that bad but we may have some hiccups for the next hour or so while I'm testing. Sorry for the inconvenience everyone. -
Accepted Answer
-
Accepted Answer
It's 3 AM but I'm looking into it. I've put in a temporary workaround, can you all see if you can do updates and upgrades? Also, can you let me know if you can get to this URL:
http://mirror1-orem.clearos.com/clearos/ -
Accepted Answer
-
Accepted Answer
I cant reach the mirrors right now either, yum makecache and yum upgrade fail
Cannot find a valid baseurl for repo: clearos/7
Loaded plugins: clearcenter-marketplace, fastestmirror
ClearCenter Marketplace: fetching repositories...
Could not retrieve mirrorlist http://mirrorlist.clearos.com/clearos/mirrorlist/clearos-current-os-7 error was
12: Timeout on http://mirrorlist.clearos.com/clearos/mirrorlist/clearos-current-os-7: (28, 'Connection timed out after 30001 milliseconds')
One of the configured repositories failed (Unknown),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:
1. Contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).
3. Disable the repository, so yum won't use it by default. Yum will then
just ignore the repository until you permanently enable it again or use
--enablerepo for temporary usage:
yum-config-manager --disable <repoid>
4. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:
yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true
Cannot find a valid baseurl for repo: clearos/7 -
Accepted Answer
Not sure what is going on but for some reason the url http://mirrorlist.clearos.com in not working. DNS problem? I'm going to try to ping someone from Clearcenter. -
Accepted Answer
I have the similar problem and another thread going
https://www.clearos.com/clearfoundation/social/community/updates-on-community-7-2

Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »