Anyone have any thoughts on this? I'm looking to get this resolved or
else I'll have to go back to 1.1.2

On 6/11/07, Dennis B. Hopp <[EMAIL PROTECTED]> wrote:
I'm having a problem as well.  After I install 2.0 and run zen2.load.py I
get this:

[EMAIL PROTECTED] zenoss]$ bin/zen2load.py
WARNING:OFS.Application:Duplicate Product name
After loading Product 'Five' from '/opt/zenoss/Products',
I skipped the one in '/opt/zenoss/lib/python/Products'.

2007-06-11 11:08:35 WARNING OFS.Application Duplicate Product name
After loading Product 'Five' from '/opt/zenoss/Products',
I skipped the one in '/opt/zenoss/lib/python/Products'.

CRITICAL:txn.-1208457536:A storage error occured during the second phase of
the two-phase commit.  Resources may be in an inconsistent state.
2007-06-11 11:08:38 CRITICAL txn.-1208457536 A storage error occured during
the second phase of the two-phase commit.  Resources may be in an
inconsistent state.
ERROR:Zope:Couldn't install CMFCore
Traceback (most recent call last):
  File "opt/zenoss/lib/python/OFS/Application.py", line
826, in install_product
  File "opt/zenoss/lib/python/transaction/_manager.py",
line 84, in commit
  File "opt/zenoss/lib/python/transaction/_transaction.py",
line 381, in commit
  File "opt/zenoss/lib/python/transaction/_transaction.py",
line 379, in commit
  File "opt/zenoss/lib/python/transaction/_transaction.py",
line 432, in _commitResources
  File "opt/zenoss/lib/python/ZODB/Connection.py", line
651, in tpc_finish
  File "opt/zenoss/lib/python/ZEO/ClientStorage.py", line
974, in tpc_finish
  File "opt/zenoss/lib/python/ZEO/ClientStorage.py", line
999, in _update_cache
  File "opt/zenoss/lib/python/ZEO/cache.py", line 376, in
invalidate
AssertionError
2007-06-11 11:08:38 ERROR Zope Couldn't install CMFCore
Traceback (most recent call last):
  File "opt/zenoss/lib/python/OFS/Application.py", line
826, in install_product
  File "opt/zenoss/lib/python/transaction/_manager.py",
line 84, in commit
  File "opt/zenoss/lib/python/transaction/_transaction.py",
line 381, in commit
  File "opt/zenoss/lib/python/transaction/_transaction.py",
line 379, in commit
  File "opt/zenoss/lib/python/transaction/_transaction.py",
line 432, in _commitResources
  File "opt/zenoss/lib/python/ZODB/Connection.py", line
651, in tpc_finish
  File "opt/zenoss/lib/python/ZEO/ClientStorage.py", line
974, in tpc_finish
  File "opt/zenoss/lib/python/ZEO/ClientStorage.py", line
999, in _update_cache
  File "opt/zenoss/lib/python/ZEO/cache.py", line 376, in
invalidate
AssertionError
zport portal object exits; exiting.

Any ideas?

--Dennis


----- Original Message -----
From: "Josh Baird" <[EMAIL PROTECTED]>
To: "General discussion of using zenoss system" <[email protected]>
Sent: Monday, June 11, 2007 9:33:36 AM (GMT-0600) Auto-Detected
Subject: RE: [zenoss-users] Upgrade from 1.1.2 -> 2.0




Just found an additional document on the website about data migration from
1.x.  I will try this again.



Thanks,



Josh




From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Baird, Josh
Sent: Monday, June 11, 2007 10:30 AM
To: [email protected]
Subject: [zenoss-users] Upgrade from 1.1.2 -> 2.0



I just attempted an upgrade from 1.1.2 to 2.0.  The upgrade seemed to go
somewhat smoothly, but when attempting to connect to the web interface I get
the error:

Site error
An error was encountered while publishing this resource. The requested
resource does not exist.

My 1.1.2 installation was working great, database intact, etc.  I have also
noticed that some daemons are not starting.  Here is the upgrade log and
some additional information.  Does anyone know what might be causing this?
This is a CentOS 4.4 box.  Thanks.



[EMAIL PROTECTED]:/opt/zenoss/log$ /etc/rc.d/init.d/zenoss status

Daemon: zeoctl program running; pid=31600

Daemon: zopectl program running; pid=31604

Daemon: zenhub not running

Daemon: zenping not running

Daemon: zensyslog not running

Daemon: zenstatus program running; pid=31640

Daemon: zenactions not running

Daemon: zentrap not running

Daemon: zenmodeler program running; pid=31679

Daemon: zenperfsnmp program running; pid=31696

Daemon: zencommand program running; pid=31705

Daemon: zenprocess program running; pid=31722

Daemon: zenwin program running; pid=31731

Daemon: zeneventlog program running; pid=31740

Daemon: zenwinmodeler program running; pid=31749



[EMAIL PROTECTED]:~/src$ /sbin/service zenoss start

Zenoss upgraded.  Running data migration scripts...

Starting Zope Object Database

. daemon process started, pid=31271

Migrating data

Use of "run" is depracated.

ERROR:ZODB.Connection:Couldn't load state for 0x0f39

Traceback (most recent call last):

  File "/opt/zenoss/lib/python/ZODB/Connection.py", line
704, in setstate

    self._setstate(obj)

  File "/opt/zenoss/lib/python/ZODB/Connection.py", line
758, in _setstate

    self._reader.setGhostState(obj, p)

  File "/opt/zenoss/lib/python/ZODB/serialize.py", line
495, in setGhostState

    state = self.getState(pickle)

  File "/opt/zenoss/lib/python/ZODB/serialize.py", line
488, in getState

    return unpickler.load()

  File "/opt/zenoss/lib/python/ZODB/serialize.py", line
436, in _persistent_load

    return self._conn.get(oid)

  File "/opt/zenoss/lib/python/ZODB/Connection.py", line
215, in get

    self._cache[oid] = obj

TypeError: Cache values must be persistent objects.

Recovering

ERROR:ZODB.Connection:Couldn't load state for 0x0f39

Traceback (most recent call last):

  File "/opt/zenoss/lib/python/ZODB/Connection.py", line
704, in setstate

    self._setstate(obj)

  File "/opt/zenoss/lib/python/ZODB/Connection.py", line
758, in _setstate

    self._reader.setGhostState(obj, p)

  File "/opt/zenoss/lib/python/ZODB/serialize.py", line
495, in setGhostState

    state = self.getState(pickle)

  File "/opt/zenoss/lib/python/ZODB/serialize.py", line
488, in getState

    return unpickler.load()

  File "/opt/zenoss/lib/python/ZODB/serialize.py", line
436, in _persistent_load

    return self._conn.get(oid)

  File "/opt/zenoss/lib/python/ZODB/Connection.py", line
215, in get

    self._cache[oid] = obj

TypeError: Cache values must be persistent objects.

ERROR:ZODB.Connection:Couldn't load state for 0x0f39

Traceback (most recent call last):

  File "/opt/zenoss/lib/python/ZODB/Connection.py", line
704, in setstate

    self._setstate(obj)

  File "/opt/zenoss/lib/python/ZODB/Connection.py", line
758, in _setstate

    self._reader.setGhostState(obj, p)

  File "/opt/zenoss/lib/python/ZODB/serialize.py", line
495, in setGhostState

    state = self.getState(pickle)

  File "/opt/zenoss/lib/python/ZODB/serialize.py", line
488, in getState

    return unpickler.load()

  File "/opt/zenoss/lib/python/ZODB/serialize.py", line
436, in _persistent_load

    return self._conn.get(oid)

  File "/opt/zenoss/lib/python/ZODB/Connection.py", line
215, in get

    self._cache[oid] = obj

TypeError: Cache values must be persistent objects.

Traceback (most recent call last):

  File
"/opt/zenoss/Products/ZenModel/migrate/zenmigrate.py", line
21, in ?

    main()

  File
"/opt/zenoss/Products/ZenModel/migrate/zenmigrate.py", line
18, in main

    m.main()

  File "/opt/zenoss/Products/ZenModel/migrate/Migrate.py",
line 310, in main

    self.cutover()

  File "/opt/zenoss/Products/ZenModel/migrate/Migrate.py",
line 189, in cutover

    self.recover()

  File "/opt/zenoss/Products/ZenModel/migrate/Migrate.py",
line 205, in recover

    current = self._currentVersion()

  File "/opt/zenoss/Products/ZenModel/migrate/Migrate.py",
line 127, in _currentVersion

    self.dmd.version = 'Zenoss ' + VERSION

  File "/opt/zenoss/lib/python/ZODB/Connection.py", line
704, in setstate

    self._setstate(obj)

  File "/opt/zenoss/lib/python/ZODB/Connection.py", line
758, in _setstate

    self._reader.setGhostState(obj, p)

  File "/opt/zenoss/lib/python/ZODB/serialize.py", line
495, in setGhostState

    state = self.getState(pickle)

  File "/opt/zenoss/lib/python/ZODB/serialize.py", line
488, in getState

    return unpickler.load()

  File "/opt/zenoss/lib/python/ZODB/serialize.py", line
436, in _persistent_load

    return self._conn.get(oid)

  File "/opt/zenoss/lib/python/ZODB/Connection.py", line
215, in get

    self._cache[oid] = obj

TypeError: Cache values must be persistent objects.

Stopping Zope Object Database

daemon process stopped

Zenoss upgrade complete.

Daemon: zeoctl . daemon process started, pid=31318

Daemon: zopectl . daemon process started, pid=31322

Daemon: zenhub starting...

Daemon: zenping starting...

Daemon: zensyslog starting...

/opt/zenoss/lib/python/Crypto/Util/randpool.py:161:
FutureWarning: hex/oct constants > sys.maxint will return positive values in
Python 2.4nd up

  self.__counter = (self.__counter + 1) & 0xFFFFffff

Daemon: zenstatus starting...

Daemon: zenactions starting...

Daemon: zentrap starting...

Daemon: zenmodeler starting...

/opt/zenoss/lib/python/pynetsnmp/CONSTANTS.py:15:
FutureWarning: hex/oct constants > sys.maxint will return positive values in
Python 2.4 a up

  MAX_SUBID = 0xFFFFFFFF

Daemon: zenperfsnmp starting...

Daemon: zencommand starting...

Daemon: zenprocess starting...

Daemon: zenwin starting...

Daemon: zeneventlog starting...

Daemon: zenwinmodeler starting...


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

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

Reply via email to