Subject: Re: maillog and messages
To: yo _ <exhausted01@hotmail.com>
From: Jared D.McNeill <jmcneill@invisible.ca>
List: port-i386
Date: 02/10/2003 19:13:04
On Monday, February 10, 2003, at 07:08 PM, yo _ wrote:

> Stupidly and blindly, a couple of weeks ago i deleted two files: 
> /var/log/messages and /var/log/maillog. I thought they were just 
> temporary files that could be deleted but the next day i logged on to 
> my system and found alerts from syslogd that it was missing and needed 
> those files. I am not sure what those files exactly are, but is there 
> anyway to remake them, or if they are "unremake-able" can someone 
> kindly send me them in attachments (if they aren't unique to each 
> system). Thanks a lot!

You can safely re-create them:

   touch /var/log/messages /var/log/maillog
   chmod 644 /var/log/messages
   chmod 600 /var/log/maillog

Cheers,
Jared