Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jul 2001 16:12:26 -0400
From:      "Ryan Masse" <mail@max-info.net>
To:        "Jason Prosser" <jprosser@teraglobal.com>
Cc:        "FreeBSD-Questions" <freebsd-questions@freebsd.org>
Subject:   Re: Stupid log file problems...
Message-ID:  <014201c10333$7c098a60$3200a8c0@Home>
References:  <B7662D2E.1992%jprosser@teraglobal.com>

next in thread | previous in thread | raw e-mail | index | archive | help
you may want to try;

1. delete, move, copy, gzip whatever /var/log/security
2. touch /var/log/security          < creates a new empty file in that
location
3. killall -HUP syslogd             < restarts syslog
4. ipfw resetlog                        < resets and restarts the ipfw
logging

that should work..

Ryan

> I am running IPFW with logging feature, on 4.2-Rel.
>
> This logs to the file /var/security. It was getting to big so I figured to
> delete it and then make a new one and it should work... Wrong!.
>
> What do I need to do to A: get the logging feature to work again to any
> file. B: What would I need to do to clean out the file periodically. (I am
> looking at copying it to another location and then emptying the actual
> file.)
>
> Thank you for your help ahead of time.
>
> JP
> jprosser@teraglobal.com
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>



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?014201c10333$7c098a60$3200a8c0>