That's the same issue when I try to install either of the non-trunk source
packages.

Kristopher Dick

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of cdillardhsp
Sent: Thursday, 31 May 2007 12:11
To: [email protected]
Subject: [zenoss-users] Heck of a time installing 1.9.6 beta on CentOS 4

I've installed the deps and zenoss 1.9.6.  When I run zenoss for the first
time it goes through the process it fails to create the dag-gum Zeo database
for some reason (unknown as of yet).

This app is cool, except for the pains during installation.  Would
appreciate some help with this so I can monitor my boxes while I sit and
work at home in my underware.  :)  That'd be great...

I can run the zenoss_init_pre script and get the same results consistently,
see...
-------------------------------------------------------------------
[EMAIL PROTECTED] ~]# /opt/zenoss/bin/zenoss_init_pre 
Stopping snmpd:                                            [  OK  ]
Starting snmpd:                                            [  OK  ]
Shutting down MySQL..                                      [  OK  ]
Starting MySQL                                             [  OK  ]
Starting Zope Object Database
daemon process already running; pid=6237
Loading initial Zenoss objects into the Zeo database
(this can take a few minutes)
unable to create the initial Zenoss object database
-------------------------------------------------------------------
The same results occur when running this script as the zenoss user.  I've
seen others about making sure that localhost resolves to 127.0.0.1 and is
pingable on the nizetwork and all is good there.

Seems like the daterbases are being created but what the heck is up with the
Zeo database???

mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema | 
| events             | 
| mysql              | 
| test               | 
+--------------------+
4 rows in set (0.00 sec)

Here's the contents of the zenbuild.log file:
[EMAIL PROTECTED] zenoss]# cat zenbuild.log 
creating events database using zenevent build...
creating database
loading schema
ERROR 1005 (HY000) at line 1: Can't create table './events/status.frm'
(errno: 121)
loading stored procedures
events database created and loaded
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-05-31 12:29:57 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.-1208243552:A storage error occured during the second phase of
the two-phase commit.  Resources may be in an inconsistent state.
2007-05-31 12:30:03 CRITICAL txn.-1208243552 A storage error occured during
the second phase of the two-phase commit.  Resources may be in an
inconsistent state.
Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenModel/zenbuild.py", line 143, in ?
    zb = zenbuild()
  File "/opt/zenoss/Products/ZenModel/zenbuild.py", line 51, in __init__
    self.app = Zope2.app()
  File "/opt/zenoss/lib/python/Zope2/__init__.py", line 51, in app
    startup()
  File "/opt/zenoss/lib/python/Zope2/__init__.py", line 47, in startup
    _startup()
  File "/opt/zenoss/lib/python/Zope2/App/startup.py", line 96, in startup
    OFS.Application.initialize(application)
  File "/opt/zenoss/lib/python/OFS/Application.py", line 298, in initialize
    initializer.initialize()
  File "/opt/zenoss/lib/python/OFS/Application.py", line 325, in initialize
    self.install_inituser()
  File "/opt/zenoss/lib/python/OFS/Application.py", line 507, in
install_inituser
    self.commit('Created initial user')
  File "/opt/zenoss/lib/python/OFS/Application.py", line 314, in commit
    transaction.commit()
  File "/opt/zenoss/lib/python/transaction/_manager.py", line 84, in commit
    self.get().commit(sub)
  File "/opt/zenoss/lib/python/transaction/_transaction.py", line 381, in
commit
    self._saveCommitishError() # This raises!
  File "/opt/zenoss/lib/python/transaction/_transaction.py", line 379, in
commit
    self._commitResources()
  File "/opt/zenoss/lib/python/transaction/_transaction.py", line 432, in
_commitResources
    rm.tpc_finish(self)
  File "/opt/zenoss/lib/python/ZODB/Connection.py", line 651, in tpc_finish
    self._storage.tpc_finish(transaction, callback)
  File "/opt/zenoss/lib/python/ZEO/ClientStorage.py", line 974, in
tpc_finish
    self._update_cache(tid)
  File "/opt/zenoss/lib/python/ZEO/ClientStorage.py", line 999, in
_update_cache
    self._cache.invalidate(oid, version, tid)
  File "/opt/zenoss/lib/python/ZEO/cache.py", line 376, in invalidate
    assert o.end_tid is None  # i.e., o was current
AssertionError
creating events database using zenevent build...
creating database
loading schema
ERROR 1005 (HY000) at line 1: Can't create table './events/status.frm'
(errno: 121)
loading stored procedures
events database created and loaded
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-05-31 12:47:05 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.-1208485216:A storage error occured during the second phase of
the two-phase commit.  Resources may be in an inconsistent state.
2007-05-31 12:47:11 CRITICAL txn.-1208485216 A storage error occured during
the second phase of the two-phase commit.  Resources may be in an
inconsistent state.
Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenModel/zenbuild.py", line 143, in ?
    zb = zenbuild()
  File "/opt/zenoss/Products/ZenModel/zenbuild.py", line 51, in __init__
    self.app = Zope2.app()
  File "/opt/zenoss/lib/python/Zope2/__init__.py", line 51, in app
    startup()
  File "/opt/zenoss/lib/python/Zope2/__init__.py", line 47, in startup
    _startup()
  File "/opt/zenoss/lib/python/Zope2/App/startup.py", line 96, in startup
    OFS.Application.initialize(application)
  File "/opt/zenoss/lib/python/OFS/Application.py", line 298, in initialize
    initializer.initialize()
  File "/opt/zenoss/lib/python/OFS/Application.py", line 325, in initialize
    self.install_inituser()
  File "/opt/zenoss/lib/python/OFS/Application.py", line 507, in
install_inituser
    self.commit('Created initial user')
  File "/opt/zenoss/lib/python/OFS/Application.py", line 314, in commit
    transaction.commit()
  File "/opt/zenoss/lib/python/transaction/_manager.py", line 84, in commit
    self.get().commit(sub)
  File "/opt/zenoss/lib/python/transaction/_transaction.py", line 381, in
commit
    self._saveCommitishError() # This raises!
  File "/opt/zenoss/lib/python/transaction/_transaction.py", line 379, in
commit
    self._commitResources()
  File "/opt/zenoss/lib/python/transaction/_transaction.py", line 432, in
_commitResources
    rm.tpc_finish(self)
  File "/opt/zenoss/lib/python/ZODB/Connection.py", line 651, in tpc_finish
    self._storage.tpc_finish(transaction, callback)
  File "/opt/zenoss/lib/python/ZEO/ClientStorage.py", line 974, in
tpc_finish
    self._update_cache(tid)
  File "/opt/zenoss/lib/python/ZEO/ClientStorage.py", line 999, in
_update_cache
    self._cache.invalidate(oid, version, tid)
  File "/opt/zenoss/lib/python/ZEO/cache.py", line 376, in invalidate
    assert o.end_tid is None  # i.e., o was current
AssertionError
[EMAIL PROTECTED] zenoss]#

------------------------
 Clayton Dillard




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

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

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



_______________________________________________
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