[Zope] Xron: installation problem

Loren Stafford lstafford@morphics.com
Tue, 3 Apr 2001 09:56:42 -0700


Here's a HOW-TO for the deadlock on start-up problem that Xron has on some
systems.

-- Loren

> -----Original Message-----
> From: Eduard Gajdos [mailto:eduardg@funcom.com]
> Sent: Tuesday, April 03, 2001 01:54
> To: Loren Stafford
> Subject: RE: [Zope] Xron: installation problem
>
>
>
> Hi Loren,
>
> IT WORKS !!! :)
>
> We have tested also Xron DTML method calling an SQL method and it seems to
> work.
>
> Eduard.
>
>
>
> On Mon, 2 Apr 2001, Loren Stafford wrote:
>
> > Here's an idea that just occurred to me today. You may want to
> try it out.
> > It might work, but I can't try it out, as I can't reproduct the
> problem you
> > have encountered. It will only work if Xron appears on the
> Control Panel as
> > an already installed (though perhaps broken) product.
> >
> > 1. Install the Refresh product.
> http://www.zope.org/Members/hathawsh/Refresh
> >
> > 2. Rename the __init__ file of Xron to something else, so that
> Xron won't be
> > loaded as Zope starts up.
> >
> > 3. Restart zope. Refresh will be loaded, but Xron will not.
> >
> > 4. Rename the __init__ file back to its proper name.
> >
> > 5. Click on the Refresh button on Xron's product page.
> >
> > Xron should start this time without deadlocking, because the
> deadlock is due
> > to some interaction with the rest of Zope's startup code.
> >
> > If this works, let me know.
> >
> > -- Loren
> >
> > > -----Original Message-----
> > > From: Loren Stafford [mailto:lstafford@morphics.com]
> > > Sent: Friday, March 30, 2001 12:20
> > > To: 'Eduard Gajdos'
> > > Subject: RE: [Zope] Xron: installation problem
> > >
> > >
> > > No, I can't tell you which order to kill the threads, partly
> > > because I've never experienced the problem myself -- just
> > > heard about it from others -- and partly because, as far as I
> > > know, there is no way to distinguish the threads. Also, I
> > > don't have a Linux installation here to try it on. So you'll
> > > just have to try all combinations. I hope one works for you.
> > >
> > > -- Loren
> > >
> > > > -----Original Message-----
> > > > From: Eduard Gajdos [mailto:eduardg@funcom.com]
> > > > Sent: Friday, March 30, 2001 04:05
> > > > To: lstafford@morphics.com
> > > > Subject: [Zope] Xron: installation problem
> > > >
> > > >
> > > >
> > > > Hello Loren,
> > > >
> > > > I have problems with starting Xron. I get exactly the same
> > > problem as
> > > > described below - Zope freezes after Xron product
> > > > instalation. Firstly I
> > > > guessed it was caused cause of old version ( Client.py
> > > patch) but now
> > > > I'm running a completely new instalation of Zope 2.3 on a new
> > > > computer and
> > > > still get the same problem. (used Xron version 0.0.9). OS is
> > > > redhat 6.2.
> > > >
> > > > If you can send me a guide how to determine in which order to
> > > > kill zope
> > > > threads or a link to some resources wich resolve this problem
> > > > I would be
> > > > very glad.
> > > >
> > > > Thank you in advance.
> > > >
> > > > Eduard Gajdos.
> > > >
> > > > ---------- Forwarded message ----------
> > > > Date: Wed, 28 Mar 2001 20:31:05 +0200
> > > > From: "[iso-8859-1] Geir Bfkholt" <geirh@funcom.com>
> > > > To: eduardg@funcom.com
> > > > Subject: FW: [Zope] Xron: installation problem
> > > >
> > > > Snippet from the zope mailinglist about Xron..
> > > >
> > > > perhaps something helpful ?
> > > >
> > > > --
> > > > geir
> > > >
> > > >
> > > > -----Opprinnelig melding-----
> > > > Fra: Loren Stafford <lstafford@morphics.com>
> > > > Til: 'Pascal FITTON' <pascal.f@crosscontent.com>; Zope@zope.org
> > > > <Zope@zope.org>
> > > > Dato: 28. mars 2001 20:06
> > > > Emne: RE: [Zope] Xron: installation problem
> > > >
> > > >
> > > > >There is a problem on some systems that causes a newly installed
> > > > Xron to
> > > > >deadlock during the product initialization process. Using ps you
> > > > can see the
> > > > >Zope threads. You will have to kill each thread. If you kill them
> > > > in the
> > > > >right order, Xron will initialize properly and, after you restart
> > > > Zope, you
> > > > >won't have any further problems. I can't tell you how to determine
> > > > what the
> > > > >right order is. Good luck.
> > > > >
> > > > >-- Loren
> > > > >
> > > > >> -----Original Message-----
> > > > >> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf
> > > > Of
> > > > >> Pascal FITTON
> > > > >> Sent: Wednesday, March 28, 2001 01:07
> > > > >> To: Zope@zope.org
> > > > >> Subject: [Zope] Xron: installation problem
> > > > >>
> > > > >>
> > > > >>
> > > > >> Hi!
> > > > >> when i take the Xron (v0.0.9) file, i untar and place it into the
> > > > zope
> > > > >> directory. I restart Zope and i give my username and password
> > > > >> but after i
> > > > >> can't see the windows manager.... i'll see the Xron's files
> > > > >> and i think that
> > > > >> files can't be compiled....
> > > > >> I've been installed python 1.5.2, python-devel, and i use the
> > > > >> Zope zserver.
> > > > >> If somebody know how i can do to succeed to install it.
> > > > >> thanx
> > > > >> pascal
> > > > >>
> > > > >>
> > > > >>
> > > > >> _______________________________________________
> > > > >> 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 )
> > > > >
> > > >
> > > >
> > > >
> > >
> >
> >
>
>