What's the cause / reason of: "unable to resolve host WS24 !?

jsan4christ sjolweny85 at yahoo.co.uk
Wed Jan 7 15:44:15 UTC 2009




sudo is very unhappy if it cannot resolve the system hostname.  The fix
is to make sure /etc/hosts has an entry for the hostname.  In your case
the top of the file should look like this:

127.0.0.1	localhost
127.0.1.1	WS24


Now, editing /etc/hosts is difficult if sudo doesn't work for you. 

use gksudo gedit /etc/hosts

this should give you a provide you with dialog to authenticate and then the
page to edit.

cheers!


-- 
View this message in context: http://www.nabble.com/What%27s-the-cause---reason-of%3A-%22unable-to-resolve-host-WS24-%21--tp16896865p21333882.html
Sent from the ubuntu-users mailing list archive at Nabble.com.





More information about the ubuntu-users mailing list