On Sun, Jul 21, 2002 at 09:06:00PM -0600, Grant Cooper wrote:
> I think I made a boo boo. I deleted all the files from var/log thinking I
> would have clean logs. Well, I rebooted but some of the files never
> reapeared. I made a back up just in case.

man syslogd:
     For security reasons, syslogd will not append to log files that do not
     exist; therefore, they must be created manually before running syslogd.

So the easiest way is:
    touch `cat /etc/syslog.conf  | awk '{ print $2}' | grep var`

and restart syslogd:
    kill -HUP `cat /var/run/syslogd.pid`

> Can I expect any problems in the future?

You're not logging anything.

Edwin

-- 
Edwin Groothuis      |            Personal website: http://www.MavEtJu.org
[EMAIL PROTECTED]    |    Weblog: http://www.mavetju.org/weblog/weblog.php 
bash$ :(){ :|:&};:   | Interested in MUDs? http://www.FatalDimensions.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to