linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Miguel González Castaños" <mgc@tid.es>
To: Leonid Mamchenkov <leonid@francoudi.com>
Cc: linux-admin@vger.kernel.org
Subject: Re: problem with cron job of Webalizer
Date: Wed, 18 Jun 2003 10:13:45 +0200	[thread overview]
Message-ID: <3EF01F39.B0400AF4@tid.es> (raw)
In-Reply-To: 20030613112222.GA1257@francoudi.com

Hello,

 I am trying to figure out what is going on, and I deactivate webalizer and check
how log rotation was doing and seems that all my logs of my virtual domains are
rotated except "domain4"...Here goes my apache logrotate:

/usr/local/apache/logs/domain1/access.log
/usr/local/apache/logs/domain2/access.log
/usr/local/apache/logs/domain3/access.log
/usr/local/apache/logs/domain4/access.log {
    daily
    rotate 400
    mail mymail@myisp.com
    compress

 prerotate
  /etc/init.d/apache stop
 endscript
 postrotate
  /etc/init.d/apache start
 endscript
}

The domain4 log is the biggest one, dont know if it has something to do with the
problem...

I tried to force logrotate to execute the apache log rotation and dont see
anything wrong...

Many thanks

Miguel




>
> Did you try to run webalizer _before_ you rotate the logs?  It's also a
> good idea to measure how much time does it take for your webalizer jobs
> to finish.  This will help you to make sure webalizer has enough time
> before the logs are taken from it. :)
>
> --
> Best regards,
>   Leonid Mamtchenkov, RHCE
>   System Administrator
>   Francoudi & Stephanou Ltd.
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


      reply	other threads:[~2003-06-18  8:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-10 12:05 problem with cron job of Webalizer Miguel González Castaños
2003-06-13 11:22 ` Leonid Mamchenkov
2003-06-18  8:13   ` Miguel González Castaños [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3EF01F39.B0400AF4@tid.es \
    --to=mgc@tid.es \
    --cc=leonid@francoudi.com \
    --cc=linux-admin@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).