From owner-freebsd-questions Fri Dec 14 17: 3:14 2001 Delivered-To: freebsd-questions@freebsd.org Received: from sage-american.com (sage-american.com [216.122.141.44]) by hub.freebsd.org (Postfix) with ESMTP id 948F937B41B for ; Fri, 14 Dec 2001 17:02:25 -0800 (PST) Received: from SAGEONE (adsl-64-219-20-85.dsl.crchtx.swbell.net [64.219.20.85]) by sage-american.com (8.9.3/8.9.3) with SMTP id TAA05487; Fri, 14 Dec 2001 19:02:15 -0600 (CST) Message-Id: <3.0.5.32.20011214190227.010d1818@mail.sage-american.com> X-Sender: jacks@mail.sage-american.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Fri, 14 Dec 2001 19:02:27 -0600 To: Grzegorz Czaplinski From: jacks@sage-american.com Subject: Re: Log dies after rotation Cc: freebsd-questions@freebsd.org In-Reply-To: <20011214170834.B35818@prioris.mini.pw.edu.pl> References: <3.0.5.32.20011214001820.03dc67c8@mail.sage-american.com> <3.0.5.32.20011214001820.03dc67c8@mail.sage-american.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thanks, Gregory... thought I would experiment with that after my cvsup/makeworld today.... will report back later.... At 05:08 PM 12.14.2001 +0100, Grzegorz Czaplinski wrote: >On Fri, Dec 14, 2001 at 12:18:20AM -0600, jacks@sage-american.com wrote: >> After setting up the newsyslog to rotate natd log, it gets trimmed okay, >> but stops recording afterwards. Have looked everywhere for an explanation, >> but NADA... here is the line in my newsyslog.conf: >> # logfilename [owner:group] mode count size when [ZB] >> [/pid_file] [sig_num] >> /var/log/alias.log 644 3 * $D0 Z >> >> It should be pretty simple, but hit a brick wall... been looking at it too >> long! It's set to trim at midnight and now it's 12:16am and no more >> logging. Has been running at about 2MB/day. I thought the permissions was >> set okay, but that about the only thing I haven't changed. >> >> ...any suggestions appreciated once again... sigh! >Does it start loging when you snap it with a HUP signal? >Probably you lack two more filds: [/pid_file] and [sig_num]. >The default signal is SIGHUP so puting a pid file path >should be sufficient. >Give it a try and share the results. > gregory >-- > > Best regards, Jack L. Stone, Server Admin Sage-American http://www.sage-american.com jacks@sage-american.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message