On Tue, Apr 03, 2007 at 10:29:36PM +0200, Firas Kraiem wrote:
> Greetings
> 
> I get this message when booting my FBSD home webserver :
> 
>      Apr  3 22:23:55 alice sm-mta[509]: My unqualified host name (alice)
>      unknown; sleeping for retry
> 
> From what I've understood after a bit of searching, the answer lies probably 
> in the /etc/hosts file. So here goes :
> 
>      127.0.0.1               localhost alice
>      192.168.1.2             alice

The hostname "alice" should have a domain part. And it should match the
hostname that is set in /etc/rc.conf. E.g, if /etc/rc.conf says

hostname="alice.home.net"

then /etc hosts should have

::1             localhost localhost.home.net
127.0.0.1       localhost localhost.home.net
192.168.1.2     alice alice.home.net


HTH, Roland
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

Attachment: pgpJZqm9dr3Hy.pgp
Description: PGP signature

Reply via email to