From owner-freebsd-questions Sat Aug 19 12:52:48 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.rz.uni-ulm.de (sirius-giga.rz.uni-ulm.de [134.60.241.36]) by hub.freebsd.org (Postfix) with ESMTP id EA5B037B43E for ; Sat, 19 Aug 2000 12:52:45 -0700 (PDT) Received: from gmx.de (lilith.wohnheim.uni-ulm.de [134.60.106.64]) by mail.rz.uni-ulm.de (8.9.3/8.9.3) with ESMTP id VAA14337; Sat, 19 Aug 2000 21:52:41 +0200 (MEST) Message-ID: <399EE589.63097E3A@gmx.de> Date: Sat, 19 Aug 2000 21:52:41 +0200 From: Siegbert Baude X-Mailer: Mozilla 4.74 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: de, en MIME-Version: 1.0 To: Doug Barton , "freebsd-questions@freebsd.org" Subject: Re: w command appears broke in 4.1 References: <399EDFDB.5683F244@gorean.org> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Doug Barton wrote: Hello Doug, > Because the formats of these three files is different between the 2.2.8 and > 4.x branches attempting to read them with the new system binaries will > result in the display of what seem to be corrupted entries, and in some > cases may prevent them from working properly. I did a fresh install beginning with 4.0 RELEASE then tracked STABLE until today and my w doesn´t work either. So the problem must be somewhere within the 4.x tree. bash-2.04$ su toor Password: su-2.04# w 9:48pm up 5:57, 0 users, load averages: 0.15, 0.06, 0.01 USER TTY FROM LOGIN@ IDLE WHAT su-2.04# > By deleting them before > you reboot you will eliminate this problem. Although in theory the system > should do the right thing and create them again for you, at least for > wtmp and lastlog it does not, so it is safer to touch the files after you > have deleted them. You should take note of their permissions before > deleting them and reset them appropriately after you touch them. Will try this when rebooting the next time. Thanks for the hint. Ciao Siegbert To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message