Re: Hostname (none) after dist-upgrade
- From: Jeff Dickison <jeffd@xxxxxxxxx>
- Date: Tue, 20 Mar 2007 12:14:45 -0700 (PDT)
On Tue, 20 Mar 2007, Hans du Plooy wrote:
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
Has anyone seen this or know how to fix it? I'm chasing my tail right now.
Thanks
Hans
Hi Hans,
Having it in /etc/hostname should do it, it's actually referenced by /etc/init.d/hostname.sh. So, you might also want to check that it is actually being called at
boot.
you can also set it in /etc/sysctl.conf , add:
kernel.hostname=your.host.name
then, sysctl -p , and you are all set.
hth,
Jeff
---
Human beings were created by water to transport it uphill.
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- References:
- Hostname (none) after dist-upgrade
- From: Hans du Plooy
- Hostname (none) after dist-upgrade
- Prev by Date: Re: Hostname (none) after dist-upgrade
- Next by Date: Re: [ML ISSUE] reply-to field ?
- Previous by thread: Hostname (none) after dist-upgrade
- Next by thread: Hostname (none) after dist-upgrade
- Index(es):
Relevant Pages
|