Tiago Bahi - VOE INTERNET
2005-Feb-23 13:05 UTC
[Centos] error when trying access internet.
Anyone can help? I continue without access from server: /etc/cron.daily/freshclam: ERROR: No servers could be reached. Giving up ERROR: No servers could be reached. Giving up ERROR: No servers could be reached. Giving up ERROR: No servers could be reached. Giving up ERROR: No servers could be reached. Giving up ERROR: No servers could be reached. Giving up ERROR: Update failed. Your network may be down or none of the mirrors listed in freshclam.conf is working. /etc/cron.daily/yum.cron: Error getting file http://mirror.centos.org/centos/3/addons/i386/headers/header.info [Errno 4] IOError: <urlopen error > Error getting file http://mirror.centos.org/centos/3/addons/i386/headers/header.info [Errno 4] IOError: <urlopen error > when I try use wget or links I receive this message: Connecting... <- only this FTP transfer from internet IP address to server not work. ifcfg-eth0 file: DEVICE=eth0 BOOTPROTO=static BROADCAST=200.138.174.255 IPADDR=200.138.174.27 NETMASK=255.255.255.0 NETWORK=200.138.174.0 ONBOOT=yes TYPE=Ethernet [root at cedaspy network-scripts]# route Tabela de Roteamento IP do Kernel Destino Roteador MascaraGen. Opcoes Metrica Ref Uso Iface 200.138.174.0 * 255.255.255.0 U 0 0 0 eth0 default rt2.voe.com.br 0.0.0.0 UG 0 0 0 eth0 [root at cedaspy network-scripts]# ifconfig eth0 Encapsulamento do Link: Ethernet Endereco de HW 00:0E:A6:CD:95:AD inet end.: 200.138.174.27 Bcast:200.138.174.255 Masc:255.255.255.0 UP BROADCASTRUNNING MULTICAST MTU:1500 Metrica:1 RX packets:3451045 errors:0 dropped:0 overruns:0 frame:0 TX packets:1885175 errors:0 dropped:0 overruns:0 carrier:0 colisoes:0 txqueuelen:1000 RX bytes:756511043 (721.4 Mb) TX bytes:937513004 (894.0 Mb) IRQ:5 Endereco de E/S:0xe800 eth0:0 Encapsulamento do Link: Ethernet Endereco de HW 00:0E:A6:CD:95:AD inet end.: 200.138.174.30 Bcast:200.138.174.255 Masc:255.255.255.0 UP BROADCASTRUNNING MULTICAST MTU:1500 Metrica:1 RX packets:3451045 errors:0 dropped:0 overruns:0 frame:0 TX packets:1885177 errors:0 dropped:0 overruns:0 carrier:0 colisoes:0 txqueuelen:1000 RX bytes:756511043 (721.4 Mb) TX bytes:937513248 (894.0 Mb) IRQ:5 Endereco de E/S:0xe800 lo Encapsulamento do Link: Loopback Local inet end.: 127.0.0.1 Masc:255.0.0.0 UP LOOPBACKRUNNING MTU:16436 Metrica:1 RX packets:523640 errors:0 dropped:0 overruns:0 frame:0 TX packets:523640 errors:0 dropped:0 overruns:0 carrier:0 colisoes:0 txqueuelen:0 RX bytes:247085909 (235.6 Mb) TX bytes:247085909 (235.6 Mb) [root at cedaspy /]# uname -a Linux cedaspy.com.br 2.4.21-27.0.2.ELsmp #1 SMP Wed Jan 19 01:53:23 GMT 2005 i686 i686 i386 GNU/Linux [root at cedaspy /]# iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination access for SSH, MySQL, WEB (Apache), Mail - Qmail (Imap, POP3, SMTP) is FINE. Anyone can help? Thanks, Tiago Bahi -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20050223/8bd40654/attachment-0004.html>
On Wed, Feb 23, 2005 at 10:05:58AM -0300, Tiago Bahi - VOE INTERNET wrote:> Anyone can help? ><not centos related issue, network config issue> ...> when I try use wget or links I receive this message: > Connecting... <- only this > > FTP transfer from internet IP address to server not work. > > ifcfg-eth0 file: >nothing special, but why do you have aliases for you IP network?>how does your /etc/hosts /etc/resolv.conf look like?> > [root at cedaspy network-scripts]# route > Tabela de Roteamento IP do Kernel > Destino Roteador MascaraGen. Opcoes Metrica Ref Uso Iface > 200.138.174.0 * 255.255.255.0 U 0 0 0 eth0 > default rt2.voe.com.br 0.0.0.0 UG 0 0 0 eth0[tru at xiii ~]$ host rt2.voe.com.br Host rt2.voe.com.br not found: 3(NXDOMAIN) your router is unknown? what does mirror.centos.org resolve to? [tru at xiii ~]$ host mirror.centos.org mirror.centos.org has address 131.211.85.22 mirror.centos.org has address 131.211.85.43 mirror.centos.org has address 64.8.96.20 mirror.centos.org has address 66.147.238.146 mirror.centos.org has address 69.93.26.26 mirror.centos.org has address 69.93.142.19 mirror.centos.org has address 72.21.40.10> > [root at cedaspy network-scripts]# ifconfig > eth0 Encapsulamento do Link: Ethernet Endereco de HW 00:0E:A6:CD:95:AD > inet end.: 200.138.174.27 Bcast:200.138.174.255 Masc:255.255.255.0 > UP BROADCASTRUNNING MULTICAST MTU:1500 Metrica:1...> > eth0:0 Encapsulamento do Link: Ethernet Endereco de HW 00:0E:A6:CD:95:AD > inet end.: 200.138.174.30 Bcast:200.138.174.255 Masc:255.255.255.0..> > access for SSH, MySQL, WEB (Apache), Mail - Qmail (Imap, POP3, SMTP) is FINE.outgoing ssh but not ftp/http does not make sense to me, except if you have set some proxy for http/ftp and forgot about it. Cheers, Tru