Now, I'm getting this and the daemons won't start (zentrap, zenperfsnmp, etc). Lucikly, reinstalling from the 1.0.2 tar allows me to get back up and running again.
Thanks,
Chris
zenbuild.log:
ERROR:Zope:Could not import Products.ZenEvents
Traceback (most recent call last):
File "usr/local/zenoss/lib/python/OFS/Application.py", line 695, in import_product
File "/usr/local/zenoss/Products/ZenEvents/__init__.py", line 17, in ?
from MySqlEventManager import MySqlEventManager, addMySqlEventManager, \
File "/usr/local/zenoss/Products/ZenEvents/MySqlEventManager.py", line 9, in ?
from EventManagerBase import EventManagerBase
File "/usr/local/zenoss/Products/ZenEvents/EventManagerBase.py", line 844
<<<<<<< .mine
^
SyntaxError: invalid syntax
2007-01-19 17:37:08 ERROR Zope Could not import Products.ZenEvents
Traceback (most recent call last):
File "usr/local/zenoss/lib/python/OFS/Application.py", line 695, in import_product
File "/usr/local/zenoss/Products/ZenEvents/__init__.py", line 17, in ?
from MySqlEventManager import MySqlEventManager, addMySqlEventManager, \
File "/usr/local/zenoss/Products/ZenEvents/MySqlEventManager.py", line 9, in ?
from EventManagerBase import EventManagerBase
File "/usr/local/zenoss/Products/ZenEvents/EventManagerBase.py", line 844
<<<<<<< .mine
^
SyntaxError: invalid syntax
ERROR:Zope:Couldn't install ZenEvents
Traceback (most recent call last):
File "usr/local/zenoss/lib/python/OFS/Application.py", line 745, in install_product
File "/usr/local/zenoss/Products/ZenEvents/__init__.py", line 17, in ?
from MySqlEventManager import MySqlEventManager, addMySqlEventManager, \
File "/usr/local/zenoss/Products/ZenEvents/MySqlEventManager.py", line 9, in ?
from EventManagerBase import EventManagerBase
File "/usr/local/zenoss/Products/ZenEvents/EventManagerBase.py", line 844
<<<<<<< .mine
^
SyntaxError: invalid syntax
2007-01-19 17:37:13 ERROR Zope Couldn't install ZenEvents
Traceback (most recent call last):
File "usr/local/zenoss/lib/python/OFS/Application.py", line 745, in install_product
File "/usr/local/zenoss/Products/ZenEvents/__init__.py", line 17, in ?
from MySqlEventManager import MySqlEventManager, addMySqlEventManager, \
File "/usr/local/zenoss/Products/ZenEvents/MySqlEventManager.py", line 9, in ?
from EventManagerBase import EventManagerBase
File "/usr/local/zenoss/Products/ZenEvents/EventManagerBase.py", line 844
<<<<<<< .mine
^
SyntaxError: invalid syntax
ERROR:Zope:Couldn't install ZenModel
Traceback (most recent call last):
File "usr/local/zenoss/lib/python/OFS/Application.py", line 773, in install_product
File "/usr/local/zenoss/Products/ZenModel/__init__.py", line 111, in initialize
if not confmonModules: loadConfmonModules()
File "/usr/local/zenoss/Products/ZenModel/__init__.py", line 100, in loadConfmonModules
mod = __import__(product, globals(), locals(), [])
File "/usr/local/zenoss/Products/ZenModel/CPU.py", line 21, in ?
from HWComponent import HWComponent
File "/usr/local/zenoss/Products/ZenModel/HWComponent.py", line 7, in ?
from Hardware import Hardware
File "/usr/local/zenoss/Products/ZenModel/Hardware.py", line 21, in ?
from MEProduct import MEProduct
File "/usr/local/zenoss/Products/ZenModel/MEProduct.py", line 10, in ?
from ManagedEntity import ManagedEntity
File "/usr/local/zenoss/Products/ZenModel/ManagedEntity.py", line 16, in ?
from RRDView import RRDView
IndentationError: expected an indented block (RRDView.py, line 125)
2007-01-19 17:37:13 ERROR Zope Couldn't install ZenModel
Traceback (most recent call last):
File "usr/local/zenoss/lib/python/OFS/Application.py", line 773, in install_product
File "/usr/local/zenoss/Products/ZenModel/__init__.py", line 111, in initialize
if not confmonModules: loadConfmonModules()
File "/usr/local/zenoss/Products/ZenModel/__init__.py", line 100, in loadConfmonModules
mod = __import__(product, globals(), locals(), [])
File "/usr/local/zenoss/Products/ZenModel/CPU.py", line 21, in ?
from HWComponent import HWComponent
File "/usr/local/zenoss/Products/ZenModel/HWComponent.py", line 7, in ?
from Hardware import Hardware
File "/usr/local/zenoss/Products/ZenModel/Hardware.py", line 21, in ?
from MEProduct import MEProduct
File "/usr/local/zenoss/Products/ZenModel/MEProduct.py", line 10, in ?
from ManagedEntity import ManagedEntity
File "/usr/local/zenoss/Products/ZenModel/ManagedEntity.py", line 16, in ?
from RRDView import RRDView
IndentationError: expected an indented block (RRDView.py, line 125)
WARNING:ZODB:Could not import class 'ZenossInfo' from module 'Products.ZenModel.ZenossInfo'
2007-01-19 17:37:14 WARNING ZODB Could not import class 'ZenossInfo' from module 'Products.ZenModel.ZenossInfo' Jason Stevens <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED] 01/19/2007 05:12 PM
|
|
That looks like a good svn checkout. Sorry if I'm repeating steps you already took, just trying to cover all the bases. Try this next:
> cd $ZENHOME/Products
> svn update
> cd $ZENHOME/bin
> svn update
> cd /home/zenoss/zenossinst
> svn update
> ./install.sh
-jason
On Jan 19, 2007, at 4:19 PM, Chris Friedline wrote:
No libzenoss in /home/zenoss/zenossinst.
:/usr/local/zenoss/Products$ svn info
Path: .
URL: http://dev.zenoss.org/svn/trunk/Products
Repository Root: http://dev.zenoss.org/svn
Repository UUID: 4f473830-b6da-0310-973f-bbbfb169328c
Revision: 3798
Node Kind: directory
Schedule: normal
Last Changed Author: ian
Last Changed Rev: 3798
Last Changed Date: 2007-01-17 17:12:38 -0500 (Wed, 17 Jan 2007)
Properties Last Updated: 2007-01-09 14:23:29 -0500 (Tue, 09 Jan 2007)
:/usr/local/zenoss/bin$ svn info
Path: .
URL: http://dev.zenoss.org/svn/trunk/bin
Repository Root: http://dev.zenoss.org/svn
Repository UUID: 4f473830-b6da-0310-973f-bbbfb169328c
Revision: 3798
Node Kind: directory
Schedule: normal
Last Changed Author: chris
Last Changed Rev: 3778
Last Changed Date: 2007-01-15 19:18:30 -0500 (Mon, 15 Jan 2007)
Properties Last Updated: 2007-01-09 14:23:34 -0500 (Tue, 09 Jan 2007)
Thanks,
Chris
| Jason Stevens < [EMAIL PROTECTED] > Sent by: [EMAIL PROTECTED] 01/19/2007 04:14 PM
|
|
Chris,
Is there a libzenoss directory in your zenossinst directory?
Also, test to see if $ZENHOME/Products and $ZENHOME/bin are actually checked out from svn:
>cd $ZENHOME/Products
>svn info
>cd $ZENHOME/bin
>svn info
-jason
On Jan 19, 2007, at 1:52 PM, Chris Friedline wrote:
as zenoss user:
cd /zenossinst
svn update
./install.sh
| Jason Stevens < [EMAIL PROTECTED] > Sent by: [EMAIL PROTECTED] 01/19/2007 01:50 PM
|
|
Chris,
Can you list the steps you took to upgrade your install? Looks like the install scripts and the some of the code got out of sync.
-jason
On Jan 17, 2007, at 5:54 PM, Chris Friedline wrote:
When upgrading to the latest SVN (3798, but originally installed from tarball), I get the following message. I've tested the [EMAIL PROTECTED] and [EMAIL PROTECTED] users in MySQL and the credentials are correct. Do I need to delete the database to have it be recreated? I chose Y to migrate the database.
/usr/local/zenoss/etc/zope.conf converted
Starting Zope Object Database
. daemon process started, pid=11139
Loading initial Zenoss objects into the Zeo database
(this can take a few minutes)
unable to create the initial Zenoss object database
The zenbuild.log shows this:
make[1]: Leaving directory `/home/zenoss/zenossinst/build/winexe-0.7/source'
creating events database using zenevent build...
creating database
loading schema
ERROR 1359 (HY000) at line 76: Trigger already exists
loading stored procedures
events database created and loaded
usage: zenbuild.py [options]
zenbuild.py: error: no such option: --smtphost
Any help would be appreciated.
Thanks,
Chris
--------------------------------------
VCU Health System
http://www.vcuhealth.org
_______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
