My zeneventlog.log is full of the following error messages:

2008-06-15 04:04:58 ERROR zen.zeneventlog: Error processing main loop
Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenWin/WinCollector.py", line 119, in scanCycle
    deferreds = self.processLoop()
  File "/opt/zenoss/Products/ZenWin/zeneventlog.py", line 113, in processLoop
    self.processDevice(device)
  File "/opt/zenoss/Products/ZenWin/zeneventlog.py", line 58, in processDevice
    self.watchers[device.id] = self.getWatcher(device, wql)
  File "/opt/zenoss/Products/ZenWin/WinCollector.py", line 87, in getWatcher
    wmic.start(MAX_WAIT_FOR_WMI_REQUEST, device, query)
  File "/opt/zenoss/Products/ZenWin/NullProxy.py", line 29, in start
    self.obj = locals[self.classname](*args, **kw)
  File "/opt/zenoss/Products/ZenWin/Watcher.py", line 26, in __init__
    wmic.connect()
  File "/opt/zenoss/Products/ZenWin/WMIClient.py", line 68, in protect
    return method(self, *args, **kw)
  File "/opt/zenoss/Products/ZenWin/WMIClient.py", line 110, in connect
    self.valueset)
  File "/opt/zenoss/lib/python/win32com/client.py", line 33, in ConnectServer
    services = pywmi.WBEM_ConnectServer(name, namespace, user, passwd, locale, 
flags, authority, valueset)
TypeError: in method 'WBEM_ConnectServer', argument 2 of type 'char const *'

I had this problem in 2.0 and have recently upgraded to 2.2 and still have the 
problem.

I've tried the wmic connect command with various queries and it works fine. 

I also get the same error when running zeneventlog run -v10
Anyone know how to resolve this.

Thanks

ERROR:zen.zeneventlog:Error processing main loop
Traceback (most recent call last):
  File "/opt/zenoss/Products/ZenWin/WinCollector.py", line 119, in scanCycle
    deferreds = self.processLoop()
  File "/opt/zenoss/Products/ZenWin/zeneventlog.py", line 113, in processLoop
    self.processDevice(device)
  File "/opt/zenoss/Products/ZenWin/zeneventlog.py", line 58, in processDevice
    self.watchers[device.id] = self.getWatcher(device, wql)
  File "/opt/zenoss/Products/ZenWin/WinCollector.py", line 87, in getWatcher
    wmic.start(MAX_WAIT_FOR_WMI_REQUEST, device, query)
  File "/opt/zenoss/Products/ZenWin/NullProxy.py", line 29, in start
    self.obj = locals[self.classname](*args, **kw)
  File "/opt/zenoss/Products/ZenWin/Watcher.py", line 26, in __init__
    wmic.connect()
  File "/opt/zenoss/Products/ZenWin/WMIClient.py", line 68, in protect
    return method(self, *args, **kw)
  File "/opt/zenoss/Products/ZenWin/WMIClient.py", line 110, in connect
    self.valueset)
  File "/opt/zenoss/lib/python/win32com/client.py", line 33, in ConnectServer
    services = pywmi.WBEM_ConnectServer(name, namespace, user, passwd, locale, 
flags, authority, valueset)
TypeError: in method 'WBEM_ConnectServer', argument 2 of type 'char const *'
INFO:zen.zeneventlog:Daemon zeneventlog shutting down
DEBUG:zen.zeneventlog:removing service EventService
DEBUG:zen.zeneventlog:removing service EventService
DEBUG:zen.zeneventlog:removing service Products.ZenWin.services.WmiConfig
INFO:zen.zeneventlog:zeneventlog shutting down




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=21405#21405

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to