[Setup] Re: debug-mode always on

Raphael Ritz r.ritz at biologie.hu-berlin.de
Tue Feb 14 12:11:36 UTC 2006


Guenther Boelter wrote:
> Hello,
> 
> I am new here and I have a small problem I can't fix.
> 
> I have installed:
> 
> PlonePlone 2.1.2,
> Zope (Zope 2.8.5-final, python 2.3.4, linux2),
> Python 2.3.4 (#1, Feb 2 2005, 12:11:53) [GCC 3.4.2 20041017 (Red Hat 
> 3.4.2-6.fc3)],
> PIL 1.1.4
> 
> and it runs well. There is only the problem, that it runs always in 
> debug-mode.
> 
> After starting Zope with "./zopectl fg", I got the message 
> "/opt/zope/client3/bin/runzope -X debug-mode=on" and then all these 
> output from the debugger..
> 
> I have tried it with "debug-mode off" in zope.conf ig, but no effect.

This should have the desired effect, nevertheless.

Try starting with ./zopectl start

IIRC ./zopectl fg puts you in debug mode no matter what the
config says. Its equivalent (as you've figured out) to

./runzope -X debug-mode=on

where command line args prefixed with -X override
the config settings (in general, not only this one).

Rapahel

> 
> 
> ---------------------------------------------------------------------------------------------- 
> 
> Here is the content of zopectl:
> ---------------------------------------------------------------------------------------------- 
> 
> #! /bin/sh
> 
> PYTHON="/usr/bin/python2.3"
> ZOPE_HOME="/opt/zope/zope2.8.5"
> INSTANCE_HOME="/opt/zope/client3"
> CONFIG_FILE="/opt/zope/client3/etc/zope.conf"
> SOFTWARE_HOME="/opt/zope/zope2.8.5/lib/python"
> PYTHONPATH="$SOFTWARE_HOME"
> export PYTHONPATH INSTANCE_HOME SOFTWARE_HOME
> 
> ZDCTL="$SOFTWARE_HOME/Zope2/Startup/zopectl.py"
> 
> exec "$PYTHON" "$ZDCTL" -C "$CONFIG_FILE" "$@"
> ---------------------------------------------------------------------------------------------- 
> 
> 
> I have tried google for so many hours already, but nothing!
> 
> Any other ideas?
> 
> 
> Thanks in advance.
> 
> 
> Guenther
> Davao City, Philippines, Planet Earth, 30.4 °C Celsius
> 
> 
> 





More information about the Setup mailing list