On 7/28/06, Erik A. Dahl <[EMAIL PROTECTED]> wrote:
Kent,

StatusTest.py is not something you run.  there are three services you
can run them as follows to test

python zenwin.py -C etc\zenwin.cfg
python zeneventlog.py -C etc\zeneventlog.cfg
python zenwinmodeler.py -C etc\zenwinmodeler.cfg

Each of these results in a traceback;
Traceback (most recent call last):
 File "zenwin.py", line 20, in ?
   from StatusTest import StatusTest
<snip>
pywintypes.com_error: (-2147221005, 'Invalid class string', None, None)

zenwinsvc.py install --username .\Administrator --password xyz
zeneventlogsvc.py install --username .\Administrator --password xyz
zenwinsvc.py install --username .\Administrator --password xyz

(note the typo from README.txt = zenwinsvc.py is listed twice)

These command succeeded, the services show up as started in
the services management app, with logon showing .\Administrator

Thanks,
Kent



Services must run as user with admin privileges.

-EAD

On Jul 28, 2006, at 11:17 AM, Kent Tenney wrote:

> Howdy,
>
> I've installed and configured zenwin according to README.txt,
> it seemed to go well, the services are running,
>
> I believe Zenoss is properly set up to get service info from the
> machine,
> but I'm not seeing any.
>
> Suggestions on troubleshooting?
>
> When I run the script StatusTest.py I get the following traceback;
>
> C:\Python24\Lib\site-packages\zenwin-0.21.0>StatusTest.py
> Traceback (most recent call last):
>  File "C:\Python24\Lib\site-packages\zenwin-0.21.0\StatusTest.py",
> line 10, in ?
>    from wmiclient import WMI
>  File "C:\Python24\Lib\site-packages\zenwin-0.21.0\wmiclient.py",
> line 13, in ?
>    refresher = win32com.client.Dispatch
> ("WbemScripting.SWbemRefresher")
>  File "C:\Python24\Lib\site-packages\win32com\client\__init__.py",
> line 95,
> in Dispatch
>    dispatch, userName =
> dynamic._GetGoodDispatchAndUserName(dispatch,userName,clsctx)
>  File "C:\Python24\Lib\site-packages\win32com\client\dynamic.py",
> line 98,
> in _GetGoodDispatchAndUserName
>    return (_GetGoodDispatch(IDispatch, clsctx), userName)
>  File "C:\Python24\Lib\site-packages\win32com\client\dynamic.py",
> line 78,
> in _GetGoodDispatch
>    IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx,
> pythoncom.IID_IDispatch)
>
> pywintypes.com_error: (-2147221005, 'Invalid class string', None,
> None)
>
> Thanks,
> Kent
> _______________________________________________
> 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