From owner-freebsd-questions Sun Jun 30 21:30:48 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 97ABF37B400 for ; Sun, 30 Jun 2002 21:30:45 -0700 (PDT) Received: from mail.halplant.com (ip68-100-145-31.nv.nv.cox.net [68.100.145.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDD7343E0A for ; Sun, 30 Jun 2002 21:30:40 -0700 (PDT) (envelope-from A.J.Caines@halplant.com) Received: by mail.halplant.com (Postfix, from userid 1001) id C6C22204; Sun, 30 Jun 2002 13:22:54 -0400 (EDT) Date: Sun, 30 Jun 2002 13:22:54 -0400 From: Andrew J Caines To: FreeBSD Questions Cc: Thomas Widlundh Subject: Re: localhost Message-ID: <20020630172254.GF319@hal9000.halplant.com> Reply-To: Andrew J Caines Mail-Followup-To: FreeBSD Questions , Thomas Widlundh References: <000a01c2203a$c4d59980$3e056dd4@chappe2> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000a01c2203a$c4d59980$3e056dd4@chappe2> Organization: H.A.L. Plant X-PGP-Fingerprint: C59A 2F74 1139 9432 B457 0B61 DDF2 AA61 67C3 18A1 X-Powered-by: FreeBSD 4.6-STABLE X-URL: http://halplant.com:88/ Importance: Normal User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thomas, > Suddenly my freeBSD stops loading for a while with (/etc/messages): I hope you mean /var/log/messages. > sendmail[74]: My unqualified host name (localhost) unknown; sleeping > for retry : Unable to qualify my own domain name > (localhost) -- using short name What is your system's hostname.. # uname -n # egrep ^hostname /etc/rc.conf # egrep ^domain /etc/resolv.conf ..and what do you have for localhost and your system's hostname in /etc/hosts? Yours should look something like this: # uname -n hal9000.halplant.com # egrep ^hostname /etc/rc.conf hostname="hal9000.halplant.com" # egrep 'hal|localhost' /etc/hosts 127.0.0.1 localhost localhost.halplant.com 68.100.145.31 hal9000.halplant.com halplant.com www.halplant.com mail.halplant.com hal9000 hal # egrep ^domain /etc/resolv.conf [I don't have domain set - I use a search path] I suspect you have your hostname aliased to the loopback address (127.0.0.1) and have "localhost" first. -Andrew- -- _______________________________________________________________________ | -Andrew J. Caines- Unix Systems Engineer A.J.Caines@halplant.com | | "They that can give up essential liberty to obtain a little temporary | | safety deserve neither liberty nor safety" - Benjamin Franklin, 1759 | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message