Results 1 to 2 of 2
I'm running Debian Etch and recently (I can't say when, I've only just noticed it) syslog (klogd) is recording 'localhost' as the system name rather than the computer's hostname. I've ...
- 09-06-2007 #1Just Joined!
- Join Date
- Sep 2007
- Posts
- 2
Syslog recording localhost instead of hostname
I'm running Debian Etch and recently (I can't say when, I've only just noticed it) syslog (klogd) is recording 'localhost' as the system name rather than the computer's hostname. I've also noticed 'localhost' is sent by exim4 in its Hello/EHLO/HELO response.
The hostname command shows the hostname, as does /etc/hostname. /etc/hosts is unchanged from when it was recording correctly. Does anyone have any ideas as to why this behaviour has started?
I've tried searching but keep hitting false trails and dead ends. I've also posted in debianhelp.com's forums but so far no response.
- 09-08-2007 #2Just Joined!
- Join Date
- Sep 2007
- Posts
- 2
I fixed this and it turned out to be an /etc/hosts problem after all.
I moved the 127.0.0.1 xxx line to after the LAN address line and restarted the affected services. All is now well


Reply With Quote
