I have a server on amazon which normally runs like a champ; after increasing the instance size this weekend, then decreasing it back down to its normal size, I've started to get odd errors every time I run a command under sudo. Here's an example:
sudo ps -ef
sudo: unable to resolve host domU-##-##-##-##-##-##
Where # is a number. Its important to note the command then executes as expected. I thought there might be something bound oddly in my hosts file so I had a look at that:
127.0.0.1 localhost
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
And it seems pretty normal although I don't know enough to be sure. Can anyone shed some light on this repeating error and how to go about fixing it?