Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 May 2006 14:07:46 +0200
From:      "No@SPAM@mgEDV.net" <nospam@mgedv.net>
To:        <freebsd-questions@freebsd.org>
Cc:        'Matt Bostock' <matt@mattbostock.com>
Subject:   RE: Logs not being saved (/var/log/messages, etc)?
Message-ID:  <000901c67361$2f5af570$01010101@avalon.lan>
In-Reply-To: <loom.20060509T135438-520@post.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help

> The usual system logs such as /var/log/messages are not being saved.
> /var/log/messages does not exist, but /var/log/messages.0 
> (the old rotated
> version) does.
if theres a rotated log, there should be a source for, too.
check permissions on /var/log (eg. schg-flag) maybe there's
some odd reason for syslogd not being able to write to it.
also, try creating an empty file (touch /var/log/messages;
chmod o-r /var/log/messages) and restarting syslogd.
you can test logging with the logger-command.

if your box is not private (for you only):
did you check, if someone removed the file? check for logins,
network sessions, strange users with uid 0 in master.passwd,
change-date of files in at least /etc. if anything looks strange,
change your root-pw, shutdown unnecessary daemons, and take the
box off the net if it's possible ,-)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000901c67361$2f5af570$01010101>