Discussion:
Error: A zenpack failed to install. Fix the zenpack or delete it from /opt/zenoss/var/zenpack_actions.txt, then restart zenoss.
Lukas Novak
2013-05-06 06:29:57 UTC
Permalink
Lukas Novak [http://community.zenoss.org/people/lukasn] created the discussion

"Error: A zenpack failed to install. Fix the zenpack or delete it from /opt/zenoss/var/zenpack_actions.txt, then restart zenoss."

To view the discussion, visit: http://community.zenoss.org/message/73054#73054

--------------------------------------------------------------
Hello,

I would like to upgrade Zenoss 3.2.1 to the latest version. I have downloaded the actual .rpm, got rid of many dependency failures and some more trouble, and now stuck at this:

*"There was an error during the ZenPack operation: Command 'zenpack  --install /opt/zenoss/packs/ZenPacks.zenoss.WindowsMonitor-1.0.5-py2.7.egg' returned non-zero exit status 3*
*Error: A zenpack failed to install. Fix the zenpack or delete it from /opt/zenoss/var/zenpack_actions.txt, then restart zenoss."*

When IÂŽve received it for the first time, it was followed by "Zenoss update complete". IÂŽve tried to delete that zenpack from the file as it suggests, but it didnÂŽt help.

Anybody knows how to fix this? Or what IÂŽm doing wrong?
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73054#73054]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Lukas Novak
2013-05-06 09:48:01 UTC
Permalink
Lukas Novak [http://community.zenoss.org/people/lukasn] created the discussion

"Re: Error: A zenpack failed to install. Fix the zenpack or delete it from /opt/zenoss/var/zenpack_actions.txt, then restart zenoss."

To view the discussion, visit: http://community.zenoss.org/message/73055#73055

--------------------------------------------------------------
Missing information :) - IÂŽm running it on CentOS 5.8.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73055#73055]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
hydruid
2013-05-06 15:13:40 UTC
Permalink
hydruid [http://community.zenoss.org/people/hydruid] created the discussion

"Re: Error: A zenpack failed to install. Fix the zenpack or delete it from /opt/zenoss/var/zenpack_actions.txt, then restart zenoss."

To view the discussion, visit: http://community.zenoss.org/message/73059#73059

--------------------------------------------------------------
Are you able to login to web interface? Try deleting it from there.

If not, try these commands as the zenoss user

zenpack --remove ZenPacks.zenoss.WindowsMonitor
zenpack --fetch ZenPacks.zenoss.WindowsMonitor
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73059#73059]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Lukas Novak
2013-05-07 06:32:15 UTC
Permalink
Lukas Novak [http://community.zenoss.org/people/lukasn] created the discussion

"Re: Error: A zenpack failed to install. Fix the zenpack or delete it from /opt/zenoss/var/zenpack_actions.txt, then restart zenoss."

To view the discussion, visit: http://community.zenoss.org/message/73082#73082

--------------------------------------------------------------
Nope, IÂŽm unable to even display the web interface.

The first command gave me this (as I expected):

[***@zenos_upgrade root]$ zenpack --remove ZenPacks.zenoss.WindowsMonitor
/opt/zenoss/lib/python/Products/ZCatalog/CatalogBrains.py:18: UserWarning: Unbuilt egg for ZenPacks.skills1st.UserRoles [unknown version] (/tmp/ZenPacks.skills1st.UserRoles)
  get_distribution('five.globalrequest')
ERROR:zen.ZenPackCmd:zenpack command failed
Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 486, in <module>
    zp.run()
  File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 195, in run
    self.options.removePackName)
ZenPackException: ZenPack ZenPacks.zenoss.WindowsMonitor is not installed.

Second one this:

[***@zenos_upgrade root]$ zenpack --fetch ZenPacks.zenoss.WindowsMonitor
/opt/zenoss/lib/python/Products/ZCatalog/CatalogBrains.py:18: UserWarning: Unbuilt egg for ZenPacks.skills1st.UserRoles [unknown version] (/tmp/ZenPacks.skills1st.UserRoles)
  get_distribution('five.globalrequest')
/opt/zenoss/lib/python/setuptools/command/easy_install.py:1386: UserWarning: Unbuilt egg for ZenPacks.skills1st.UserRoles [unknown version] (/tmp/ZenPacks.skills1st.UserRoles)
  Environment.add(self,dist)
/opt/zenoss/lib/python/setuptools/package_index.py:155: UserWarning: Unbuilt egg for ZenPacks.skills1st.UserRoles [unknown version] (/tmp/ZenPacks.skills1st.UserRoles)
  Environment.__init__(self,*args,**kw)
/opt/zenoss/lib/python/setuptools/command/easy_install.py:173: UserWarning: Unbuilt egg for ZenPacks.skills1st.UserRoles [unknown version] (/tmp/ZenPacks.skills1st.UserRoles)
  self.local_index = Environment(self.shadow_path+sys.path)

And when I try to start zenoss, as root (when I try "service zenoss start" as zenoss user, It wants some password I donÂŽt know) it still ends with the same error.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73082#73082]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Lukas Novak
2013-05-13 09:12:58 UTC
Permalink
Lukas Novak [http://community.zenoss.org/people/lukasn] created the discussion

"Re: Error: A zenpack failed to install. Fix the zenpack or delete it from /opt/zenoss/var/zenpack_actions.txt, then restart zenoss."

To view the discussion, visit: http://community.zenoss.org/message/73157#73157

--------------------------------------------------------------
So, I have finally "solved" it myself by (re)moving the certain .egg from the /opt/zenoss/packs directory.

But IÂŽd like to install this ZenPack anyway, to be sure it works for 100% :)
Post by Lukas Novak
/opt/zenoss/lib/python/Products/ZCatalog/CatalogBrains.py:18: UserWarning: Unbuilt egg for ZenPacks.skills1st.UserRoles [unknown version] (/tmp/ZenPacks.skills1st.UserRoles)
  get_distribution('five.globalrequest')
INFO:zen.Relations:Ignoring unresolvable object '<persistent broken ZenPacks.skills1st.UserRoles.ZenPack instance '\x00\x00\x00\x00\x00\x03\xd5\xa7'>'
/opt/zenoss/lib/python/setuptools/command/easy_install.py:1386: UserWarning: Unbuilt egg for ZenPacks.skills1st.UserRoles [unknown version] (/tmp/ZenPacks.skills1st.UserRoles)
  Environment.add(self,dist)
/opt/zenoss/lib/python/setuptools/package_index.py:155: UserWarning: Unbuilt egg for ZenPacks.skills1st.UserRoles [unknown version] (/tmp/ZenPacks.skills1st.UserRoles)
  Environment.__init__(self,*args,**kw)
/opt/zenoss/lib/python/setuptools/command/easy_install.py:173: UserWarning: Unbuilt egg for ZenPacks.skills1st.UserRoles [unknown version] (/tmp/ZenPacks.skills1st.UserRoles)
  self.local_index = Environment(self.shadow_path+sys.path)
INFO:zen.windowsmonitor:Removing Packables from previous zenpacks
INFO:zen.windowsmonitor:Migrating WinPerfDataSources to new class
INFO:zen.windowsmonitor:Converting 0 datasources
2013-05-13 09:27:27,538 INFO zen.ZPLoader: Loading /opt/zenoss/ZenPacks/ZenPacks.zenoss.WindowsMonitor-1.0.5-py2.7.egg/ZenPacks/zenoss/WindowsMonitor/objects/objects.xml
2013-05-13 09:27:27,541 WARNING zen.AddToPack: Unable to find context path /zport/dmd/Devices/Server/Windows (line 4 ?) for WMI
2013-05-13 09:27:27,541 WARNING zen.AddToPack: Not committing any changes
2013-05-13 09:27:27,542 ERROR zen.ZenPackCMD: Error installing ZenPack /opt/zenoss/packs/pukavec/ZenPacks.zenoss.WindowsMonitor-1.0.5-py2.7.egg
  File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 243, in InstallEggAndZenPack
    fromUI=fromUI)
  File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 471, in InstallDistAsZenPack
    zenPack, deferFileDeletion, existing = transactional_actions()
  File "/opt/zenoss/lib/python/ZODB/transact.py", line 44, in g
    r = f(*args, **kwargs)
  File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 430, in transactional_actions
    zenPack.install(dmd)
  File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.WindowsMonitor-1.0.5-py2.7.egg/ZenPacks/zenoss/WindowsMonitor/__init__.py", line 82, in install
    ZenPackBase.install(self, app)
  File "/opt/zenoss/Products/ZenModel/ZenPack.py", line 240, in install
    loader.load(self, app)
  File "/opt/zenoss/Products/ZenModel/ZenPackLoader.py", line 107, in load
    importer.loadObjectFromXML(xmlfile=f)
  File "/opt/zenoss/Products/ZenRelations/ImportRM.py", line 481, in loadObjectFromXML
    parser.parse(self.infile)
  File "/opt/zenoss/lib/python/_xmlplus/sax/expatreader.py", line 109, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/opt/zenoss/lib/python/_xmlplus/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/opt/zenoss/lib/python/_xmlplus/sax/expatreader.py", line 216, in feed
    self._parser.Parse(data, isFinal)
  File "/opt/zenoss/lib/python/_xmlplus/sax/expatreader.py", line 312, in start_element
    self._cont_handler.startElement(name, AttributesImpl(attrs))
  File "/opt/zenoss/Products/ZenRelations/ImportRM.py", line 161, in startElement
    'attributes:\n%s' % formattedAttrs)
  * id: /zport/dmd/Devices/Server/Windows/WMI
  * module: Products.ZenModel.DeviceClass
  * class: DeviceClass
2013-05-13 09:27:27,558 ERROR zen.ZenPackCmd: zenpack command failed
  File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 486, in <module>
    zp.run()
  File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 164, in run
    fromUI=self.options.fromui)
  File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 259, in InstallEggAndZenPack
    raise e
  * id: /zport/dmd/Devices/Server/Windows/WMI
  * module: Products.ZenModel.DeviceClass
  * class: DeviceClass
It seems to me like it canÂŽt be installed because of ZenPacks.skills1st.UserRoles is an "unbuilt egg".

In the web interface, I can see "This pack was just installed, or is missing or broken. Please restart Zope." , but when I restart zopectl or even the whole zenoss, no changes happen.

Does anybody know what am I supposed to do now? :)
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73157#73157]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
hydruid
2013-05-13 23:33:23 UTC
Permalink
hydruid [http://community.zenoss.org/people/hydruid] created the discussion

"Re: Error: A zenpack failed to install. Fix the zenpack or delete it from /opt/zenoss/var/zenpack_actions.txt, then restart zenoss."

To view the discussion, visit: http://community.zenoss.org/message/73188#73188

--------------------------------------------------------------
Try these Steps:

1. Remove the zenpack manually (like you did before)
2. Ensure Zenoss will restart cleanly
3. Install Zenpack1. Option 1:
1. zenpack --fetch ZenPacks.zenoss.WindowsMonitor
2. If that fails, delete manually, ensure zenoss will restart cleanly again

2. Option 2:1. Download zenpack directly
2. copy it to /home/zenoss
3. zenpack --install zenpack.windowsmonitor.egg
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73188#73188]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Lukas Novak
2013-05-14 09:03:04 UTC
Permalink
Lukas Novak [http://community.zenoss.org/people/lukasn] created the discussion

"Re: Error: A zenpack failed to install. Fix the zenpack or delete it from /opt/zenoss/var/zenpack_actions.txt, then restart zenoss."

To view the discussion, visit: http://community.zenoss.org/message/73190#73190

--------------------------------------------------------------
I think, the main problem is the ZenPacks.skills1st.UserRoles , am I right? If IÂŽve got it clearly, this zenpack isnÂŽt neccessary for running a fully functional zenoss. So, letÂŽs get rid of it! But how? This packÂŽs egg is not presented in /opt/zenoss/packs.
Post by Lukas Novak
/opt/zenoss/lib/python/Products/ZCatalog/CatalogBrains.py:18: UserWarning: Unbuilt egg for ZenPacks.skills1st.UserRoles [unknown version] (/tmp/ZenPacks.skills1st.UserRoles)
  get_distribution('five.globalrequest')
ERROR:zen.ZenPackCmd:zenpack command failed
  File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 486, in <module>
    zp.run()
  File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 190, in run
    self.options.removePackName, None)
  File "/opt/zenoss/Products/ZenRelations/ToManyContRelationship.py", line 206, in _getOb
    return self._objects[id].__of__(self)
AttributeError: 'ZenPack' object has no attribute '__of__'
/opt/zenoss/lib/python/Products/ZCatalog/CatalogBrains.py:18: UserWarning: Unbuilt egg for ZenPacks.skills1st.UserRoles [unknown version] (/tmp/ZenPacks.skills1st.UserRoles)
  get_distribution('five.globalrequest')
2013-05-14 10:46:32 WARNING OFS.Uninstalled Could not import class 'ZenPack' from module 'ZenPacks.skills1st.UserRoles'
Welcome to the Zenoss dmd command shell!
'dmd' is bound to the DataRoot. 'zhelp()' to get a list of commands.
Use TAB-TAB to see a list of zendmd related commands.
Tab completion also works for objects -- hit tab after an object name and '.'
(eg dmd. + tab-key).
dmd.ZenPackManager.packs._delObject('ZenPacks.skills1st.UserRoles')
  File "<console>", line 1, in <module>
  File "/opt/zenoss/Products/ZenRelations/ToManyRelationshipBase.py", line 87, in _delObject
    self.removeRelation(obj, suppress_events)
  File "/opt/zenoss/Products/ZenRelations/RelationshipBase.py", line 106, in removeRelation
    self._remoteRemove(obj)
  File "/opt/zenoss/Products/ZenRelations/ToManyContRelationship.py", line 189, in _remoteRemove
    obj.getPrimaryId(), self.getPrimaryId()))
AttributeError: getPrimaryId
About the windowsmonitor - it is being kept out of the /opt/zenoss/packs folder. If IÂŽll put it back, zenoss is not starting and is showing the same error as in my first post.
Post by Lukas Novak
/opt/zenoss/lib/python/Products/ZCatalog/CatalogBrains.py:18: UserWarning: Unbuilt egg for ZenPacks.skills1st.UserRoles [unknown version] (/tmp/ZenPacks.skills1st.UserRoles)
  get_distribution('five.globalrequest')
Daemon: zenwin /opt/zenoss/bin/zenoss: line 110: /opt/zenoss/bin/zenwin: No such file or directory
Daemon: zeneventlog /opt/zenoss/bin/zenoss: line 110: /opt/zenoss/bin/zeneventlog: No such file or directory
Daemon: zenwinperf /opt/zenoss/bin/zenoss: line 110: /opt/zenoss/bin/zenwinperf: No such file or directory
Daemon: zenjmx stopping...
already stopped
Daemon: zenperfsql stopping...
already stopped
Daemon: zenrrdcached stopping...
already stopped
Daemon: zenprocess stopping...
already stopped
Daemon: zencommand stopping...
already stopped
Daemon: zenperfsnmp stopping...
already stopped
Daemon: zenmodeler stopping...
already stopped
Daemon: zentrap stopping...
already stopped
Daemon: zenactiond stopping...
already stopped
Daemon: zenstatus stopping...
already stopped
Daemon: zensyslog stopping...
already stopped
Daemon: zenping stopping...
already stopped
Daemon: zeneventd stopping...
already stopped
Daemon: zenjobs stopping...
already stopped
Daemon: zenhub stopping...
already stopped
Daemon: zopectl daemon manager not running
Daemon: zeneventserver stopping...
Daemon: zeneventserver starting...
Waiting for zeneventserver to start....
There is a problem in /opt/zenoss/var/zenpack_actions.txt: Path not found: '/opt/zenoss/packs/ZenPacks.zenoss.WindowsMonitor-1.0.5-py2.7.egg'
Daemon: zopectl -.
daemon process started, pid=26558
Daemon: zenhub starting...
/opt/zenoss/lib/python/Products/ZCatalog/CatalogBrains.py:18: UserWarning: Unbuilt egg for ZenPacks.skills1st.UserRoles [unknown version] (/tmp/ZenPacks.skills1st.UserRoles)
  get_distribution('five.globalrequest')
Daemon: zenjobs starting...
/opt/zenoss/lib/python/Products/ZCatalog/CatalogBrains.py:18: UserWarning: Unbuilt egg for ZenPacks.skills1st.UserRoles [unknown version] (/tmp/ZenPacks.skills1st.UserRoles)
  get_distribution('five.globalrequest')
Daemon: zeneventd starting...
/opt/zenoss/lib/python/Products/ZCatalog/CatalogBrains.py:18: UserWarning: Unbuilt egg for ZenPacks.skills1st.UserRoles [unknown version] (/tmp/ZenPacks.skills1st.UserRoles)
  get_distribution('five.globalrequest')
Daemon: zenping starting...
/opt/zenoss/lib/python/Products/ZCatalog/CatalogBrains.py:18: UserWarning: Unbuilt egg for ZenPacks.skills1st.UserRoles [unknown version] (/tmp/ZenPacks.skills1st.UserRoles)
  get_distribution('five.globalrequest')
Daemon: zensyslog starting...
/opt/zenoss/lib/python/Products/ZCatalog/CatalogBrains.py:18: UserWarning: Unbuilt egg for ZenPacks.skills1st.UserRoles [unknown version] (/tmp/ZenPacks.skills1st.UserRoles)
  get_distribution('five.globalrequest')
Daemon: zenstatus starting...
/opt/zenoss/lib/python/Products/ZCatalog/CatalogBrains.py:18: UserWarning: Unbuilt egg for ZenPacks.skills1st.UserRoles [unknown version] (/tmp/ZenPacks.skills1st.UserRoles)
  get_distribution('five.globalrequest')
Daemon: zenactiond starting...
/opt/zenoss/lib/python/Products/ZCatalog/CatalogBrains.py:18: UserWarning: Unbuilt egg for ZenPacks.skills1st.UserRoles [unknown version] (/tmp/ZenPacks.skills1st.UserRoles)
  get_distribution('five.globalrequest')
Daemon: zentrap starting...
/opt/zenoss/lib/python/Products/ZCatalog/CatalogBrains.py:18: UserWarning: Unbuilt egg for ZenPacks.skills1st.UserRoles [unknown version] (/tmp/ZenPacks.skills1st.UserRoles)
  get_distribution('five.globalrequest')
Daemon: zenmodeler starting...
/opt/zenoss/lib/python/Products/ZCatalog/CatalogBrains.py:18: UserWarning: Unbuilt egg for ZenPacks.skills1st.UserRoles [unknown version] (/tmp/ZenPacks.skills1st.UserRoles)
  get_distribution('five.globalrequest')
Daemon: zenperfsnmp starting...
/opt/zenoss/lib/python/Products/ZCatalog/CatalogBrains.py:18: UserWarning: Unbuilt egg for ZenPacks.skills1st.UserRoles [unknown version] (/tmp/ZenPacks.skills1st.UserRoles)
  get_distribution('five.globalrequest')
Daemon: zencommand starting...
/opt/zenoss/lib/python/Products/ZCatalog/CatalogBrains.py:18: UserWarning: Unbuilt egg for ZenPacks.skills1st.UserRoles [unknown version] (/tmp/ZenPacks.skills1st.UserRoles)
  get_distribution('five.globalrequest')
Daemon: zenprocess starting...
/opt/zenoss/lib/python/Products/ZCatalog/CatalogBrains.py:18: UserWarning: Unbuilt egg for ZenPacks.skills1st.UserRoles [unknown version] (/tmp/ZenPacks.skills1st.UserRoles)
  get_distribution('five.globalrequest')
Daemon: zenrrdcached starting...
Daemon: zenperfsql starting...
/opt/zenoss/lib/python/Products/ZCatalog/CatalogBrains.py:18: UserWarning: Unbuilt egg for ZenPacks.skills1st.UserRoles [unknown version] (/tmp/ZenPacks.skills1st.UserRoles)
  get_distribution('five.globalrequest')
Daemon: zenjmx starting...
/opt/zenoss/lib/python/Products/ZCatalog/CatalogBrains.py:18: UserWarning: Unbuilt egg for ZenPacks.skills1st.UserRoles [unknown version] (/tmp/ZenPacks.skills1st.UserRoles)
  get_distribution('five.globalrequest')
Daemon: zenwinperf /opt/zenoss/bin/zenoss: line 110: /opt/zenoss/bin/zenwinperf: No such file or directory
Daemon: zeneventlog /opt/zenoss/bin/zenoss: line 110: /opt/zenoss/bin/zeneventlog: No such file or directory
Daemon: zenwin /opt/zenoss/bin/zenoss: line 110: /opt/zenoss/bin/zenwin: No such file or directory
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73190#73190]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Lukas Novak
2013-05-16 12:40:32 UTC
Permalink
Lukas Novak [http://community.zenoss.org/people/lukasn] created the discussion

"Re: Error: A zenpack failed to install. Fix the zenpack or delete it from /opt/zenoss/var/zenpack_actions.txt, then restart zenoss."

To view the discussion, visit: http://community.zenoss.org/message/73229#73229

--------------------------------------------------------------
Thanks to hydruid, IÂŽve got the skills1st Userroles zenpack functional :) .

But it cannot be told about ZenPacks.zenoss.WindowsMonitor.
Post by Lukas Novak
Daemon: zenwin /opt/zenoss/bin/zenoss: line 110: /opt/zenoss/bin/zenwin: No such file or directory
Daemon: zeneventlog /opt/zenoss/bin/zenoss: line 110: /opt/zenoss/bin/zeneventlog: No such file or directory
Daemon: zenwinperf /opt/zenoss/bin/zenoss: line 110: /opt/zenoss/bin/zenwinperf: No such file or directory
Daemon: zenjmx stopping...
Daemon: zenperfsql stopping...
Daemon: zenrrdcached stopping...
Daemon: zenprocess stopping...
Daemon: zencommand stopping...
Daemon: zenperfsnmp stopping...
Daemon: zenmodeler stopping...
Daemon: zentrap stopping...
Daemon: zenactiond stopping...
Daemon: zenstatus stopping...
Daemon: zensyslog stopping...
Daemon: zenping stopping...
Daemon: zeneventd stopping...
Daemon: zenjobs stopping...
Daemon: zenhub stopping...
Daemon: zopectl .
daemon process stopped
Daemon: zeneventserver stopping...
Daemon: zeneventserver starting...
Waiting for zeneventserver to start....
There is a problem in /opt/zenoss/var/zenpack_actions.txt: Path not found: '/opt/zenoss/packs/ZenPacks.zenoss.WindowsMonitor-1.0.5-py2.7.egg'
Daemon: zopectl .
daemon process started, pid=21246
Daemon: zenhub starting...
Daemon: zenjobs starting...
Daemon: zeneventd starting...
Daemon: zenping starting...
Daemon: zensyslog starting...
Daemon: zenstatus starting...
Daemon: zenactiond starting...
Daemon: zentrap starting...
Daemon: zenmodeler starting...
Daemon: zenperfsnmp starting...
Daemon: zencommand starting...
Daemon: zenprocess starting...
Daemon: zenrrdcached starting...
Daemon: zenperfsql starting...
Daemon: zenjmx starting...
Daemon: zenwinperf /opt/zenoss/bin/zenoss: line 110: /opt/zenoss/bin/zenwinperf: No such file or directory
Daemon: zeneventlog /opt/zenoss/bin/zenoss: line 110: /opt/zenoss/bin/zeneventlog: No such file or directory
Daemon: zenwin /opt/zenoss/bin/zenoss: line 110: /opt/zenoss/bin/zenwin: No such file or directory
ERROR:zen.ZenPackCmd:zenpack command failed
  File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 486, in <module>
    zp.run()
  File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 195, in run
    self.options.removePackName)
ZenPackException: ZenPack ZenPacks.zenoss.WindowsMonitor is not installed.
INFO:zen.windowsmonitor:Removing Packables from previous zenpacks
INFO:zen.windowsmonitor:Migrating WinPerfDataSources to new class
INFO:zen.windowsmonitor:Converting 0 datasources
2013-05-16 14:12:41,683 INFO zen.ZPLoader: Loading /opt/zenoss/ZenPacks/ZenPacks.zenoss.WindowsMonitor-1.0.5-py2.7.egg/ZenPacks/zenoss/WindowsMonitor/objects/objects.xml
2013-05-16 14:12:41,685 WARNING zen.AddToPack: Unable to find context path /zport/dmd/Devices/Server/Windows (line 4 ?) for WMI
2013-05-16 14:12:41,685 WARNING zen.AddToPack: Not committing any changes
2013-05-16 14:12:41,686 ERROR zen.ZenPackCMD: Error installing ZenPack ZenPacks.zenoss.WindowsMonitor-1.0.5-py2.7.egg
  File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 243, in InstallEggAndZenPack
    fromUI=fromUI)
  File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 471, in InstallDistAsZenPack
    zenPack, deferFileDeletion, existing = transactional_actions()
  File "/opt/zenoss/lib/python/ZODB/transact.py", line 44, in g
    r = f(*args, **kwargs)
  File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 430, in transactional_actions
    zenPack.install(dmd)
  File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.WindowsMonitor-1.0.5-py2.7.egg/ZenPacks/zenoss/WindowsMonitor/__init__.py", line 82, in install
    ZenPackBase.install(self, app)
  File "/opt/zenoss/Products/ZenModel/ZenPack.py", line 240, in install
    loader.load(self, app)
  File "/opt/zenoss/Products/ZenModel/ZenPackLoader.py", line 107, in load
    importer.loadObjectFromXML(xmlfile=f)
  File "/opt/zenoss/Products/ZenRelations/ImportRM.py", line 481, in loadObjectFromXML
    parser.parse(self.infile)
  File "/opt/zenoss/lib/python/_xmlplus/sax/expatreader.py", line 109, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/opt/zenoss/lib/python/_xmlplus/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/opt/zenoss/lib/python/_xmlplus/sax/expatreader.py", line 216, in feed
    self._parser.Parse(data, isFinal)
  File "/opt/zenoss/lib/python/_xmlplus/sax/expatreader.py", line 312, in start_element
    self._cont_handler.startElement(name, AttributesImpl(attrs))
  File "/opt/zenoss/Products/ZenRelations/ImportRM.py", line 161, in startElement
    'attributes:\n%s' % formattedAttrs)
  * id: /zport/dmd/Devices/Server/Windows/WMI
  * module: Products.ZenModel.DeviceClass
  * class: DeviceClass
2013-05-16 14:12:41,694 ERROR zen.ZenPackCmd: zenpack command failed
  File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 486, in <module>
    zp.run()
  File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 164, in run
    fromUI=self.options.fromui)
  File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 259, in InstallEggAndZenPack
    raise e
  * id: /zport/dmd/Devices/Server/Windows/WMI
  * module: Products.ZenModel.DeviceClass
  * class: DeviceClass
What now? Is there a possibility of downloading this egg somewhere? Maybe itÂŽd help....?
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73229#73229]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
hydruid
2013-05-16 14:28:37 UTC
Permalink
hydruid [http://community.zenoss.org/people/hydruid] created the discussion

"Re: Error: A zenpack failed to install. Fix the zenpack or delete it from /opt/zenoss/var/zenpack_actions.txt, then restart zenoss."

To view the discussion, visit: http://community.zenoss.org/message/73247#73247

--------------------------------------------------------------
Will you please provide the contents of this file:
/opt/zenoss/ZenPacks/easy-install.pth

Also please provide the output from this command:
zenpack --fetch ZenPacks.zenoss.WindowsMonitor
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73247#73247]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Lukas Novak
2013-05-16 14:44:10 UTC
Permalink
Lukas Novak [http://community.zenoss.org/people/lukasn] created the discussion

"Re: Error: A zenpack failed to install. Fix the zenpack or delete it from /opt/zenoss/var/zenpack_actions.txt, then restart zenoss."

To view the discussion, visit: http://community.zenoss.org/message/73231#73231

--------------------------------------------------------------
import sys; sys.__plen = len(sys.path)
./ZenPacks.zenoss.PySamba-1.0.0-py2.7-linux-x86_64.egg/ZenPacks/zenoss/PySamba/lib
./ZenPacks.zenoss.RPCMonitor-1.0.2-py2.6.egg
./ZenPacks.community.Fortigate-1.2.1-py2.6.egg
./ZenPacks.community.VMwareDataSource-1.1.2.egg
./ZenPacks.community.VMwareESXiMonitor-1.2.egg
./ZenPacks.zenoss.PostgreSQL-1.0.4-py2.6.egg
./ZenPacks.community.RDBMS-2.3.egg
./ZenPacks.community.SQLDataSource-2.0.egg
./ZenPacks.community.OracleMon-1.1.egg
./ZenPacks.community.Memcached-1.2-py2.6.egg
./ZenPacks.zenoss.ApacheMonitor-2.1.3-py2.7.egg
./ZenPacks.zenoss.DellMonitor-2.2.0-py2.7.egg
./ZenPacks.zenoss.DigMonitor-1.1.0-py2.7.egg
./ZenPacks.zenoss.DnsMonitor-2.1.0-py2.7.egg
./ZenPacks.zenoss.FtpMonitor-1.1.0-py2.7.egg
./ZenPacks.zenoss.HPMonitor-2.1.0-py2.7.egg
./ZenPacks.zenoss.HttpMonitor-2.1.0-py2.7.egg
./ZenPacks.zenoss.IRCDMonitor-1.1.0-py2.7.egg
./ZenPacks.zenoss.JabberMonitor-1.1.0-py2.7.egg
./ZenPacks.zenoss.LDAPMonitor-1.4.0-py2.7.egg
./ZenPacks.zenoss.MySqlMonitor-2.2.0-py2.7.egg
./ZenPacks.zenoss.NNTPMonitor-1.1.0-py2.7.egg
./ZenPacks.zenoss.NtpMonitor-2.2.0-py2.7.egg
./ZenPacks.zenoss.ZenJMX-3.9.3-py2.7.egg
./ZenPacks.zenoss.LinuxMonitor-1.2.0-py2.7.egg
./ZenPacks.zenoss.ZenAWS-1.1.0-py2.7.egg
./ZenPacks.zenoss.ZenossVirtualHostMonitor-2.4.0-py2.7.egg
./ZenPacks.zenoss.EsxTop-1.1.0-py2.7.egg
./ZenPacks.zenoss.XenMonitor-1.1.0-py2.7.egg
./ZenPacks.zenoss.DeviceSearch-1.2.0-py2.7.egg
./ZenPacks.zenoss.PySamba-1.0.0-py2.7-linux-x86_64.egg
./ZenPacks.skills1st.UserRoles-1.0.1-py2.7.egg
./ZenPacks.zenoss.WindowsMonitor-1.0.5-py2.7.egg
import sys; new=sys.path[sys.__plen:]; del sys.path[sys.__plen:]; p=getattr(sys,'__egginsert',0); s
ys.path[p:p]=new; sys.__egginsert = p+len(new)
zenpack --fetch ZenPacks.zenoss.WindowsMonitor doesnÂŽt make any output, error, nothing. It is just "thinking" for about 3 seconds.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73231#73231]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
hydruid
2013-05-16 16:04:58 UTC
Permalink
hydruid [http://community.zenoss.org/people/hydruid] created the discussion

"Re: Error: A zenpack failed to install. Fix the zenpack or delete it from /opt/zenoss/var/zenpack_actions.txt, then restart zenoss."

To view the discussion, visit: http://community.zenoss.org/message/73233#73233

--------------------------------------------------------------
I think that a fresh download of ZenPacks.zenoss.WindowsMonitor will probably solve the problem......searching for it now...

Very strange, I can't seem to find a download of it anywhere. I've used this command "zenpack --fetch ZenPacks.zenoss.WindowsMonitor" many many times to install it, and now it's not working for me.

It looks like the url I used before doesn't work anymore either, http://zenpacks.zenoss.com/pypi/eggs/none/ZenPacks.zenoss.WindowsMonitor-1.0.5-py2.7.egg http://zenpacks.zenoss.com/pypi/eggs/none/ZenPacks.zenoss.WindowsMonitor-1.0.5-py2.7.egg

I am going to create a new post asking what happened to it!
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73233#73233]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
hydruid
2013-05-16 19:57:58 UTC
Permalink
hydruid [http://community.zenoss.org/people/hydruid] created the discussion

"Re: Error: A zenpack failed to install. Fix the zenpack or delete it from /opt/zenoss/var/zenpack_actions.txt, then restart zenoss."

To view the discussion, visit: http://community.zenoss.org/message/73238#73238

--------------------------------------------------------------
Lukas,

Take a look at this post: http://community.zenoss.org/message/73236#73236 http://community.zenoss.org/message/73236

Looks like you will have to download the RPM and manually extract the ZenPack from it!

I can do this for you in just a little bit, a coworker's laptop just melted, have to fix that first :p

Hydruid
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73238#73238]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
hydruid
2013-05-16 20:10:05 UTC
Permalink
hydruid [http://community.zenoss.org/people/hydruid] created the discussion

"Re: Error: A zenpack failed to install. Fix the zenpack or delete it from /opt/zenoss/var/zenpack_actions.txt, then restart zenoss."

To view the discussion, visit: http://community.zenoss.org/message/73239#73239

--------------------------------------------------------------
Lukas,

I extracted the .egg and uploaded it to dropbox, check your IM for the download link, or you can extract it yourself :)

Hydruid
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73239#73239]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Lukas Novak
2013-05-17 06:39:21 UTC
Permalink
Lukas Novak [http://community.zenoss.org/people/lukasn] created the discussion

"Re: Error: A zenpack failed to install. Fix the zenpack or delete it from /opt/zenoss/var/zenpack_actions.txt, then restart zenoss."

To view the discussion, visit: http://community.zenoss.org/message/73260#73260

--------------------------------------------------------------
Thanks a lot hydruid, I really appreciate your effort :) .

However, IÂŽve downloaded the extracted egg, put it into /home/zenoss, ran zenpack --install... and the result is still the same s**t. :( .
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73260#73260]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
hydruid
2013-05-17 12:05:29 UTC
Permalink
hydruid [http://community.zenoss.org/people/hydruid] created the discussion

"Re: Error: A zenpack failed to install. Fix the zenpack or delete it from /opt/zenoss/var/zenpack_actions.txt, then restart zenoss."

To view the discussion, visit: http://community.zenoss.org/message/73255#73255

--------------------------------------------------------------
Try just putting the egg at \home\zenoss and installing from that...

We can get it dude!
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73255#73255]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Lukas Novak
2013-05-17 12:10:43 UTC
Permalink
Lukas Novak [http://community.zenoss.org/people/lukasn] created the discussion

"Re: Error: A zenpack failed to install. Fix the zenpack or delete it from /opt/zenoss/var/zenpack_actions.txt, then restart zenoss."

To view the discussion, visit: http://community.zenoss.org/message/73263#73263

--------------------------------------------------------------
That is exactly what I already did. :)
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73263#73263]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Lukas Novak
2013-05-20 07:20:21 UTC
Permalink
Lukas Novak [http://community.zenoss.org/people/lukasn] created the discussion

"Re: Error: A zenpack failed to install. Fix the zenpack or delete it from /opt/zenoss/var/zenpack_actions.txt, then restart zenoss."

To view the discussion, visit: http://community.zenoss.org/message/73269#73269

--------------------------------------------------------------
Does this situation really lack a solution :-/ ?
Post by Lukas Novak
INFO:zen.windowsmonitor:Removing Packables from previous zenpacks
INFO:zen.windowsmonitor:Migrating WinPerfDataSources to new class
INFO:zen.windowsmonitor:Converting 0 datasources
2013-05-20 08:55:37,669 INFO zen.ZPLoader: Loading /opt/zenoss/ZenPacks/ZenPacks                                   .zenoss.WindowsMonitor-1.0.5-py2.7.egg/ZenPacks/zenoss/WindowsMonitor/objects/ob                                   jects.xml
2013-05-20 08:55:37,670 WARNING zen.AddToPack: Unable to find context path /zpor                                   t/dmd/Devices/Server/Windows (line 4 ?) for WMI
2013-05-20 08:55:37,670 WARNING zen.AddToPack: Not committing any changes
2013-05-20 08:55:37,671 ERROR zen.ZenPackCMD: Error installing ZenPack ZenPacks.                                   zenoss.WindowsMonitor-1.0.5-py2.7.egg
  File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 243, in InstallEggAnd                                   ZenPack
    fromUI=fromUI)
  File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 471, in InstallDistAs                                   ZenPack
    zenPack, deferFileDeletion, existing = transactional_actions()
  File "/opt/zenoss/lib/python/ZODB/transact.py", line 44, in g
    r = f(*args, **kwargs)
  File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 430, in transactional                                   _actions
    zenPack.install(dmd)
  File "/opt/zenoss/ZenPacks/ZenPacks.zenoss.WindowsMonitor-1.0.5-py2.7.egg/ZenP                                   acks/zenoss/WindowsMonitor/__init__.py", line 82, in install
    ZenPackBase.install(self, app)
  File "/opt/zenoss/Products/ZenModel/ZenPack.py", line 240, in install
    loader.load(self, app)
  File "/opt/zenoss/Products/ZenModel/ZenPackLoader.py", line 107, in load
    importer.loadObjectFromXML(xmlfile=f)
  File "/opt/zenoss/Products/ZenRelations/ImportRM.py", line 481, in loadObjectF                                   romXML
    parser.parse(self.infile)
  File "/opt/zenoss/lib/python/_xmlplus/sax/expatreader.py", line 109, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/opt/zenoss/lib/python/_xmlplus/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/opt/zenoss/lib/python/_xmlplus/sax/expatreader.py", line 216, in feed
    self._parser.Parse(data, isFinal)
  File "/opt/zenoss/lib/python/_xmlplus/sax/expatreader.py", line 312, in start_                                   element
    self._cont_handler.startElement(name, AttributesImpl(attrs))
  File "/opt/zenoss/Products/ZenRelations/ImportRM.py", line 161, in startElemen                                   t
    'attributes:\n%s' % formattedAttrs)
  * id: /zport/dmd/Devices/Server/Windows/WMI
  * module: Products.ZenModel.DeviceClass
  * class: DeviceClass
2013-05-20 08:55:37,678 ERROR zen.ZenPackCmd: zenpack command failed
  File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 486, in <module>
    zp.run()
  File "/opt/zenoss/Products/ZenUtils/zenpack.py", line 164, in run
    fromUI=self.options.fromui)
  File "/opt/zenoss/Products/ZenUtils/ZenPackCmd.py", line 259, in InstallEggAnd                                   ZenPack
    raise e
  * id: /zport/dmd/Devices/Server/Windows/WMI
  * module: Products.ZenModel.DeviceClass
  * class: DeviceClass
Am I being asked to create that context path /zport/dmd/Devices/Server/Windows ? If yes, where?
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73269#73269]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
hydruid
2013-05-20 13:15:50 UTC
Permalink
hydruid [http://community.zenoss.org/people/hydruid] created the discussion

"Re: Error: A zenpack failed to install. Fix the zenpack or delete it from /opt/zenoss/var/zenpack_actions.txt, then restart zenoss."

To view the discussion, visit: http://community.zenoss.org/message/73275#73275

--------------------------------------------------------------
That path references a path in zope, not on the actual file system. Do you
have the ability to take a snapshot of this server? I have a suggestion,
but would really prefer that you back a full backup first :)
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73275#73275]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Lukas Novak
2013-05-20 13:41:12 UTC
Permalink
Lukas Novak [http://community.zenoss.org/people/lukasn] created the discussion

"Re: Error: A zenpack failed to install. Fix the zenpack or delete it from /opt/zenoss/var/zenpack_actions.txt, then restart zenoss."

To view the discussion, visit: http://community.zenoss.org/message/73270#73270

--------------------------------------------------------------
Yes, IÂŽm taking a snapshot before (almost) every change I make :) .
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73270#73270]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
hydruid
2013-05-20 14:15:50 UTC
Permalink
hydruid [http://community.zenoss.org/people/hydruid] created the discussion

"Re: Error: A zenpack failed to install. Fix the zenpack or delete it from /opt/zenoss/var/zenpack_actions.txt, then restart zenoss."

To view the discussion, visit: http://community.zenoss.org/message/73276#73276

--------------------------------------------------------------
Perfect :)

Browse to http://zenoss-ip:8080/zport/dmd/manage http://zenoss-ip:8080/zport/dmd/manage

Navigate to the path in the error: /zport/dmd/Devices/Server/Windows (if
you use the link above I gave you, then you will already be in /zport/dmd.
so to begin click on Devices)

If 'WMI' is in there, delete it and try to install the ZenPack again

If 'WMI' isn't there, perhaps it would be best to import it from a working
machine
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73276#73276]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Lukas Novak
2013-05-21 07:25:56 UTC
Permalink
Lukas Novak [http://community.zenoss.org/people/lukasn] created the discussion

"Re: Error: A zenpack failed to install. Fix the zenpack or delete it from /opt/zenoss/var/zenpack_actions.txt, then restart zenoss."

To view the discussion, visit: http://community.zenoss.org/message/73295#73295

--------------------------------------------------------------
This seems good :) .

"WMI" is not there. Could you (or anybody else) export it for me? I have another machine here, itÂŽs working, but thereÂŽs no WMI neither.

Thanks a lot.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73295#73295]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
hydruid
2013-05-21 17:50:14 UTC
Permalink
hydruid [http://community.zenoss.org/people/hydruid] created the discussion

"Re: Error: A zenpack failed to install. Fix the zenpack or delete it from /opt/zenoss/var/zenpack_actions.txt, then restart zenoss."

To view the discussion, visit: http://community.zenoss.org/message/73283#73283

--------------------------------------------------------------
That is very interesting....

I have successfully exported my 'WMI' DeviceClass and am currently
uploading it to dropbox. I'll IM you the download link when it's done.

Here are the rough instructions for importing it:
1. Download 'WMI.zexp' and copy to the zenoss server
2. Move it to /opt/zenoss/import/
3. chown it to zenoss:zenoss
4. Browse to the URL I provided earlier, to where the WMI DeviceClass
should have been
5. Click Import/Export
6. At the bottom, select WMI.zexp and select Import, leaving the default
options alone

After that, I would restart zenoss, to ensure everything is working
cleanly, then try to reinstall the ZenPack!
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73283#73283]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Lukas Novak
2013-05-22 07:58:50 UTC
Permalink
Lukas Novak [http://community.zenoss.org/people/lukasn] created the discussion

"Re: Error: A zenpack failed to install. Fix the zenpack or delete it from /opt/zenoss/var/zenpack_actions.txt, then restart zenoss."

To view the discussion, visit: http://community.zenoss.org/message/73285#73285

--------------------------------------------------------------
Again, thanks a lot man, but this thing is cursed as hell...
*Type: <type 'exceptions.ImportError'>*
*Value: No module named MSExchange*
(...) ImportError: No module named MSExchange
So, IÂŽve found and downloaded the MSexchange zenpack.
But when I try to install it, the only thing it keeps telling me is that it needs that goddamn WindowsMonitor!
ERROR:zen.ZenPackCmd:Zenpack ZenPacks.zenoss.MSExchange-2.0.4-py2.7.egg requires ZenPacks.zenoss.WindowsMonitor
ERROR:zen.ZenPackCmd:zenpack stopped: ZenPacks.zenoss.MSExchange-2.0.4-py2.7.egg not installed
Now itÂŽs finally and definitely screwed, isnÂŽt it?
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73285#73285]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
hydruid
2013-05-23 15:54:24 UTC
Permalink
hydruid [http://community.zenoss.org/people/hydruid] created the discussion

"Re: Error: A zenpack failed to install. Fix the zenpack or delete it from /opt/zenoss/var/zenpack_actions.txt, then restart zenoss."

To view the discussion, visit: http://community.zenoss.org/message/73320#73320

--------------------------------------------------------------
Darn the luck.....

I think it's best you jump on the Zenoss IRC channel and talk with
hackman....he is awesome. He has helped me more than a few times!!

Alternatively it may be easier to create a fresh install, then export from
the old, and import into the new.

Make sure to let me know what you end up finding out as the cause! Sorry
that I couldn't help more.

Hydruid
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73320#73320]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Chet Luther
2013-05-24 14:24:41 UTC
Permalink
Chet Luther [http://community.zenoss.org/people/cluther] created the discussion

"Re: Error: A zenpack failed to install. Fix the zenpack or delete it from /opt/zenoss/var/zenpack_actions.txt, then restart zenoss."

To view the discussion, visit: http://community.zenoss.org/message/73314#73314

--------------------------------------------------------------
The following error when installing the WindowsMonitor ZenPack seems to be the main problem to be overcome here.
Post by Lukas Novak
Unable to find context path /zport/dmd/Devices/Server/Windows (line 4 ?) for WMI
This error means that the ZenPack can't create the /Server/Windows/WMI device class because the /Server/Windows device class doesn't already exist.

Can you confirm that you do have a /Server/Windows device class, and if not, create it and attempt to install the WindowsMonitor ZenPack again?
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73314#73314]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
hydruid
2013-05-24 17:53:19 UTC
Permalink
hydruid [http://community.zenoss.org/people/hydruid] created the discussion

"Re: Error: A zenpack failed to install. Fix the zenpack or delete it from /opt/zenoss/var/zenpack_actions.txt, then restart zenoss."

To view the discussion, visit: http://community.zenoss.org/message/73324#73324

--------------------------------------------------------------
I stumped across this today, have never used it, but it couldn't hurt!

http://wiki.zenoss.org/Removing_Broken_ZenPacks http://wiki.zenoss.org/Removing_Broken_ZenPacks
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73324#73324]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Lukas Novak
2013-05-27 07:11:00 UTC
Permalink
Lukas Novak [http://community.zenoss.org/people/lukasn] created the discussion

"Re: Error: A zenpack failed to install. Fix the zenpack or delete it from /opt/zenoss/var/zenpack_actions.txt, then restart zenoss."

To view the discussion, visit: http://community.zenoss.org/message/73315#73315

--------------------------------------------------------------
Thanks a lot! IÂŽve created it (I must have overlooked that add option in the top right corner somehow...) and now it WORKS! :)
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73315#73315]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
hydruid
2013-05-27 15:05:23 UTC
Permalink
hydruid [http://community.zenoss.org/people/hydruid] created the discussion

"Re: Error: A zenpack failed to install. Fix the zenpack or delete it from /opt/zenoss/var/zenpack_actions.txt, then restart zenoss."

To view the discussion, visit: http://community.zenoss.org/message/73329#73329

--------------------------------------------------------------
Glad to hear you got it fixed!
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73329#73329]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...