[Zope] Zope restarting every 5-10 minutes

Robert Rottermann robert@redcor.ch
Tue, 20 Nov 2001 07:01:05 +0100


just add it to the parameters you call python with when starting Zope:
python z2.py -D -u=.. -STUPID_LOG_FILE="/var/lib/zope/stupidZope.log" ....

robert

----- Original Message -----
From: "Gitte Wange" <gitte@mmmanager.org>
To: "Robert Rottermann" <robert@redcor.ch>
Cc: "Zope mailinglist" <zope@zope.org>
Sent: Monday, November 19, 2001 6:56 PM
Subject: Re: [Zope] Zope restarting every 5-10 minutes


> man, 2001-11-19 kl. 18:34 skrev Robert Rottermann:
> > What I did (and what helped) was the following parameter when starting
zope:
> > STUPID_LOG_FILE="/var/lib/zope/stupidZope.log"
> >
> > robert
>
> Well ... sorry for this dumb question - but where should I put this line
> ??
>
> TIA,
> Gitte Wange
>
> >
> > ----- Original Message -----
> > From: "Gitte Wange" <gitte@mmmanager.org>
> > To: "Robert Rottermann" <robert@redcor.ch>
> > Cc: "Zope mailinglist" <zope@zope.org>
> > Sent: Monday, November 19, 2001 5:34 PM
> > Subject: Re: [Zope] Zope restarting every 5-10 minutes
> >
> >
> > > man, 2001-11-19 kl. 17:34 skrev Robert Rottermann:
> > > > Hi Gitte,
> > > > I once had a similar problem. This was because I had Zope writing
some
> > log
> > > > info but did not redirect stdout to a file (with the stupid logfile
> > > > variable).
> > > > Just an idea
> > > >
> > > > Robert
> > >
> > > Hi Robert,
> > >
> > > Well we actually have some debug information returned from our
objects.
> > > We use zLOG.LOG() to write this debug information.
> > > The funny part is that Zope restarts whether we run it in debug mode
or
> > > not ... it doesn't care :-)
> > >
> > > But do you think this could be the problem (and how do we solve it
then)
> > > ???
> > >
> > > TIA,
> > > Gitte Wange
> > >
> > >
> > > > ----- Original Message -----
> > > > From: "Gitte Wange" <gitte@mmmanager.org>
> > > > To: "Zope mailinglist" <zope@zope.org>
> > > > Sent: Monday, November 19, 2001 12:54 PM
> > > > Subject: [Zope] Zope restarting every 5-10 minutes
> > > >
> > > >
> > > > > Hello,
> > > > >
> > > > > I have discovered a rather nasty problem with our Zope
installation.
> > > > > We run both Zope 2.3.2 and Zope 2.4 on our server but we are
migrating
> > > > > all our sites for 2.4 (but it takes time).
> > > > > One thing that bothers me with the 2.4 installation is that it
> > restarts
> > > > > every 5-10 minutes - and I can't seem to figure out why.
> > > > >
> > > > > We run it on a Linux Mandrake 8.0 server ...
> > > > >
> > > > > I have searched the log file - but no go (or the only log file I
could
> > > > > find is the Z2.log file) ...
> > > > >
> > > > > We have Apache in front of the ZServer so every 5-10 minutes we
get a
> > > > > Proxy Error ....
> > > > >
> > > > > I have looked in to the mailing list archives and have discovered
a
> > lot
> > > > > of people with similar problems ... the only minor fix I could
find
> > was
> > > > > to upgrade to 2.4.1 ... but will this help ???
> > > > >
> > > > > --
> > > > > Gitte Wange Jensen
> > > > >
> > > > > Sys Admin, Developer and a lot more
> > > > > MMmanager.org Aps, Denmark
> > > > >
> > > > > Phone: +45 29 72 79 72
> > > > > Email: gitte@mmmanager.org
> > > > > Web: www.mmmanager.org
> > > > >
> > > > > Quote of the day:
> > > > > In short, go away until you can behave.
> > > > >
> > > > >     - Linus Torvalds
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > Zope maillist  -  Zope@zope.org
> > > > > http://lists.zope.org/mailman/listinfo/zope
> > > > > **   No cross posts or HTML encoding!  **
> > > > > (Related lists -
> > > > >  http://lists.zope.org/mailman/listinfo/zope-announce
> > > > >  http://lists.zope.org/mailman/listinfo/zope-dev )
> > > >
> > >
> > >
> >
> >
> > _______________________________________________
> > Zope maillist  -  Zope@zope.org
> > http://lists.zope.org/mailman/listinfo/zope
> > **   No cross posts or HTML encoding!  **
> > (Related lists -
> >  http://lists.zope.org/mailman/listinfo/zope-announce
> >  http://lists.zope.org/mailman/listinfo/zope-dev )
> --
> Gitte Wange Jensen
>
> Sys Admin, Developer and a lot more
> MMmanager.org Aps, Denmark
>
> Phone: +45 29 72 79 72
> Email: gitte@mmmanager.org
> Web: www.mmmanager.org
>
> Quote of the day:
> [unrestricted Python scripts] cannot be created or edited unless a
> special
> environment variable is set. In order to create or edit XXX Python
> Scripts,
> you have to set "ALL_YOUR_BASE_ARE_BELONG_TO" equal to "US".
>
>     - Evan, http://www.zope.org/Members/4am/XXXPythonScripts
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>