[Xitami] Rotate Logs

M. Jason Smiley xitami@lists.xitami.org
Wed, 12 Jun 2002 09:13:06 -0400


This is a multi-part message in MIME format.

------=_NextPart_000_0683_01C211F1.5CC85AA0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

yes - i've had this problem a couple times before. i've run numerous =
xitami servers on a number of machines over the years so i can't give =
exact versions. i've always run xitami on windows boxes... 95, 98, nt, =
nt server, w2k pro, w2k server, sometimes the regular version - couple =
of times as a service version. i've probably had the log problem on 2 or =
3 of them.

when i had this trouble - everything was working fine.... then one day =
it started. a quick fix is to shutdown xitami. you will then be able to =
rename the file by hand. then restart xitami (and it will make a new =
log). i never found out why this started happening or a fix for it. =
eventually i'd upgrade, replace, or reload the machine and all would be =
well again.=20

i once heard there was bug in one version of xitami that related to =
this... but i have no details about it.

  ----- Original Message -----=20
  From: Forward Design=20
  To: xitami@lists.xitami.org=20
  Sent: Wednesday, June 12, 2002 1:40 AM
  Subject: Re: [Xitami] Rotate Logs


  Thank you, but everything is set correctly.

  Does everyone else's log files work perfectly?

  Doesn't anyone else have this problem?

  =20
    From: Gregory Hart=20
    To: xitami@lists.xitami.org=20
    Sent: Tuesday, June 11, 2002 7:10 PM
    Subject: Re: [Xitami] Rotate Logs


    In the admin screen, go to Configuration, and then Logging. Make =
sure that all the settings that you want are correct.
    -Greg

    ----- Original Message -----=20
    From: Forward Design=20
    To: xitami@lists.xitami.org=20
    Sent: Tuesday, June 11, 2002 12:53 AM
    Subject: [Xitami] Rotate Logs


    Shoot me dead if this has already been solved.

    Xitami seems to have a hard time rotating the access logs.

    Xitami should be copying the current access.log file to yesterdays

    date 'ac0x0x0x.log' type of thing, but sometimes it skips days,

    and the access.log file just gets bigger and bigger... then it =
finally does it.

    I am thinking that when my server is busy, and it is suppose to =
actually rotate

    the log file, it can't because the server is being hit, and it is =
writing to the file,

    access denied type of thing.


    I even gave up having Xitami do it, and wrote a perl script to do =
the rotating for me, but

    Xitami won't let go of the access.log file, and I can't delete it to =
start

    fresh after I copy the file.

    Any ideas on how to get Xitami to perform this seemingly simple =
task??? =20

    Reliably?=20

    Using Xitami Pro v2.4d10

------=_NextPart_000_0683_01C211F1.5CC85AA0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>yes - i've had this problem a couple =
times before.=20
i've run numerous xitami servers on a number of machines over the years =
so i=20
can't give exact versions. i've always run xitami on windows boxes... =
95, 98,=20
nt, nt server, w2k pro, w2k server, sometimes the regular version - =
couple of=20
times as a service version. i've probably had the log problem on 2 or 3 =
of=20
them.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>when i had this trouble - everything =
was working=20
fine.... then one day it started. a quick fix is to shutdown xitami. you =
will=20
then be able to rename the file by hand. then restart xitami (and it =
will make a=20
new log). i never found out why this started happening or a fix for it.=20
eventually i'd upgrade, replace, or reload the machine and all would be =
well=20
again. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>i once heard there was bug in one =
version of xitami=20
that related to this... but i have no details about it.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dforward@forwarddesign.com=20
  href=3D"mailto:forward@forwarddesign.com">Forward Design</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dxitami@lists.xitami.org=20
  href=3D"mailto:xitami@lists.xitami.org">xitami@lists.xitami.org</A> =
</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Wednesday, June 12, 2002 =
1:40=20
  AM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: [Xitami] Rotate =
Logs</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=3DArial size=3D2>Thank you, but everything is set=20
  correctly.</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Does everyone else's log files work=20
  perfectly?</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Doesn't anyone else have this=20
  problem?</FONT></DIV>
  <DIV><BR>&nbsp;</DIV>
  <BLOCKQUOTE dir=3Dltr=20
  style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
    <DIV=20
    style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
    <A title=3Dgreg@freastro.net =
href=3D"mailto:greg@freastro.net">Gregory Hart</A>=20
    </DIV>
    <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dxitami@lists.xitami.org=20
    href=3D"mailto:xitami@lists.xitami.org">xitami@lists.xitami.org</A> =
</DIV>
    <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Tuesday, June 11, 2002 =
7:10=20
    PM</DIV>
    <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: [Xitami] Rotate =
Logs</DIV>
    <DIV><BR></DIV>
    <DIV><FONT face=3DArial size=3D2>In the admin screen, go to =
Configuration, and=20
    then Logging. Make sure that all the settings that you want are=20
    correct.</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>-Greg</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV style=3D"FONT: 10pt arial">----- Original Message -----=20
    <DIV style=3D"BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> =
<A=20
    title=3Dforward@forwarddesign.com=20
    href=3D"mailto:forward@forwarddesign.com">Forward Design</A> </DIV>
    <DIV><B>To:</B> <A title=3Dxitami@lists.xitami.org=20
    href=3D"mailto:xitami@lists.xitami.org">xitami@lists.xitami.org</A> =
</DIV>
    <DIV><B>Sent:</B> Tuesday, June 11, 2002 12:53 AM</DIV>
    <DIV><B>Subject:</B> [Xitami] Rotate Logs</DIV></DIV>
    <DIV><BR></DIV>
    <DIV><FONT face=3DArial size=3D2>Shoot me dead if this has already =
been=20
    solved.</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>Xitami seems to have a hard time =
rotating the=20
    access logs.</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>Xitami should be copying the =
current access.log=20
    file to yesterdays</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>date 'ac0x0x0x.log' type of thing, =
but=20
    sometimes it skips days,</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>and the access.log file just gets =
bigger and=20
    bigger...&nbsp;then it finally does it.</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>I am thinking that when my server =
is busy, and=20
    it is suppose to actually rotate</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>the log file, it can't because the =
server is=20
    being hit, and it is writing to the file,</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>access denied type of =
thing.</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>I even gave up having Xitami do it, =
and wrote a=20
    perl script to do the rotating for me, but</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>Xitami won't let go of =
the&nbsp;access.log=20
    file, and I can't delete&nbsp;it to start</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>fresh after I copy the =
file.</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>Any ideas on how to get Xitami to =
perform this=20
    seemingly simple task???&nbsp; </FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>Reliably?</FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV><FONT face=3DArial size=3D2>Using Xitami Pro=20
v2.4d10</FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0683_01C211F1.5CC85AA0--