Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Apr 1999 15:58:09 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Soren Harward <soren@cinternet.net>, freebsd-questions@FreeBSD.ORG
Subject:   Re: *really* slow login times
Message-ID:  <19990411155809.I2142@lemis.com>
In-Reply-To: <19990410234409.A1181@cinternet.net>; from Soren Harward on Sat, Apr 10, 1999 at 11:44:09PM -0400
References:  <19990410234409.A1181@cinternet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday, 10 April 1999 at 23:44:09 -0400, Soren Harward wrote:
> I just installed FreeBSD 3.1 on my K6-2 300 a few days ago, and I've been
> having a small problem with the login procedure.  If I reboot the system
> clean, then I can log in with no problems.  But after about 24 hours or
> so, the login starts taking a *very* long time (more than 10 minutes)
> to find my username and ask me for my password.  Any idea what's going
> on?  I think it may have something to do with corruption of my
> /etc/group file.  Could someone send me a copy of a clean one?

This doesn't sound like the correct reason, but I don't have much idea
what the problem is.  /etc/group is a file that grows on your system,
so a fresh one probably won't help.  I'd recommend that you keep the
one you have (rename it) and try this:

#	$Id: group,v 1.18 1998/12/01 21:19:49 dillon Exp $
#
wheel:*:0:root
daemon:*:1:daemon
kmem:*:2:root
sys:*:3:root
tty:*:4:root
operator:*:5:root
mail:*:6:
bin:*:7:
news:*:8:
man:*:9:
games:*:13:
staff:*:20:root
guest:*:31:root
bind:*:53:
uucp:*:66:
xten:*:67:xten
dialer:*:68:
network:*:69:
nogroup:*:65533:
nobody:*:65534:

What else do you have running on the system?  It would be interesting
to see an "ps lt<term>" of the system while it's waiting.  For
example, if you try to log on to /dev/ttyv2, go to a different VT and
enter

  $ ps ltv2

The interesting thing here is the WCHAN field, which gives a first
idea of what could be causing the problem.

Greg
--
When replying to this message, please copy the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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