From owner-freebsd-stable Fri Mar 15 17:55:55 2002 Delivered-To: freebsd-stable@freebsd.org Received: from www.dvfootage.com (dvfootage.com [216.228.5.85]) by hub.freebsd.org (Postfix) with ESMTP id 0651237B43A for ; Fri, 15 Mar 2002 17:54:15 -0800 (PST) Received: from atrustrivalie.org (pm3-121.corp.redshift.com [216.228.4.121]) by www.dvfootage.com (Postfix) with ESMTP id C6D14A8A2; Fri, 15 Mar 2002 17:54:33 -0800 (PST) Message-ID: <3C92A5C4.4020403@atrustrivalie.org> Date: Fri, 15 Mar 2002 17:54:12 -0800 From: Yann Ramin User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.8) Gecko/20020208 X-Accept-Language: en-us MIME-Version: 1.0 To: paul beard Cc: freebsd-stable@FreeBSD.ORG Subject: Re: need help figuring out what I broke References: <3C92A234.3000704@mac.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG You can try recreating the log files by touching them touch /var/log/wtmp touch /var/log/messages touch /var/log/maillog etc. paul beard wrote: > I have a 4.4-STABLE system that I somehow managed to break in some > subtle way. I boneheaded removed some files in /var/log (simple > fatfingering) and they didn't re-appear (messages, et al) as I thought > they would. Worse still, the box just stopped doing its job: it serves > as my router/gateway for my home network and it just stopped passing > packets. > > I thought perhaps my DHCP lease had expired and I was having trouble > getting a new one, but uping and downing the external interface had no > effect. > > Finally, a reboot (goodbye 95 days of uptime ) and all is again > well, except those missing files are still missing. I thought the > kernel did some logging as so other apps (sudo, for example). Also, > wtmp(5) was gone and my last login was shown as Dec 31, 1969 at GMT > -8: I may be older than UNIX but I wasn't logging in at that tender > age. I touched wtmpx and last(1) seems to work now. > > Any clues as to what I did and how to fix it? > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message