[Zope] Help! FTP access shuts down Zope (solved) NOT!! [repost]
Mon, 24 Jun 2002 10:25:51 -0400
Also please note that the
"write-to-stdout-when-there-is-no-controlling-terminal" problem is
fixed in Zope 2.6, so none of these workarounds should be necessary
when running under it.
----- Original Message -----
From: "Mike Renfro" <email@example.com>
To: "Roel Van den Bergh" <firstname.lastname@example.org>
Cc: "Zope Org" <email@example.com>
Sent: Monday, June 24, 2002 10:03 AM
Subject: Re: [Zope] Help! FTP access shuts down Zope (solved) NOT!!
> On Mon, Jun 24, 2002 at 09:48:30AM +0200, Roel Van den Bergh
> > After starting with 'nohup' we got FTP access to Zope again.
> > after 1 or 2 FTP logins (with no errors and clean exits) the
> > retrieval of the filelisting fails and everything hangs again.
> > occurs wheither we start normally or with the 'nohup' prefix.
> If you keep the window where you had run the 'nohup' up, would you
> any text being printed to that console? If so, that's an
> intersection between product writers writing software that gives
> warnings (or worse, still has debugging 'print' statements in it)
> a lack of nohup capturing both standard output and standard error.
> As an example, at least on my 2.5.1 install (Debian packages of
> and Python, so I'm not sure where the fault lies yet), I get the
> following on a Zope start:
> Starting Zope...../usr/lib/zope/lib/python/ts_regex.py:15:
DeprecationWarning: the regex module is deprecated; please use the
> import regex, regsub #, Sync
> /usr/lib/python2.1/regsub.py:15: DeprecationWarning: the regsub
module is deprecated; please use re.sub()
> ... done.
> - Run Zope inside a screen session, and do any command-line
> or stops from that screen session. 'screen' will fool any
> application into thinking it still has a terminal attached, even
> you disconnect the session from your physical terminal and log
> out. You can reconnect to the screen session later, too, handy
> you're not sure where the messages are coming from.
> - Change how you run nohup, or force Zope's standard output and
> standard error descriptors away from the terminal. Something
> # ./start > /dev/null 2>&1
> in a Bourne-derived shell should do fine, and should be
> Mike Renfro / R&D Engineer, Center for Manufacturing Research,
> 931 372-3601 / Tennessee Technological University --
> Zope maillist - Zope@zope.org
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-dev )