Il giorno ven, 02/12/2005 alle 15.36 +0100, Frederic MASSOT ha scritto:
> Package: zope-common
> Version: 0.5.15
> Severity: normal
> 
> 
> Hi,
> 
> When I restart Zope in crontab with the command :
> 
> 0  4  *  *  *  /etc/init.d/zope2.7 restart
> 
> I have this result :
> 
> Zope2.7: restarting juliana_1 instance failed!
> Zope2.7: restarting juliana_2 instance failed!

The problem is that your PATH environment variable doesn't 
contain "/usr/sbin", where dzhandle is installed. To solve 
your problem, please add the following row before your crontab rule:

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

I know that I could change /etc/init.d/zope* to use "/usr/sbin/dzhandle"
instead of "dzhandle", but there is no reason to do so (other than this
bug report) and I really prefer to leave it as it is now. All in all,
this problem is related to an environment variable that is right when
you run commands with root.

If you agree, I'll close this bug report.

-- 
Fabio Tranchitella <[EMAIL PROTECTED]>                        .''`.
Proud Debian GNU/Linux developer, admin and user.            : :'  :
                                                             `. `'`
   http://people.debian.org/~kobold/                           `-
_____________________________________________________________________
1024D/7F961564, fpr 5465 6E69 E559 6466 BF3D 9F01 2BF8 EE2B 7F96 1564

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to