Thread: /etc/hosts
View Single Post
  #1 (permalink)  
Old 10-28-2009, 05:42 AM
watoan watoan is offline
New Member
 
Posts: 4
Default /etc/hosts

Code:
ERROR: Installation can not proceeed.  Please fix your /etc/hosts file
to contain:

  

Where  is the ip address of the host,
 is the FULLY QUALIFIED host name, and
 is the (optional) hostname-only portion
my server is Centos 5.4, running DHCP & DNS server, also using iptables as a NAT routing function.
server ip as below:
Code:
eth0      Link encap:Ethernet  HWaddr 00:25:86:E3:8A:F0
          inet addr:61.xxx.xxx.xxx  Bcast:61.239.244.223  Mask:255.255.255.240
          inet6 addr: fe80::225:86ff:fee3:8af0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:20715862 errors:0 dropped:0 overruns:0 frame:0
          TX packets:20448921 errors:0 dropped:0 overruns:4 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:226451162 (215.9 MiB)  TX bytes:506573952 (483.1 MiB)
          Interrupt:225 Base address:0xc000

eth1      Link encap:Ethernet  HWaddr 00:14:5E:5C:67:A5
          inet addr:192.168.20.1  Bcast:192.168.20.255  Mask:255.255.255.0
          inet6 addr: fe80::214:5eff:fe5c:67a5/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:17470970 errors:12 dropped:0 overruns:0 frame:6
          TX packets:14759155 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:2581620686 (2.4 GiB)  TX bytes:1005291186 (958.7 MiB)
          Memory:e8300000-e8320000
also /etc/hosts looks like below:
Code:
127.0.0.1       localhost.localdomain localhost

what should I add into the hosts file for the installation?
Reply With Quote