Date: Sun, 31 Mar 2002 19:59:45 -0600 From: Dan Nelson <dnelson@allantgroup.com> To: Richard <guyuan@telpacific.com.au> Cc: "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG> Subject: Re: Why the last logs always restart Message-ID: <20020401015945.GD44037@dan.emsphone.com> In-Reply-To: <200204010134.g311Ym863181@sydmail3.telpacific.com.au> References: <200204010134.g311Ym863181@sydmail3.telpacific.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Apr 01), Richard said: > I have a web server based on Freebsd 4.5. I found a problem that the > last log always restart. When I enter command last today, it comes > out wtmp begins Mon Apr 1 05:36:59 CST 2002 > > This happens frequently, and i didnot reboot the system or clear any > logs. Also, there are not many people using this server, the log is > not long at all. > > I have another Freebsd machine in my home, but not connect to the > internet. This never happens and I can still see the last log a year > ago. Different versons of FreeBSD rotate the wtmp file at different rates, and in different places. Sometimes it's done in /etc/newsyslog, sometimes in /etc/periodic/monthly/200.accounting. Older copies of wtmp should be named /var/log/wtmp.# -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020401015945.GD44037>