CentOS 6.8 Yum cannot connect?
Re: CentOS 6.8 Yum cannot connect?
baseurl= is meant to be commented as it uses the mirrorlist= list instead. The proxy line is weird and probably shouldn't be there.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: CentOS 6.8 Yum cannot connect?
I can reach the destination on port 80 actually...yum.repos.d]# telnet mirrorlist.centos.org 80
Trying 85.236.43.108...
Connected to mirrorlist.centos.org.
commented all baseurl and uncommented mirrorlist ones. still no difference
Re: CentOS 6.8 Yum cannot connect?
Yum points me to some error with base repo. cannot find valid baseurl
and this is my Base repo file.
can someone suggest is anything wrong?
yum update
Loaded plugins: fastestmirror
Setting up Update Process
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6 ... nfra=stock error was
14: PYCURL ERROR 56 - "Failure when receiving data from the peer"
Error: Cannot find a valid baseurl for repo: Base
[root@NDCPRFIRPLB01N1 yum.repos.d]#
and this is my Base repo file.
[Base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$ ... fra=$infra
#baseurl=http://mirror.centos.org/centos/$releas ... $basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$ ... fra=$infra
#baseurl=http://mirror.centos.org/centos/$releas ... $basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$ ... fra=$infra
#baseurl=http://mirror.centos.org/centos/$releas ... $basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$ ... fra=$infra
#baseurl=http://mirror.centos.org/centos/$releas ... $basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
can someone suggest is anything wrong?
Last edited by sancho85 on 2017/08/29 04:23:33, edited 3 times in total.
Re: CentOS 6.8 Yum cannot connect?
Curl to that destination works as well.
Now i know that problem is local.
Now i know that problem is local.
curl --ipv4 'http://mirrorlist.centos.org/?release=6 ... epo=os&inf'
http://mirror.aarnet.edu.au/pub/centos/6.9/os/x86_64/
http://mirror.intergrid.com.au/centos/6.9/os/x86_64/
http://mirror.as24220.net/pub/centos/6.9/os/x86_64/
http://centos.mirror.serversaustralia.c ... os/x86_64/
http://centos.mirror.digitalpacific.com ... os/x86_64/
http://mirror.nsw.coloau.com.au/centos/6.9/os/x86_64/
http://mirror.internode.on.net/pub/cent ... os/x86_64/
http://mirror.colocity.com/centos/6.9/os/x86_64/
http://centos.mirror.ausnetservers.net. ... os/x86_64/
http://mirror.ventraip.net.au/CentOS/6.9/os/x86_64/
[root@NDCPRFIRPLB01N1 ~]#
Re: CentOS 6.8 Yum cannot connect?
Output of yum repolist says i have problems in epel and elrepo.... but these repo files are identical to other servers that work fineyum repolist
Loaded plugins: fastestmirror
Determining fastest mirrors
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6 ... nfra=stock error was
14: PYCURL ERROR 56 - "Failure when receiving data from the peer"
Could not retrieve mirrorlist http://mirrors.elrepo.org/mirrors-elrepo.el6 error was
14: PYCURL ERROR 56 - "Failure when receiving data from the peer"
http://elrepo.org/linux/elrepo/el6/x86_ ... repomd.xml: [Errno 14] PYCURL ERROR 56 - "Failure when receiving data from the peer"
Trying other mirror.
http://mirrors.coreix.net/elrepo/elrepo ... repomd.xml: [Errno 14] PYCURL ERROR 56 - "Failure when receiving data from the peer"
Trying other mirror.
http://jur-linux.org/download/elrepo/el ... repomd.xml: [Errno 14] PYCURL ERROR 56 - "Failure when receiving data from the peer"
Trying other mirror.
http://repos.lax-noc.com/elrepo/elrepo/ ... repomd.xml: [Errno 14] PYCURL ERROR 56 - "Failure when receiving data from the peer"
Trying other mirror.
http://mirror.ventraip.net.au/elrepo/el ... repomd.xml: [Errno 14] PYCURL ERROR 56 - "Failure when receiving data from the peer"
Trying other mirror.
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6 ... nfra=stock error was
14: PYCURL ERROR 56 - "Failure when receiving data from the peer"
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6 ... nfra=stock error was
14: PYCURL ERROR 56 - "Failure when receiving data from the peer"
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
[root@NDCPRFIRPLB01N1 ~]#
Re: CentOS 6.8 Yum cannot connect?
The Problem is solved.
1. we had problems on firewall that was blocking access to repo.
2. something was wrong with links inside the repo files. Solved it via copying these file from identical servers.
1. we had problems on firewall that was blocking access to repo.
2. something was wrong with links inside the repo files. Solved it via copying these file from identical servers.