The /etc/hosts file has what appears to be a problem host listing in it. When I correct it, it gets changed back. Here's what happens.
The server's name is pecos.myhost.com and its IP address is 65.66.67.186
The /etc/hosts file looks like this:
#65.66.67.186 pecos pecos pecos.myhost.com pecos.myhost.com
# Do not remove the following line, or various programs
# that require network functionality will fail.
10.0.0.2 pecos_priv.myhost.com pecos_priv
65.66.67.186 pecos pecos pecos.myhost.com pecos.myhost.com
65.66.67.189 pecos189.myhost.com pecos189
65.66.67.188 pecos188.myhost.com pecos188
65.66.67.190 pecos190.myhost.com pecos190
65.66.67.187 pecos187.myhost.com pecos187
127.0.0.1 localhost
That first line moves up and down from day to day - sometimes it's thie first line, like here, sometimes it's the second or the third line, but the comments all stay at the top. A consultant told me to put that line as the first non-commented line (where the 10.0.0.2 is, above). I did that, but it commented it out again. I put it back, and removed the other ".186" line that's the duplicate, and it did the same thing.
I don't know that it matters, but I keep getting a message from cpanel:
IMPORTANT: Do not ignore this email.
The hostname (pecos) resolves to . It should resolve to 65.66.67.186.
Please be sure to correct /etc/hosts as well as the 'A' entry in zone file for
the domain.
Some are all of these problems can be caused by
/etc/resolv.conf being setup incorrectly. Please check this file if you
believe everything else is correct.
You see the /etc/hosts above. /resolv.conf just has two ThePlanet dns servers' IPs in it. As far as I can tell, the "A" entry for pecos (as shown in whm) is correct.
Any ideas?