----- "Jason Stevens" <[EMAIL PROTECTED]> wrote:
> This might not be as dire as it seems :-)
>
> 1. First, tar up your zenhome so we can get back to the current state
>
> if need be.
> 2. Create a temp dir somewhere and copy zenhome/etc, zenhome/perf and
>
> zenhome/var/Data.fs to it.
> 3. blow away your zenoss install and install again. Either version
> 1.0.x or 1.1.
> 4. Tar this entire clean install just for safety's sake
> 5. Copy the perf and Data.fs from step 2 into the appropriate places
>
> in the new install, blowing away the new clean zenhome/perf and
> zenhome/var/Data.fs. Don't do anything to etc yet, leave the clean
> one there. If you went with 1.1 then do the same with zenhome/etc,
> otherwise let's not touch etc just yet.
> 6. If you installed 1.1 then zenmigrate run --commit
> 7. Bring up zenoss
>
> Let me know what issues you run into and we'll work from there. If
> you went with 1.0.x then you can probably copy your files from the
> backed-up etc directory to the new etc directory except for
> zope.conf. I suspect that the newer zope.conf might not play nice
> with the older version of zope.
>
I blew away the /opt/zenoss directory (after backing it up of course). Ran
./install.sh (SVN 4004) and this is what happened:
[EMAIL PROTECTED] zenossinst]$ ./install.sh
This installer actually builds Zenoss.
For a simpler installation try the VMPlayer Appliance image,
or use RPMs for Redhat based systems.
Building...
Password for the Zenoss "admin" user [zenoss]:
Enter the password again:
MySQL event database name [events]:
MySQL username for Zenoss events database [zenoss]:
MySQL password for zenoss [zenoss]:
installing into //opt/zenoss
build log is in zenbuild.log
checking out Zenoss from svn: branch trunk
mkdir -p //opt/zenoss/skel/etc
cp conf/zope.conf.in //opt/zenoss/skel/etc/zenoss.conf.in
installing zope
installing pysnmp
installing pycrypto
installing twisted
installing twistedsnmp
installing mysql-python
installing libart
installing freetype
installing libpng
configuring build/rrdtool-1.2.15/Makefile
installing rrdtool
installing epydoc
installing snpp
installing yapps
installing nagios
installing libsmi
cp externallibs/setuptools*.egg build/simplejson-1.4
installing simplejson
configuring winexe-install
installing conf/freetds.conf
installing conf/snmpd.conf
installing conf/zenactions.conf
installing conf/zenbackup.conf
installing conf/zencommand.conf
installing conf/zendisc.conf
installing conf/zenmib.conf
installing conf/zenmigrate.conf
installing conf/zenmodeler.conf
installing conf/zenpack.conf
installing conf/zenperfsnmp.conf
installing conf/zenperfxmlrpc.conf
installing conf/zenping.conf
installing conf/zenprocess.conf
installing conf/zenstatus.conf
installing conf/zensyslog.conf
installing conf/zentrap.conf
installing conf/zenxevent.conf
installing conf/zope.conf.in
MySQL root passwd: <password>
/opt/zenoss/etc/zope.conf converted
Wrote file /opt/zenoss/etc/zeo.conf
Wrote file /opt/zenoss/bin/zeoctl
Changed mode for /opt/zenoss/bin/zeoctl to 755
Wrote file /opt/zenoss/bin/runzeo
Changed mode for /opt/zenoss/bin/runzeo to 755
Starting Zope Object Database
. daemon process started, pid=29414
Loading initial Zenoss objects into the Zeo database
(this can take a few minutes)
ZentinelPortal loaded at zport
unable to create the initial Zenoss object database
Here is the end of zenbuild.log
[EMAIL PROTECTED] zenossinst]$ tail -30 zenbuild.log
/opt/zenoss/lib/python/OFS/subscribers.py:74: DeprecationWarning:
Products.ZenModel.ZentinelPortal.ZentinelPortal.manage_afterAdd is deprecated
and will be removed in Zope 2.11, you should use event subscribers instead, and
meanwhile mark the class with <five:deprecatedManageAddDelete/>
DeprecationWarning)
/opt/zenoss/lib/python/OFS/subscribers.py:74: DeprecationWarning:
Products.PluggableAuthService.PluggableAuthService.PluggableAuthService.manage_afterAdd
is deprecated and will be removed in Zope 2.11, you should use event
subscribers instead, and meanwhile mark the class with
<five:deprecatedManageAddDelete/>
DeprecationWarning)
/opt/zenoss/lib/python/OFS/subscribers.py:74: DeprecationWarning:
Products.PluggableAuthService.plugins.CookieAuthHelper.CookieAuthHelper.manage_afterAdd
is deprecated and will be removed in Zope 2.11, you should use event
subscribers instead, and meanwhile mark the class with
<five:deprecatedManageAddDelete/>
DeprecationWarning)
/opt/zenoss/lib/python/OFS/subscribers.py:74: DeprecationWarning:
Products.PluggableAuthService.plugins.ZODBRoleManager.ZODBRoleManager.manage_afterAdd
is deprecated and will be removed in Zope 2.11, you should use event
subscribers instead, and meanwhile mark the class with
<five:deprecatedManageAddDelete/>
DeprecationWarning)
Traceback (most recent call last):
File "/opt/zenoss/Products/ZenModel/zenbuild.py", line 130, in ?
zb.build()
File "/opt/zenoss/Products/ZenModel/zenbuild.py", line 112, in build
dmdBuilder.build()
File "/opt/zenoss/Products/ZenModel/DmdBuilder.py", line 148, in build
self.buildUserCommands()
File "/opt/zenoss/Products/ZenModel/DmdBuilder.py", line 130, in
buildUserCommands
self.dmd.manage_addUserCommand(id, cmd=cmd)
File "/opt/zenoss/Products/ZenModel/Commandable.py", line 45, in
manage_addUserCommand
self.userCommands._setObject(newId, uc)
File "/opt/zenoss/Products/ZenRelations/ToManyContRelationship.py", line 89,
in _setObject
self.addRelation(object)
File "/opt/zenoss/Products/ZenRelations/ToManyContRelationship.py", line 81,
in addRelation
ToManyRelationshipBase.addRelation(self, obj)
File "/opt/zenoss/Products/ZenRelations/RelationshipBase.py", line 67, in
addRelation
if not isinstance(obj, self.remoteClass()):
File "/opt/zenoss/Products/ZenRelations/RelationshipBase.py", line 107, in
remoteClass
classdef = importClass(schema.remoteClass, baseModule)
File "/opt/zenoss/Products/ZenRelations/utils.py", line 27, in importClass
return getattr(mod, comp, mod)
UnboundLocalError: local variable 'comp' referenced before assignment
--Dennis
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users