From owner-freebsd-questions@FreeBSD.ORG Thu Apr 8 04:01:42 2004 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 7713F16A4CE for ; Thu, 8 Apr 2004 04:01:42 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE05943D46 for ; Thu, 8 Apr 2004 04:01:41 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i38B1YoH060699 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 8 Apr 2004 12:01:34 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i38B1XF3060628; Thu, 8 Apr 2004 12:01:33 +0100 (BST) (envelope-from matthew) Date: Thu, 8 Apr 2004 12:01:33 +0100 From: Matthew Seaman To: RazorOnFreeBSD Message-ID: <20040408110133.GB71019@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , RazorOnFreeBSD , freebsd-questions@freebsd.org References: <049101c41cc4$47943700$8215670c@razorwork> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PmA2V3Z32TCmWXqI" Content-Disposition: inline In-Reply-To: <049101c41cc4$47943700$8215670c@razorwork> User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk X-Virus-Scanned: clamd / ClamAV version devel-20040323, clamav-milter version 0.70a cc: freebsd-questions@freebsd.org Subject: Re: very long boot sshd 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: Thu, 08 Apr 2004 11:01:42 -0000 --PmA2V3Z32TCmWXqI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 07, 2004 at 07:17:53PM +0200, RazorOnFreeBSD wrote: > I am actually trying to fix my computer for network problems and so I oft= en reboot.=20 > But each reboot is a real pain.... I don't know why the system loading is= blocking on "Starting sshd".... Actually the 'Starting sshd' message indicates that sshd started up perfectly well, and it the next thing that the system is trying to start which is giving you problems. On my system the next thing happens to be sendmail(8), and that has been known to cause this sort of hang-up. sendmail(8) will spend a lot of effort trying to get the IP number and fully qualified domain names for all interfaces present on the system when it starts up. Which means that information has to be in the DNS (preferably) or in /etc/hosts. If you check the /var/log/messages log file you should see entries where sendmail complains about not being able to do that -- the long delay is actually sendmail waiting out the DNS timeout (30s per query -- doesn't sound like much, but it feels like forever). Now, given that what I've guessed is correct: you may be using a system on a private network -- eg. behind a NAT gateway -- and you may not have any sort of domain name setup, just bare hostnames. In which case, just invent a domain part -- say 'localdomain' and make sure there's an entry for 'hostname.localdomain' in /etc/hosts. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --PmA2V3Z32TCmWXqI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAdTENdtESqEQa7a0RAtOrAJ98plCLvA/xpX4Bjkjr7CXZCge6MQCePab+ 92QCiWCfhQg5vsiZPygfvuo= =+rI2 -----END PGP SIGNATURE----- --PmA2V3Z32TCmWXqI--