Re: NewSysLog FBSD 4.9

2004-03-01 Thread Matthew Seaman
On Mon, Mar 01, 2004 at 02:35:20PM +0100, Pelle Andersson (SPD Systems AB) wrote:
 Hi!
 
 ::NEWSYSLOG::
 -
 I want to rotate and pack my logs for Qpopper and ProFTPD
 This is my lines in '/etc/newsyslog.conf':
 
 #---
 /var/log/qpopper.log  root:root   640 7   *   @T00Z
 /var/log/proftp.log   root:root   640 7   *   @T00Z 
 #---
 
 It does not work =( No error messages or anything.
 What do I need to do?
 Any suggestions?

Hmmm... that looks fine to me.  What happens if you run:

# newsyslog -v

I assume that newsyslog is actually running every hour -- that's the
default from the system crontab:

% grep newsyslog /etc/crontab
0   *   *   *   *   rootnewsyslog

and that the other system logs are all being cycled as intended.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


RE: NewSysLog FBSD 4.9

2004-03-01 Thread fbsd_user
Add those log files to /etc/syslog.conf  and then the files will
have content that newsyslog.conf can rotate.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Pelle
Andersson (SPD Systems AB)
Sent: Monday, March 01, 2004 8:35 AM
To: [EMAIL PROTECTED]
Subject: NewSysLog  FBSD 4.9

Hi!

::NEWSYSLOG::
-
I want to rotate and pack my logs for Qpopper and ProFTPD
This is my lines in '/etc/newsyslog.conf':

#---
/var/log/qpopper.logroot:root   640 7   *   @T00
Z
/var/log/proftp.log root:root   640 7   *   @T00
Z
#---

It does not work =( No error messages or anything.
What do I need to do?
Any suggestions?



BEST REGARDS/MVH PELLE ANDERSSON
SPD SYSTEMS AB
WWW.SPD.NU




___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NewSysLog FBSD 4.9

2004-03-01 Thread Pelle Andersson (SPD Systems AB)
 
Hi and thanks!

It works fine now, find the problem with the newsyslog -v command.
It told me, unknown group 'root'.
Offcorce, Im so stupid. Root-group is
a old habit from Linux =)

Changed from:
 /var/log/qpopper.log  root:root   640 7   *   @T00Z
 /var/log/proftp.log   root:root   640 7   *   @T00Z 

To:
 /var/log/qpopper.log  root:wheel  640 7   *   @T00Z
 /var/log/proftp.log   root:wheel  640 7   *   @T00Z  


BEST REGARDS/MVH PELLE ANDERSSON
SYSTEM AND NETWORK ENGINEER
SPD SYSTEMS AB
WWW.SPD.NU


-Ursprungligt meddelande-
Från: Matthew Seaman [mailto:[EMAIL PROTECTED] 
Skickat: den 1 mars 2004 15:16
Till: Pelle Andersson (SPD Systems AB)
Kopia: [EMAIL PROTECTED]
Ämne: Re: NewSysLog  FBSD 4.9

On Mon, Mar 01, 2004 at 02:35:20PM +0100, Pelle Andersson (SPD Systems AB)
wrote:
 Hi!
 
 ::NEWSYSLOG::
 -
 I want to rotate and pack my logs for Qpopper and ProFTPD This is my 
 lines in '/etc/newsyslog.conf':
 
 #---
 /var/log/qpopper.log  root:root   640 7   *   @T00Z
 /var/log/proftp.log   root:root   640 7   *   @T00Z 
 #---
 
 It does not work =( No error messages or anything.
 What do I need to do?
 Any suggestions?

Hmmm... that looks fine to me.  What happens if you run:

# newsyslog -v

I assume that newsyslog is actually running every hour -- that's the default
from the system crontab:

% grep newsyslog /etc/crontab
0   *   *   *   *   rootnewsyslog

and that the other system logs are all being cycled as intended.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]