I am trying to set up a collocated icegridnode as a windows service. It runs fine when I start it from the command line, but when I start it as a service I get:
The interesting thing is, the icegridnode service does start - I can query the registry and the servers are activated on demand - and it runs for 30 seconds before windows shuts it down with the above error message.Code:C:\>sc start foolcol [SC] StartService FAILED 1053: The service did not respond to the start or control request in a timely fashion.
The error occurs whether I configure the service to run as LocalService or as administrator.
I have followed the steps in the Manual for ensuring that the Data directories are Readable/Writable by all users. The system PATH variable includes C:\Ice-3.3.0-VC90\bin.
Here is the service info:
and here is the config file:Code:C:\>sc qc foolcol [SC] GetServiceConfig SUCCESS SERVICE_NAME: foolcol TYPE : 110 WIN32_OWN_PROCESS (interactive) START_TYPE : 3 DEMAND_START ERROR_CONTROL : 1 NORMAL BINARY_PATH_NAME : icegridnode.exe --Ice.Config=/foogrid/collocate.cfg LOAD_ORDER_GROUP : TAG : 0 DISPLAY_NAME : foolcol DEPENDENCIES : SERVICE_START_NAME : LocalSystem
One more bit of info: My PC is running anti-virus software that is not entirely under my control due to corporate policy. However, I am able to add exceptions for icegridnode.exe, and/or port 4061, and to temporarily disable it and it doesn't seem to make any difference.Code:#collocate.cfg IceGrid.InstanceName=FooIceGrid # # The IceGrid locator proxy. # Ice.Default.Locator=FooIceGrid/Locator:tcp -h localhost -p 4061 # # IceGrid node configuration. # # # The node object adapter listens on all interface using an OS- # assigned port # IceGrid.Node.Endpoints=tcp IceGrid.Node.Name=node IceGrid.Node.Data=\foogrid\node IceGrid.Node.CollocateRegistry=1 # # IceGrid registry configuration. # IceGrid.Registry.Client.Endpoints=tcp -h localhost -p 4061 IceGrid.Registry.Server.Endpoints=tcp IceGrid.Registry.Internal.Endpoints=tcp IceGrid.Registry.Data=\foogrid\registry IceGrid.Registry.DefaultTemplates=\foogrid\foo.xml IceGrid.Registry.PermissionsVerifier=FooIceGrid/NullPermissionsVerifier IceGrid.Registry.AdminPermissionsVerifier=FooIceGrid/NullPermissionsVerifier
Any suggestions would be appreciated.

Reply With Quote