Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Apr 2004 12:01:33 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        RazorOnFreeBSD <yann.luppo@attglobal.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: very long boot sshd
Message-ID:  <20040408110133.GB71019@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <049101c41cc4$47943700$8215670c@razorwork>
References:  <049101c41cc4$47943700$8215670c@razorwork>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040408110133.GB71019>