Fri, 29 Apr 2005, by mrmazda@ij.net:
This SuSE 8.2 system has run 24/7 more than 2 years. hostname used to work, and the prompts would use it. Not any more, and I have no idea why, or when it broke, but it probably only broke within the past 3-8 weeks.
Which is why reboots aren't all that bad afterall, at least it gives a clue what break when and why.
#hostname (none)
#uname -n (none)
#uname -a Linux (none) 2.4.20-4GB #1 Fri Jan 14 15:08:13 UTC 2005 i586 unknown unknown GNU/Linux
#cat /etc/HOSTNAME ax5t3.ij.net
How is your /etc/hosts file?
#nslookup ax5t3 Server: 207.22.166.61 Address: 207.22.166.61#53
** server can't find ax5t3.ij.net: NXDOMAIN
Yout DNS server config seems to be broken.
nslookup doesn't work on any of my puters. :-(
SuSEconfig also returns "unknown host". Timestamp on 13 byte /etc/HOSTNAME is Nov 2003. Various 1st lines in /etc/resolv.conf have no apparent impact.
Anyone have any idea how to fix this?
Systematically check all files involved, and next time use backups/logbooks when you make changes on a running system, without checking if it survives a reboot. Theo -- Theo v. Werkhoven Registered Linux user# 99872 http://counter.li.org ICBM 52 13 26N , 4 29 47E. + ICQ: 277217131 SUSE 9.2 + Jabber: muadib@jabber.xs4all.nl Kernel 2.6.8 + See headers for PGP/GPG info. Claimer: any email I receive will become my property. Disclaimers do not apply.