[ofw] Opensm fails to start as a service?

Jan Bottorff jbottorff at xsigo.com
Fri Apr 20 15:33:28 PDT 2007


I believe you need to specify "--service" as a command line option to
pass to opensm when creating the service.

- Jan

-----Original Message-----
From: ofw-bounces at lists.openfabrics.org
[mailto:ofw-bounces at lists.openfabrics.org] On Behalf Of Smith, Stan
Sent: Friday, April 20, 2007 2:42 PM
To: ofw at lists.openfabrics.org
Subject: [ofw] Opensm fails to start as a service?


opensm.exe (Svn.614) run from a cmd window works just fine. When started
as a service, sc.exe times out waiting for a response?

Suggestions on how to run opensm.exe as a service?

 C:\Program Files\WinOF>sc create opensm binPath= "c:\Program
Files\WinOF\opensm.exe" start= auto
[SC] CreateService SUCCESS

C:\Program Files\WinOF>sc qc opensm
[SC] QueryServiceConfig SUCCESS

SERVICE_NAME: opensm
        TYPE               : 10  WIN32_OWN_PROCESS
        START_TYPE         : 2   AUTO_START
        ERROR_CONTROL      : 1   NORMAL
        BINARY_PATH_NAME   : c:\Program Files\WinOF\opensm.exe
        LOAD_ORDER_GROUP   :
        TAG                : 0
        DISPLAY_NAME       : opensm
        DEPENDENCIES       :
        SERVICE_START_NAME : LocalSystem

C:\Program Files\WinOF>sc start opensm
[SC] StartService FAILED 1053:

The service did not respond to the start or control request in a timely
fashion.

C:\Program Files\WinOF>

What's missing?

Thanks,

Stan.
_______________________________________________
ofw mailing list
ofw at lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw



More information about the ofw mailing list