Date: Fri, 15 Mar 2002 17:54:12 -0800 From: Yann Ramin <atrus@atrustrivalie.org> To: paul beard <paulbeard@mac.com> Cc: freebsd-stable@FreeBSD.ORG Subject: Re: need help figuring out what I broke Message-ID: <3C92A5C4.4020403@atrustrivalie.org> References: <3C92A234.3000704@mac.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <snif>) 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C92A5C4.4020403>