On Mon, October 8, 2007 20:13, Ryan Jay B. Lapuz wrote:
So, All i need is to put the script in the /etc/logrotate.d/, is this
right?
I really don't understand. I checked my old hobbit server and the
/etc/logrotate.d/hobbit is already existing. And, I'm sure I didn't
configure that before, because I don't know how.
You said you used a different package to install the old server. It
probably dropped in the logrotate.d/hobbit config file for you, and the
one you used this time didn't.
My point was that you need a cron job (/etc/cron.daily/logrotate), and a
logrotate config file (/etc/logrotate.conf) for logrotate to be running
and "see" the logrotate.d/hobbit config. I think FC6 does set that up by
default (see if you have /var/log/messages.1, etc, if so logrotate is
running). Drop the logrotate.d/hobbit file in, and see if it starts
rotating. If not, look at the other two files.
----- Original Message -----
From: "Hobbit User" <hobbit (at) epperson.homelinux.net>
To: <hobbit (at) hswn.dk>
Sent: Tuesday, October 09, 2007 7:59 AM
Subject: Re: [hobbit] Hobbit logs
On Mon, October 8, 2007 19:47, Ryan Jay B. Lapuz wrote:
I'm running Hobbit 4.2.0 w/ all-in-one patch to Fedora Core 6. Thanks
for
your help Gary and Steve.
So, to sum up, you need
/etc/cron.daily/logrotate
/etc/logrotate.conf
/etc/logrotate.d/hobbit
all set up to have your hobbit logs rotated. Anything you're not sure
of,
look at those on the server where the logs are getting rotated now.
To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe (at) hswn.dk