Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Mar 2004 15:28:35 +0100
From:      "Pelle Andersson (SPD Systems AB)" <pelle@spd.nu>
To:        <freebsd-questions@freebsd.org>
Subject:   Re: NewSysLog & FBSD 4.9
Message-ID:  <20040301142850.4FFE543D3F@mx1.FreeBSD.org>
In-Reply-To: <20040301141621.GA21326@happy-idiot-talk.infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
=20
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 =3D)

Changed from:
> /var/log/qpopper.log	root:root	640	7	*	@T00	Z
> /var/log/proftp.log	root:root	640	7	*	@T00	Z=20

To:
> /var/log/qpopper.log	root:wheel	640	7	*	@T00	Z
> /var/log/proftp.log	root:wheel	640	7	*	@T00	Z =20

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

-----Ursprungligt meddelande-----
Fr=E5n: Matthew Seaman [mailto:m.seaman@infracaninophile.co.uk]=20
Skickat: den 1 mars 2004 15:16
Till: Pelle Andersson (SPD Systems AB)
Kopia: freebsd-questions@freebsd.org
=C4mne: Re: NewSysLog & FBSD 4.9

On Mon, Mar 01, 2004 at 02:35:20PM +0100, Pelle Andersson (SPD Systems =
AB)
wrote:
> Hi!
>=20
> ::NEWSYSLOG::
> -------------
> I want to rotate and pack my logs for Qpopper and ProFTPD This is my=20
> lines in '/etc/newsyslog.conf':
>=20
> #---------------------------------------------------------------
> /var/log/qpopper.log	root:root	640	7	*	@T00	Z
> /var/log/proftp.log	root:root	640	7	*	@T00	Z=20
> #---------------------------------------------------------------
>=20
> It does not work =3D( 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       *       *       *       *       root    newsyslog

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

	Cheers,

	Matthew

--=20
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




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