View previous topic :: View next topic |
Author |
Message |
squeeden n00b
Joined: 27 May 2004 Posts: 6 Location: Columbia University, NY
|
Posted: Thu May 27, 2004 8:11 pm Post subject: [network] Can't find localhost !? (solved) |
|
|
Hello,
I recently changed domain names, and all of a sudden I cannot resolve localhost !!! It seems everything in my /etc/hosts file is being ignored. Is there anything obvious I am missing?
Some quick configuration files:
Code: |
root@squeeden etc # cat /etc/hosts
localhost 127.0.0.1
#squeeden.dyndns.org 127.0.0.1
|
Code: |
root@squeeden etc # cat hostname dnsdomainname
squeeden
ne1.client2.attbi.com
|
Code: |
root@squeeden etc # cat resolv.conf
domain ne1.client2.attbi.com
nameserver 204.127.202.19
nameserver 216.148.227.79
search ne1.client2.attbi.com
|
Code: |
root@squeeden etc # ping localhost.ne1.client2.attbi.com
ping: unknown host localhost.ne1.client2.attbi.com
root@squeeden etc # ping localhost
ping: unknown host localhost
root@squeeden etc # ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.094 ms
|
any ideas at all???
Last edited by squeeden on Thu May 27, 2004 9:50 pm; edited 1 time in total |
|
Back to top |
|
|
DaveArb Guru
Joined: 29 Apr 2004 Posts: 510 Location: Texas, USA
|
Posted: Thu May 27, 2004 8:18 pm Post subject: |
|
|
My /etc/hosts lists the IP first.
Code: | 127.0.0.1 localhost |
Dave |
|
Back to top |
|
|
squeeden n00b
Joined: 27 May 2004 Posts: 6 Location: Columbia University, NY
|
Posted: Thu May 27, 2004 8:21 pm Post subject: |
|
|
alright, I'm hanging my head in shame.
that was it.
(I give up). Many thanks on that one. |
|
Back to top |
|
|
Pachacamac Veteran
Joined: 22 Nov 2003 Posts: 1264 Location: Paris - France
|
Posted: Thu May 27, 2004 9:34 pm Post subject: |
|
|
Can you rename your title to make a better forum ?
Click on the "edit" to your firt post and change your title to [Network]Can't find localhost (solved)
Thanks |
|
Back to top |
|
|
|