Update:

It looks like this is the failing code:

Code:

run_mkzopeinstance()
{
    USERNAME=${OS_USERNAME}
    id ${USERNAME} 2>&1 >/dev/null || USERNAME=$USER
    if [ ! -f backup.tar ] ; then
        $PYTHON $ZOPEHOME/bin/mkzopeinstance.py \
            --dir="$ZENHOME" \
            --user="admin:$ZOPEPASSWORD" || fail Unable to create zope instance.
        mv $ZENHOME/etc/zenoss.conf $ZENHOME/etc/zope.conf
        replace "effective-user zenoss" "effective-user $USERNAME" $ZENHOME/etc/
zope.conf
    fi
}




$ZOPEHOME is set to $ZENHOME = /usr/local/zenoss
It expects to find mkzopeinstance.py in /usr/local/zenoss/bin, but I don't find 
anything that attempts to put it there.     I tried copying the entire 
build/Zope-2.8.8-final/utilities directory to ZOPEHOME/bin, which changed the 
error to:


> 
> Traceback (most recent call last):
>   File "/usr/local/zenoss/bin/mkzeoinstance.py", line 26, in ?
>     from ZEO.mkzeoinst import ZEOInstanceBuilder
> ImportError: No module named ZEO.mkzeoinst
> unable to create Zeo database instance.
> 


------------------------
 Scott Lander




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=6544#6544

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to