Error: Cannot retrieve repository metadata (repomd.xml) for repository: addons. Please verify its path and try again

Hoje, ao realizar um procedimento de rotina em um servidor dedicado, o comando YUM retornou alguns erros, veja abaixo:

Loaded plugins: fastestmirror

Determining fastest mirrors
http://mirrors.service.softlayer.com/centos/5/addons/x86_64/repodata/repomd.xml: [Errno 4] IOError:
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: addons. Please verify its path and try again

root@server [~]# yum -y update
Loaded plugins: fastestmirror
Existing lock /var/run/yum.pid: another copy is running as pid 19898.
Another app is currently holding the yum lock; waiting for it to exit…
The other application is: yum-updatesd-he
Memory : 21 M RSS (249 MB VSZ)
Started: Tue Sep 13 13:53:40 2011 – 01:25 ago
State : Sleeping, pid: 19898
Another app is currently holding the yum lock; waiting for it to exit…
The other application is: yum-updatesd-he
Memory : 21 M RSS (249 MB VSZ)
Started: Tue Sep 13 13:53:40 2011 – 01:27 ago
State : Sleeping, pid: 19898
Another app is currently holding the yum lock; waiting for it to exit…
The other application is: yum-updatesd-he
Memory : 21 M RSS (249 MB VSZ)
Started: Tue Sep 13 13:53:40 2011 – 01:29 ago
State : Sleeping, pid: 19898
Another app is currently holding the yum lock; waiting for it to exit…
The other application is: yum-updatesd-he
Memory : 21 M RSS (249 MB VSZ)
Started: Tue Sep 13 13:53:40 2011 – 01:31 ago
State : Sleeping, pid: 19898

 

Esse erro aconteceu em um servidor hospedado na Softlayer. Cheguei a pensar que fosse erro da rede interna deles, ou falha do “DNS resolver” (/etc/resolv.conf) (coincidentemente havia um problema no momento, na rede interna deles, mas não era o caso). Depois de fazer alguns ajustes, outro erro retornava:

 

root@server [~]# yum -y update
Loaded plugins: fastestmirror
Determining fastest mirrors
* base: mirror.vcu.edu
http://mirrors.service.softlayer.com/centos/5/addons/x86_64/repodata/repomd.xml: [Errno 4] IOError: <urlopen error (110, ‘Connection timed out’)>
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: addons. Please verify its path and try again

 

Depois de algumas outras análises, identificamos que o problema estava no CSF (plugin script firewall) que por uma razão ainda desconhecida, bloqueava a VLAN.



  • Mauro

    Uma pergunta. Como faço pra configurar o firewall para corrigir este problema?
    Obrigado.

Formas de Pagamento

Tecnologias

Visa MasterCard Diner's Club American Express Banrisul Banco do Brasil Bradesco Banco Real Banco Itaú Boleto Bancário