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@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@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@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@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
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@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@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@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@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
well.
Incoming is FINE. Outgoing nope. not SSH from server to another host, only TO server that has this problem.
no proxy/firewall.
black magic?? hehe
cheers,
----- Original Message ----- From: "Tru Huynh" tru@pasteur.fr To: "CentOS discussion and information list" centos@caosity.org Sent: Wednesday, February 23, 2005 11:10 AM Subject: Re: [Centos] error when trying access internet.
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@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@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@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@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 _______________________________________________ CentOS mailing list CentOS@caosity.org http://lists.caosity.org/mailman/listinfo/centos
On Wed, Feb 23, 2005 at 11:25:55AM -0300, Tiago Bahi - VOE INTERNET wrote:
well.
Incoming is FINE. Outgoing nope.
then your routing table is wrong
double check these files /etc/sysconfig/network /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0:0 /etc/sysconfig/static-routes /etc/hosts /etc/resolv.conf
and ANSWER the questions asked if you want some help.
.02 cents
Tru
Tru Huynh wrote:
On Wed, Feb 23, 2005 at 11:25:55AM -0300, Tiago Bahi - VOE INTERNET wrote:
well.
Incoming is FINE. Outgoing nope.
then your routing table is wrong
double check these files /etc/sysconfig/network /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0:0 /etc/sysconfig/static-routes /etc/hosts /etc/resolv.conf
and ANSWER the questions asked if you want some help.
Most likely it's your GATEWAY.
Also, route isn't very useful by itself, the output of "route -n" is more useful.
-Mike
No errors in server, but i think exists an error in router.
if I try get document in another comp in the same network class I do it with successfull
I will put this computer in another class... aff
Thanks by attention...
and if someone need help, I stay here! With a poor english but some of interest :-)
I need to give back 2 cents that Tru given me! :D
----- Original Message ----- From: "Tru Huynh" tru@pasteur.fr To: "CentOS discussion and information list" centos@caosity.org Sent: Wednesday, February 23, 2005 11:45 AM Subject: Re: [Centos] error when trying access internet.
On Wed, Feb 23, 2005 at 11:25:55AM -0300, Tiago Bahi - VOE INTERNET wrote:
well.
Incoming is FINE. Outgoing nope.
then your routing table is wrong
double check these files /etc/sysconfig/network
HOSTNAME=cedaspy.com.br NETWORKING=yes GATEWAY=200.138.174.1
/etc/sysconfig/network-scripts/ifcfg-eth0
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
/etc/sysconfig/network-scripts/ifcfg-eth0:0
DEVICE=eth0:0 BOOTPROTO=static IPADDR=200.138.174.30 NETMASK=255.255.255.0 ONBOOT=yes TYPE=Ethernet
/etc/sysconfig/static-routes
no such file
/etc/hosts
# Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 local localhost 200.138.174.27 cedaspy cedaspy.com.br
/etc/resolv.conf
search cedaspy.com.br nameserver 200.138.174.27
and ANSWER the questions asked if you want some help.
of course that YES if I know how help.
.02 cents
Tru
On Wed, Feb 23, 2005 at 12:06:49PM -0300, Tiago Bahi - VOE INTERNET wrote:
No errors in server, but i think exists an error in router.
nope, you are set your server as your own DNS server. Are you sure you want that?
/etc/sysconfig/network
HOSTNAME=cedaspy.com.br NETWORKING=yes GATEWAY=200.138.174.1
ok
/etc/sysconfig/network-scripts/ifcfg-eth0
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
ok
/etc/sysconfig/network-scripts/ifcfg-eth0:0
DEVICE=eth0:0 BOOTPROTO=static IPADDR=200.138.174.30 NETMASK=255.255.255.0 ONBOOT=yes TYPE=Ethernet
ok
/etc/resolv.conf
search cedaspy.com.br nameserver 200.138.174.27
-------------^^^^^^^^^^^^^^ that is your own machine, do you have a DNS server running there?
change /etc/resov.conf to
search cedaspy.com.br nameserver 200.175.11.2 nameserver 200.175.11.3
of course that YES if I know how help.
:D
Tru
Hello, Tru
Yes,
No problem to resolv hosts. But not connecting yet. aff
Tiago
----- Original Message ----- From: "Tru Huynh" tru@pasteur.fr To: "CentOS discussion and information list" centos@caosity.org Sent: Wednesday, February 23, 2005 12:46 PM Subject: Re: [Centos] error when trying access internet.
On Wed, Feb 23, 2005 at 12:06:49PM -0300, Tiago Bahi - VOE INTERNET wrote:
No errors in server, but i think exists an error in router.
nope, you are set your server as your own DNS server. Are you sure you want that?
/etc/sysconfig/network
HOSTNAME=cedaspy.com.br NETWORKING=yes GATEWAY=200.138.174.1
ok
/etc/sysconfig/network-scripts/ifcfg-eth0
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
ok
/etc/sysconfig/network-scripts/ifcfg-eth0:0
DEVICE=eth0:0 BOOTPROTO=static IPADDR=200.138.174.30 NETMASK=255.255.255.0 ONBOOT=yes TYPE=Ethernet
ok
/etc/resolv.conf
search cedaspy.com.br nameserver 200.138.174.27
-------------^^^^^^^^^^^^^^ that is your own machine, do you have a DNS server running there?
change /etc/resov.conf to
search cedaspy.com.br nameserver 200.175.11.2 nameserver 200.175.11.3
of course that YES if I know how help.
:D
Tru _______________________________________________ CentOS mailing list CentOS@caosity.org http://lists.caosity.org/mailman/listinfo/centos
On Wed, 2005-02-23 at 10:52, Tiago Bahi - VOE INTERNET wrote:
Hello, Tru
Yes,
No problem to resolv hosts. But not connecting yet. aff
Tiago
Did you setup firewall rules when you installed the system? An iptables -L -v might shed some light. Just a thought.
On Wed, Feb 23, 2005 at 12:52:38PM -0300, Tiago Bahi - VOE INTERNET wrote:
Hello, Tru
Yes,
yes to which question?
<off topic> could you - stop "top posting" and quote the relevant part of the message you are answering? - avoid resending the complete email you are answering?
see http://www.neverending.org/~ftobin/resources/formatting_email_replies/ http://www.river.com/users/share/etiquette/ </off topic>
No problem to resolv hosts. But not connecting yet.
can you ping outside your LAN ? ping www.google.com can you traceroute outside your LAN ? traceroute www.google.com (please run the commands and copy the output)
Tru
first: sorry by my error in answering...
yes, I have a name server running, but I alter resolv.conf to search cedaspy.com.br nameserver 200.175.11.2 nameserver 200.175.11.3
I alter routes to GVT backbone AND BrT backbone
can you ping outside your LAN ? ping www.google.com
Yes, I ping outside without problem
[root@cedaspy root]# ping www.google.com PING www.google.akadns.net (64.233.161.99) 56(84) bytes of data. 64 bytes from 64.233.161.99: icmp_seq=0 ttl=244 time=169 ms 64 bytes from 64.233.161.99: icmp_seq=1 ttl=244 time=171 ms
can you traceroute outside your LAN ? traceroute www.google.com
Yes, without problems, google is so afar. registro.br is better for the test
[root@cedaspy root]# traceroute registro.br traceroute to registro.br (200.160.2.3), 30 hops max, 38 byte packets 1 rt.voe.com.br (200.175.11.1) 8.933 ms 1.237 ms 1.148 ms 2 200.175.0.193 (200.175.0.193) 12.618 ms 9.686 ms 19.258 ms 3 ge-3-ctacore.gvt.net.br (200.175.0.49) 19.641 ms 4.691 ms 5.663 ms 4 200.250.236.9 (200.250.236.9) 17.615 ms 56.556 ms 14.733 ms 5 ebt-A5-0-5-core01.spo.embratel.net.br (200.230.0.246) 15.726 ms 17.703 ms 16.332 ms MPLS Label=252 CoS=6 TTL=1 S=0 6 200.230.242.16 (200.230.242.16) 17.044 ms 39.394 ms 25.577 ms 7 registrobr-P7-1-gacc05.spo.embratel.net.br (200.228.125.22) 54.220 ms 79.509 ms 76.556 ms 8 REGISTRO.BR (200.160.2.3) 60.229 ms 54.574 ms 47.874 ms
Tru,
I test another command...
[root@cedaspy root]# wget http://www.google.com --18:01:56-- http://www.google.com/ => `index.html' Resolving www.google.com... feito. Connecting to www.google.com[64.233.161.99]:80...
and cursor stop in this without answer.
curl result in nothing, like links app with message Connecting...
and sorry by stupid errors again.
thanks,
Tiago
On Wed, Feb 23, 2005 at 03:06:14PM -0300, Tiago Bahi - VOE INTERNET wrote:
first: sorry by my error in answering...
no pb ;)
Yes, without problems, google is so afar. registro.br is better for the test
[root@cedaspy root]# traceroute registro.br traceroute to registro.br (200.160.2.3), 30 hops max, 38 byte packets 1 rt.voe.com.br (200.175.11.1) 8.933 ms 1.237 ms 1.148 ms
... why is your 1st hop to 200.175.11.1? your gateway was 200.138.174.1 in your /etc/sysconfig/network and rt2.voe.com.br in your "route" ouput
and something is weird in the DNS setup from voe.com.br (at least from this side of the network):
[tru@carrington ~]$ host rt2.voe.com.br Host rt2.voe.com.br not found: 3(NXDOMAIN) [tru@carrington ~]$ dig -x 200.138.174.1
; <<>> DiG 9.2.4 <<>> -x 200.138.174.1 ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33090 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0
;; QUESTION SECTION: ;1.174.138.200.in-addr.arpa. IN PTR
;; ANSWER SECTION: 1.174.138.200.in-addr.arpa. 86400 IN PTR rt2.voe.com.br.
;; AUTHORITY SECTION: 174.138.200.in-addr.arpa. 259200 IN NS ns2.voe.com.br. 174.138.200.in-addr.arpa. 259200 IN NS ns.voe.com.br.
;; Query time: 550 msec ;; SERVER: 10.0.0.138#53(10.0.0.138) ;; WHEN: Thu Feb 24 00:14:20 2005 ;; MSG SIZE rcvd: 107
can you run: netstat -rn
I test another command...
[root@cedaspy root]# wget http://www.google.com --18:01:56-- http://www.google.com/ => `index.html' Resolving www.google.com... feito. Connecting to www.google.com[64.233.161.99]:80...
and cursor stop in this without answer.
curl result in nothing, like links app with message Connecting...
and sorry by stupid errors again.
could you test with only eth0 active by de-activating the aliased eth0:0 network?
otherwise, I am running out of idea.
Tru