Re: Problem running newsyslog

2002-12-31 Thread Matthew Seaman
On Mon, Dec 30, 2002 at 05:56:10PM -0600, Jamie wrote:

 I am trying to get newsyslog running, and for some reason when I run
 newsyslog, it skips over my syslog entry.

 /home3/jo/mail/SPAM jo.admin600 3   *   *   B

Two things:

Use a colon to separate the user and group names.  A dot should still
work, but it's deprecated nowadays.

Seems that you need at least one of the 'size' or 'when' fields to be
other than '*'.  If you really want the file to be recycled every hour
(which is how frequently newsyslog runs by default), try:

/home3/jo/mail/SPAM jo:admin600 3   *   1   B

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
  Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

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



Problem running newsyslog

2002-12-30 Thread Jamie



Greets,

I am trying to get newsyslog running, and for some reason when I run
newsyslog, it skips over my syslog entry.

 Here is a copy of the configuration file that I am using:

/home3/jo/mail/SPAM jo.admin600 3   *   *   B


 When I run newsyslog in verbose mode, these are the results I get:

homer# newsyslog -v -f /home3/jo/josyslog.conf
/home3/jo/mail/SPAM 3: -- skipping


I can't understand why it is skipping my entry. I have specified with
the *'s that I want this to run every time I run newsyslog on my config
file. Here is a listing of my config file:

homer# ls -l josyslog.conf
-rw-r--r--  1 root  admin  41 Dec 30 16:26 josyslog.conf



Does anyone have any idea why it might be skipping my entry? Thanks,


   - Jamie










--***
FROM THE LAND OF SKY BLUE WATERS...waters
FROM THE LAND OF PINES
LOFTY BALSAMS
COMES THE BEER REFRESHING
**---


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