Subject: Re: Bug found: help to isolate it
To: Lista de NetBSD Users <list10@sepc.edu.mx>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-users
Date: 05/13/2002 23:02:34
On Sat, May 11, 2002 at 11:42:54AM -0500, Lista de NetBSD Users wrote:
> Hello
> 
> It occurs aprox one time/year, and it is passing in this
> moment. (NetBSD-1.5.2/i386).
> It seems like syslogd failing.
> 
> I can start my ssh session perfectly to the server.
> 
> kepler> w
> 11:42AM  up 26 days, 15:43, 2 users, load averages: 0.21, 0.18, 0.17
> USER    TTY FROM              LOGIN@  IDLE WHAT
> gallegos p0 almeria.nodosur. 11:28AM    13 _csh
> gallegos p1 almeria.nodosur. 11:31AM     0 w
> kepler>
> 
> In my first session (P0) I am waiting for the root prompt.
> (I can't have a root session!!!!). For my own experience,
> if I I turn off the power and then turn it on... The machine
> will start, will fsck disks and then will work fine again.

Do you have ddb compiled in ? If so you can try to enter ddb and kill
syslogd with the kill command (it uses hex numbers for PID, so you need
to convert the ps output first).

You can also have a list of file descriptors in use by syslog using
fstat.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
--