Subject: Bug found: help to isolate it
To: None <netbsd-users@netbsd.org>
From: Lista de NetBSD Users <list10@sepc.edu.mx>
List: netbsd-users
Date: 05/11/2002 11:42:54
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.

kepler> su
Password:

Here nothing pass... If I write ^C then I return to my
prompt immediately.

In my second session I can see some log files.

kepler> ls -latr
total 689
drwxr-xr-x   2 root  wheel      512 Aug 18  2001 rdist
-rw-r-----   1 root  wheel        0 Aug 18  2001 lpd-errs
-rw-r-----   1 uucp  dialer       0 Aug 18  2001 aculog
-rw-------   1 root  wheel        0 Aug 18  2001 secure
-rw-------   1 root  wheel        0 Aug 18  2001 maillog
drwxr-xr-x   2 root  wheel      512 Dec 15 14:53 mail
drwxr-xr-x   2 root  wheel      512 Dec 18 10:12 horde
drwxr-xr-x   2 root  wheel      512 Dec 18 12:05 pgsql
drwxr-xr-x  21 root  wheel      512 Jan 12 11:15 ..
-rw-r--r--   1 root  wheel    70155 Feb  4 03:00 messages.1.gz
drwxr-xr-x   2 root  wheel      512 Mar 13 18:14 httpd
-rw-r--r--   1 root  wheel    61305 Mar 27 07:00 messages.0.gz
-rw-------   1 root  wheel    10045 Apr 22 15:00 authlog.0.gz
drwxr-xr-x   7 root  wheel      512 Apr 22 15:00 .
-rw-------   1 root  wheel     7349 May  2 17:20 authlog
-rw-------   1 root  wheel     7667 May  2 17:30 xferlog
-rw-r--r--   1 root  wheel   498209 May  2 18:00 messages
-rw-r--r--   1 root  wheel     1675 May 11 03:19 daily.out
-rw-r--r--   1 root  wheel      103 May 11 04:30 weekly.out
-rw-r--r--   1 root  wheel      628 May 11 04:31 sendmail.st
-rw-r--r--   1 root  wheel    18324 May 11 11:31 wtmp
-rw-rw-r--   1 root  wheel     8540 May 11 11:31 lastlog
kepler> ls -latr mail
total 154
drwxr-xr-x  2 root  wheel     512 Dec 15 14:53 .
drwxr-xr-x  7 root  wheel     512 Apr 22 15:00 ..
-rw-r--r--  1 root  wheel  143679 May  2 03:19 maillog
kepler>
kepler> ls -latr /var/mail
total 771
drwxrwxrwt   2 root      wheel     512 Dec 16 03:15 .
-rw-------   1 gallegos  staff     799 Dec 17 10:30 gallegos
drwxr-xr-x  21 root      wheel     512 Jan 12 11:15 ..
-rw-------   1 root      wheel  771190 May 11 04:31 root
kepler>

It seems the problem started in May2 after 17:20 hs

kepler> ps -ax
 PID TT STAT     TIME COMMAND
   0 ?? DLs   0:01.26 (swapper)
   1 ?? Is    0:00.01 init
   2 ?? DL    0:00.24 (usb0)
   3 ?? DL    0:00.01 (pagedaemon)
   4 ?? DL    0:01.16 (reaper)
   5 ?? DL    1:30.54 (ioflush)
 117 ?? Is    0:03.35 /usr/sbin/syslogd -s
 126 ?? Is    0:03.64 /usr/sbin/named
 198 ?? Is    0:00.07 /usr/sbin/sshd
 204 ?? Is    0:00.03 /usr/sbin/inetd -l
 207 ?? Is    0:05.60 /usr/sbin/cron
2005 ?? I     0:04.96 sshd: gallegos@ttyp0
2019 ?? S     0:04.99 sshd: gallegos@ttyp1
2006 p0 Is    0:00.02 -csh
2015 p0 I<+   0:00.02 _csh (su)
2020 p1 Ss    0:00.02 -csh
2041 p1 R+    0:00.00 ps -ax
 210 E0 I<Es+ 0:00.03 (login)
 211 E1 Is+   0:00.01 /usr/libexec/getty Pc ttyE1
 212 E2 Is+   0:00.01 /usr/libexec/getty Pc ttyE2
 213 E3 Is+   0:00.01 /usr/libexec/getty Pc ttyE3
kepler>

I have the opportunity now to see what is the
problem, but I dont know how to do it.


Please help

Heron Gallegos