sudo: unable to resolve host (FQDN)
Ric Moore
wayward4now at gmail.com
Sat Mar 24 21:28:30 UTC 2012
On 03/24/2012 04:46 PM, Avi Greenbury wrote:
> thufir wrote:
>
>> After looking over the man page and the google, it's less clear than
>> when I started.
>>
>> In any event, I'm trying to setup an FQDN as so:
>>
>> https://gist.github.com/2186508
>>
>>
>> what I'm getting is that inn2 won't install correctly and that sudo
>> gives an error (warning?) sudo: unable to resolve host dur.
>>
>>
>> My reading of man pages was to change the hostname in /etc/hosts and
>> reboot, but obviously that's incorrect. Aside from using the
>> hostname command, what's required here?
>
> To make Sudo stop complaining, your hostname *and* FQDN should be listed
> in /etc/hosts:
>
> 127.0.1.1 dur.bounceme.net dur
>
> I don't know inn2 well enough to know what it's trying to do, but that
> may help (though I see this is how it was configured before). Sudo will
> only be warning; it'll carry on even if it can't resolve its hostname.
Look in /etc as you ALSO have the hostname file to check as well. I miss
the good ole days.
wayward4now at iam:/etc$ more hostname
iam
wayward4now at iam:/etc$ hostname
iam
wayward4now at iam:/etc$ hostname -f
iam.wayward4now.net
wayward4now at iam:/etc$
:) Ric
--
My father, Victor Moore (Vic) used to say:
"There are two Great Sins in the world...
..the Sin of Ignorance, and the Sin of Stupidity.
Only the former may be overcome." R.I.P. Dad.
http://linuxcounter.net/user/44256.html
More information about the ubuntu-users
mailing list