Re: [SQU] Cannot rotate

From: Awie <awie@dont-contact.us>
Date: Mon, 19 Feb 2001 16:51:28 +0800

Anton,

I put line "00 9 * * * root /mysquid/squid -k rotate" into my crontab as you
suggested. I also changed to rotate 15 times to my log rotate tag.

Many thanks for your suggestion.

Thx

Best Regards,

Awie

----- Original Message -----
From: "Anton" <qiubec@yahoo.com>
To: "Awie" <awie@eksadata.com>
Sent: Sunday, February 18, 2001 2:06 PM
Subject: RE: [SQU] Cannot rotate

> Awie,
>
>
> The first, please note that access.log rotate will running automaticly if
> you put command :
> /yoursquid/squid -k rotate and do the command as a cron.
> At linux os, you can find some script to run this command as a cron at :
> /etc/logrotate.d/squid
> ASA you install your squid from rpm package.
> When you found the script, edit and change how many rotate that you has
put
> your logfile_rotate at squid.conf. You also can edit when you will
running
> the rotate, daily, weekly, or monthly.
> Logicaly, all the job will running from crond daemon. You can edit at
> /etc/crontab and put when you will running the daily, weekly, or monthly.
>
> If you confuse, simply, put the coomand below at /etc/crontab file, it
will
> do all what you want and forget the command above :
>
> 00 9 * * * root /yoursquid/squid -k rotate
>
> It's mean that rotate log will running every days at 09:00 am!Simple
> right!!!Don't forget to put the number of rotate in your lgfile_rotate at
> squid.conf and run /yoursquid/squid -k reconfigure!!
>
>
> Let me know if you have another question!!!
>
>
> Anton
>
>
>
> -----Original Message-----
> From: Awie [mailto:awie@eksadata.com]
> Sent: 18 Februari 2001 12:36
> To: Anton
> Subject: Re: [SQU] Cannot rotate
>
>
> Hi Anton,
>
> I even did not know "something" should be edited as your explanation. I
will
> try it.
>
> Many thanks for your help.
>
> Thx
>
> Best Regards,
>
> Awie
>
> ----- Original Message -----
> From: "Anton" <qiubec@yahoo.com>
> To: "Awie" <awie@eksadata.com>
> Sent: Saturday, February 17, 2001 10:10 PM
> Subject: RE: [SQU] Cannot rotate
>
>
> > Awie,
> >
> >
> > have you edit your squid logrotate at /etc/logrotate.d/squid and put
> > /***/squid -k rotate at the access.log rotate ?????
> >
> >
> > Rgrds
> >
> >
> > -----Original Message-----
> > From: Awie [mailto:awie@eksadata.com]
> > Sent: 17 Februari 2001 20:15
> > To: Anton
> > Subject: Re: [SQU] Cannot rotate
> >
> >
> > Do you mean my command to run rotate? I don't have a special script to
do
> > that. I just type :
> >
> > /mysquid/squid -k rotate
> >
> > FYI, at the first time I run the command, Squid successfully rotate my
> logs
> > and creating "rotation" files. But that was my first and last success to
> > rotate.
> >
> > Thx
> >
> >
> > Best Regards,
> >
> > Awie
> >
> > ----- Original Message -----
> > From: Anton
> > To: Awie
> > Sent: Saturday, February 17, 2001 12:14 PM
> > Subject: RE: [SQU] Cannot rotate
> >
> >
> > please send me your complette csript to run the rotate
> >
> >
> > Rgrds,
> >
> >
> > Anton
> >
> >
> > -----Original Message-----
> > From: Awie [mailto:awie@eksadata.com]
> > Sent: 17 Februari 2001 9:15
> > To: squid-users@ircache.net
> > Subject: [SQU] Cannot rotate
> >
> >
> > Folks,
> >
> > Sorry to re-post this question, however I need your suggestion.
> >
> > I cannot rotate my log files that I run /dir/squid -k rotate. My rotate
> tag
> > in squid.conf is set to 7.
> >
> > Your answer is very appreciated.
> >
> > Thx
> >
> >
> > Best Regards,
> >
> > Awie
> >
>

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Mon Feb 19 2001 - 01:49:48 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:58:03 MST