You need the latest version of eventclassmapping.py. You can either update all of zenoss as you normally do via svn or you can just grab that one file if you want:

> cd $ZENHOME
> svn update Products/ZenModel/migrate/eventclassmapping.py

After updating you need to run zenmigrate again:

> zenmigrate run --commit

I think that should fix the problem you're seeing.

-jason

On Jan 30, 2007, at 9:22 AM, Jason Stevens wrote:

Az,

Looks like there is a bug in one of the migrate scripts that's probably causing this problem for you. Trunk will be updated with a fix later this morning, I'll let you know when it's available.

-jason

On Jan 30, 2007, at 7:19 AM, Jason Stevens wrote:

Running zenmigrate should fix that problem for you:

zenmigrate run --commit

-jason

On Jan 29, 2007, at 10:23 PM, Jewel Muffin wrote:

Hi,

Facing problem to run the Zenoss service ie zenping etc

[EMAIL PROTECTED]:/usr/local/zenoss/log$ zenoss status
Daemon: zeoctl program running; pid=18274
Daemon: zopectl program running; pid=18284
Daemon: zenxevent not running
Daemon: zenmodeler not running
Daemon: zenperfsnmp not running
Daemon: zenperfxmlrpc not running
Daemon: zenprocess not running
Daemon: zenping not running
Daemon: zensyslog not running
Daemon: zenstatus not running
Daemon: zenactions not running
Daemon: zentrap not running
Daemon: zencommand not running

2007-01-30 10:59:01 ERROR zen.Events: (1136, "Column count doesn't match value count at row 1")
Traceback (most recent call last):
File "/usr/local/zenoss/Products/ZenEvents/MySqlSendEvent.py", line 19, in execute
    result = cursor.execute(statement)
File "usr/local/zenoss/lib/python/MySQLdb/cursors.py", line 137, in execute
    self.errorhandler(self, exc, value)
File "usr/local/zenoss/lib/python/MySQLdb/connections.py", line 33, in defaulterrorhandler
    raise errorclass, errorvalue
OperationalError: (1136, "Column count doesn't match value count at row 1") 2007-01-30 10:59:01 ERROR zen.Events: (1136, "Column count doesn't match value count at row 1")
Traceback (most recent call last):
File "/usr/local/zenoss/Products/ZenEvents/MySqlSendEvent.py", line 87, in sendEvent
    self.doSendEvent(event, db)
File "/usr/local/zenoss/Products/ZenEvents/MySqlSendEvent.py", line 114, in doSendEvent
    execute(curs, delete)
File "/usr/local/zenoss/Products/ZenEvents/MySqlSendEvent.py", line 24, in execute
    raise ex
OperationalError: (1136, "Column count doesn't match value count at row 1")


/etc/sudoers
zenoss netmon = NOPASSWD: /usr/local/zenoss/bin/*,/bin/kill
Defaults env_keep += "PYTHONPATH ZENHOME"


Can anyone advise ?

Thanks,

Az

_______________________________________________
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

_______________________________________________
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