Logs not being saved (/var/log/messages, etc)?

No at SPAM at mgEDV.net nospam at mgedv.net
Tue May 9 12:07:51 UTC 2006


> 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 ,-)



More information about the freebsd-questions mailing list