From owner-freebsd-questions@FreeBSD.ORG Mon May 12 01:20:15 2003 Return-Path: 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 ED50C37B401 for ; Mon, 12 May 2003 01:20:15 -0700 (PDT) Received: from Gina.esfm.ipn.mx (esfm.ipn.mx [148.204.102.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id E70AB43FCB for ; Mon, 12 May 2003 01:20:14 -0700 (PDT) (envelope-from mrspock@esfm.ipn.mx) Received: from Gina.esfm.ipn.mx (localhost [127.0.0.1]) by Gina.esfm.ipn.mx (8.12.6p2/8.12.6) with ESMTP id h4C8IJEJ089404; Mon, 12 May 2003 03:18:19 -0500 (CDT) (envelope-from mrspock@esfm.ipn.mx) Received: from localhost (mrspock@localhost)h4C8IIvT089400; Mon, 12 May 2003 03:18:19 -0500 (CDT) X-Authentication-Warning: Gina.esfm.ipn.mx: mrspock owned process doing -bs Date: Mon, 12 May 2003 03:18:18 -0500 (CDT) From: Eduardo Viruena Silva To: vizion communication In-Reply-To: <002301c31826$f347d1e0$15b55042@vizion2000.net> Message-ID: <20030512024434.R88785@Gina.esfm.ipn.mx> References: <72F740A8-8384-11D7-A664-000393460DB2@soupnazi.org> <002301c31826$f347d1e0$15b55042@vizion2000.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Jim Mock cc: freebsd-questions@freebsd.org Subject: Re: Long time - sendmail on boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 May 2003 08:20:16 -0000 On Sun, 11 May 2003, vizion communication wrote: > OK > > Still same problem > > Proper entries were in /etc/hosts > > Any other ideas? > > Maybe I should find a way of starting the dns earlier and > see if that does it > > David > > ----- Original Message ----- > From: "Jim Mock" > To: "vizion communication" > Cc: > Sent: Sunday, May 11, 2003 12:44 AM > Subject: Re: Long time - sendmail on boot > > > > On Saturday, May 10, 2003, at 04:15 PM, vizion > communication wrote: > > > Hi > > > > > > On booting system takes for ever before on ntpdate > (followed by > > > portmap) and sendmail (followed by > sendmail-clientmailqueue) > > > > > > The system is also the dnsserver for this network so I > am wondering if > > > that could have anything to do with it. > > > > This usually happens when your DNS is broken, i.e., your machine is > > named something that doesn't exist. > > > > - jim > > Well, if your system is the dns of your network check if the first name server specified in your /etc/resolv.conf file is: nameserver 127.0.0.1 I don't think the name you assign to your system is the problem. I rather believe that the problem happens when your system cannot reach its dns. When I saw your question and Jim's answer, I made some test at home because I had had this problem before and I did not know why it happends. 1) If I don't configure my NIC, there is no problem... ... except, of course, I'm isolated. 2) If my NIC is set and I don't set a nameserver, my systems takes 3 minutes to pass, from: Starting sshd to: Initial i386 initialization when it boots, as you reported. 3) If my NIC is set and I include my computer's name in /etc/hosts but I don't specify a name server, my system also has the problem. 4) If my NIC is set, its name server is set, but its name is not registered in /etc/hosts, there is no problem. test 1-4 were repited with a non-existent name, and the results were the same. conclusion: ---------- The problem does not depend on the system's name. The problem does not depend on including the system's name in /etc/hosts. It just depends on reaching the name server. Now, I made another test. I created a local name server, registered my system's name and set 127.0.0.1 as the first name server. There is no problem even if my NIC is completely unplugged. Set 127.0.0.1 as your first name server in /etc/hosts. Eduardo.