Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Dec 2001 19:02:27 -0600
From:      jacks@sage-american.com
To:        Grzegorz Czaplinski <gregory@prioris.mini.pw.edu.pl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Log dies after rotation
Message-ID:  <3.0.5.32.20011214190227.010d1818@mail.sage-american.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.20011214190227.010d1818>