very long boot sshd
m.seaman at infracaninophile.co.uk
Thu Apr 8 04:01:42 PDT 2004
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 often reboot.
> 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
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.
Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614 Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040408/1d9fb56f/attachment.bin
More information about the freebsd-questions