[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Hostname (none) after dist-upgrade



Hans du Plooy(koffiejunkielistlurker@koffiejunkie.za.net) is reported to have said:
> Hi guys,
> 
> I did a dist-upgrade from sarge to etch on a server and all went well,
> except for one thing.  At console, I now see this:
> 
> root@(none):~#hostname
> (none)
> root@(none):~# hostname -f
> hostname: Unknown host
> 
> BUT:
> 
> root@(none):~# cat /etc/hostname
> rimwards.obscured.tld
> root@(none):~# cat /etc/hosts
> 127.0.0.1       localhost
> 80.xxx.xxx.xxx     rimwards.obscured.tld rimwards
> 
> If I set the hostname manually with hostname <hostname>
> 
> Has anyone seen this or know how to fix it?  I'm chasing my tail right now.

Thy this.  echo "rimwards" > /etc/hostname
rimwards.obscured.tld is the FQDN

Here is what it is here
hostname
buddy

hostname --fqdn
buddy.mtntop.home

:-) HTH, YMMV, HAND :-)

Wayne
-- 
Never say "OOPS!" always say "Ah, Interesting!"
_______________________________________________________



Reply to: