0

Hello I am using ubuntu server and I am getting an error when I try to use sudo:

sudo: unable to resolve host ira: Resource temporarily unavailable

I have looked this error up and people say its something with /etc/hosts/

Here is mine:

127.0.0.1       localhost.localdomain   localhost
::1             localhost6.localdomain6 localhost6

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

What is wrong with this file? Also what could cause this? was it someone changing this file by hand or is it the system that did it?

Thanks, Ira.

1 Answers1

0

Try to add in your /etc/hosts something like

 127.0.1.1    your-machine
Ced
  • 823
  • 4
  • 13
  • 32