blioncorp
2010-03-03 23:57:25 UTC
Hello,
Â
I just upgraded my Zenoss installation to 2.5.2.
I use Linux monitor, Apache, and Mysql zenpacks (and some other less important)
Â
Since the update, Mysql and Apache packages do not work anymore.
In event view, I have the following error:
Cmd: /usr/local/zenoss/zenoss/ZenPacks/ZenPacks.zenoss.ApacheMonitor-2.1.0-py2.4.egg/ZenPacks/zenoss/ApacheMonitor/libexec/check_apache.py -H xxx.xxx.xxx.xxx -p 80 -u '/server-status?auto' - Code: 1 - Msg: General error
Â
If I manually run the same command as user zenoss, it works fine.
In zenaction.log, I had plenty of:
Â
2010-03-04 00:17:03,578 ERROR zen.ZenActions: unexpected exception
Traceback (most recent call last):
 File "/usr/local/zenoss/zenoss/Products/ZenEvents/zenactions.py", line 583, in runCycle
   self.mainbody()
 File "/usr/local/zenoss/zenoss/Products/ZenEvents/zenactions.py", line 574, in mainbody
   self.maintenance(zem)
 File "/usr/local/zenoss/zenoss/Products/ZenEvents/zenactions.py", line 383, in maintenance
   self.execute(sql)
 File "/usr/local/zenoss/zenoss/Products/ZenEvents/zenactions.py", line 188, in execute
   return self._getCursor(stmt, callback)
 File "/usr/local/zenoss/zenoss/Products/ZenEvents/zenactions.py", line 174, in _getCursor
   rowsAffected = curs.execute(stmt)
 File "/usr/local/zenoss/python/lib/python2.4/site-packages/MySQLdb/cursors.py", line 137, in execute
   self.errorhandler(self, exc, value)
 File "/usr/local/zenoss/python/lib/python2.4/site-packages/MySQLdb/connections.py", line 33, in defaulterrorhandler
   raise errorclass, errorvalue
OperationalError: (1305, 'PROCEDURE zenoss.age_events does not exist')
Â
The procedure was really missing.
I fixed this error by running : mysql -b zenoss < zenprocs.sql
Now, this log seems to be clean.
Â
In zencommand.log, I have no errors.
Â
What could cause this general error ?
--------------------------------------------------------------
To post a reply to the thread message, either reply to this email (recommended) or visit the message page: http://community.zenoss.org/message/46250#46250
--end--
Â
I just upgraded my Zenoss installation to 2.5.2.
I use Linux monitor, Apache, and Mysql zenpacks (and some other less important)
Â
Since the update, Mysql and Apache packages do not work anymore.
In event view, I have the following error:
Cmd: /usr/local/zenoss/zenoss/ZenPacks/ZenPacks.zenoss.ApacheMonitor-2.1.0-py2.4.egg/ZenPacks/zenoss/ApacheMonitor/libexec/check_apache.py -H xxx.xxx.xxx.xxx -p 80 -u '/server-status?auto' - Code: 1 - Msg: General error
Â
If I manually run the same command as user zenoss, it works fine.
In zenaction.log, I had plenty of:
Â
2010-03-04 00:17:03,578 ERROR zen.ZenActions: unexpected exception
Traceback (most recent call last):
 File "/usr/local/zenoss/zenoss/Products/ZenEvents/zenactions.py", line 583, in runCycle
   self.mainbody()
 File "/usr/local/zenoss/zenoss/Products/ZenEvents/zenactions.py", line 574, in mainbody
   self.maintenance(zem)
 File "/usr/local/zenoss/zenoss/Products/ZenEvents/zenactions.py", line 383, in maintenance
   self.execute(sql)
 File "/usr/local/zenoss/zenoss/Products/ZenEvents/zenactions.py", line 188, in execute
   return self._getCursor(stmt, callback)
 File "/usr/local/zenoss/zenoss/Products/ZenEvents/zenactions.py", line 174, in _getCursor
   rowsAffected = curs.execute(stmt)
 File "/usr/local/zenoss/python/lib/python2.4/site-packages/MySQLdb/cursors.py", line 137, in execute
   self.errorhandler(self, exc, value)
 File "/usr/local/zenoss/python/lib/python2.4/site-packages/MySQLdb/connections.py", line 33, in defaulterrorhandler
   raise errorclass, errorvalue
OperationalError: (1305, 'PROCEDURE zenoss.age_events does not exist')
Â
The procedure was really missing.
I fixed this error by running : mysql -b zenoss < zenprocs.sql
Now, this log seems to be clean.
Â
In zencommand.log, I have no errors.
Â
What could cause this general error ?
--------------------------------------------------------------
To post a reply to the thread message, either reply to this email (recommended) or visit the message page: http://community.zenoss.org/message/46250#46250
--end--