Archived community.zenoss.org | full text search
Skip navigation
2464 Views 2 Replies Latest reply: Aug 14, 2011 2:11 PM by fisk4 RSS
fisk4 Rank: White Belt 47 posts since
Nov 22, 2010
Currently Being Moderated

Aug 14, 2011 12:02 PM

Mysql zenpack error

Hello

Im trying to install the docs/DOC-3501 zenpack.

 

I get this error when i try to install from the cli.

 

 

[zenoss@zenoss ~]$ zenpack --install ZenPacks.zenoss.MySqlMonitor-2.1.2-py2.6.egg

 

 

2011-08-14 19:58:53,712 INFO zen.ZPLoader: Loading /usr/local/zenoss/zenoss/ZenPacks/ZenPacks.zenoss.MySqlMonitor-2.1.2-py2.6.egg/ZenPacks/zenoss/MySqlMonitor/objects/objects.xml

2011-08-14 19:58:55,062 WARNING zen.AddToPack: Unable to find context path /zport/dmd/Services/IpService/Registered/serviceclasses (line 1341 ?) for mysql

2011-08-14 19:58:55,062 WARNING zen.AddToPack: Not committing any changes

2011-08-14 19:58:56,136 ERROR zen.ZenPackCmd: zenpack command failed

Traceback (most recent call last):

  File "/usr/local/zenoss/zenoss/Products/ZenUtils/zenpack.py", line 406, in <module>

    zp.run()

  File "/usr/local/zenoss/zenoss/Products/ZenUtils/zenpack.py", line 134, in run

    previousVersion= self.options.previousVersion)

  File "/usr/local/zenoss/zenoss/Products/ZenUtils/ZenPackCmd.py", line 249, in InstallEggAndZenPack

    forceRunExternal=forceRunExternal)

  File "/usr/local/zenoss/zenoss/Products/ZenUtils/ZenPackCmd.py", line 424, in InstallDistAsZenPack

    zenPack.install(dmd)

  File "/usr/local/zenoss/zenoss/ZenPacks/ZenPacks.zenoss.MySqlMonitor-2.1.2-py2.6.egg/ZenPacks/zenoss/MySqlMonitor/__init__.py", line 37, in install

    ZenPackBase.install(self, app)

  File "/usr/local/zenoss/zenoss/Products/ZenModel/ZenPack.py", line 251, in install

    loader.load(self, app)

  File "/usr/local/zenoss/zenoss/Products/ZenModel/ZenPackLoader.py", line 99, in load

    importer.loadObjectFromXML(xmlfile=f)

  File "/usr/local/zenoss/zenoss/Products/ZenRelations/ImportRM.py", line 458, in loadObjectFromXML

    parser.parse(self.infile)

  File "/usr/local/zenoss/python/lib/python2.6/site-packages/_xmlplus/sax/expatreader.py", line 109, in parse

    xmlreader.IncrementalParser.parse(self, source)

  File "/usr/local/zenoss/python/lib/python2.6/site-packages/_xmlplus/sax/xmlreader.py", line 123, in parse

    self.feed(buffer)

  File "/usr/local/zenoss/python/lib/python2.6/site-packages/_xmlplus/sax/expatreader.py", line 216, in feed

    self._parser.Parse(data, isFinal)

  File "/usr/local/zenoss/python/lib/python2.6/site-packages/_xmlplus/sax/expatreader.py", line 312, in start_element

    self._cont_handler.startElement(name, AttributesImpl(attrs))

  File "/usr/local/zenoss/zenoss/Products/ZenRelations/ImportRM.py", line 152, in startElement

    'attributes:\n%s' % formattedAttrs)

Exception: Unable to create object using the following attributes:

  * id: /zport/dmd/Services/IpService/Registered/serviceclasses/mysql

  * module: Products.ZenModel.IpServiceClass

  * class: IpServiceClass

More Like This

  • Retrieving data ...

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points