This is the mail archive of the
mailing list for the Cygwin project.
Cygwin running as NT Service not displaying status in Services Window
- From: ShivD <shiv dot dixit at ge dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 18 Feb 2010 02:49:13 -0800 (PST)
- Subject: Cygwin running as NT Service not displaying status in Services Window
am using Cygwin on 64 bit Windows 2008 machine to host Webmin. Cygwin
version is 1.3 and Webmin version is 1.490. I am running cygwin as a windows
Following is the command to create the service:
sc create "Demo Service" binPath= "C:\demo\bin\cygrunsrv.exe" start= auto.
When I am rebooting the box, "Demo Service" should display the status in
Service Windows but it is not doing so. But the webmin related pages are
coming up properly.
Following is the properties of "Demo Service" as captured from Services
Path to executable: C:\demo\bin\cygrunsrv.exe
Startup type: Automatic
Following is the Registry entry for "Demo Service"
If I try to start the service manually then its status changes to "Started"
in Services Windows but after few refresh it goes away.
Following is the entry in Event Viewer:
The description for Event ID 0 from source Demo Service cannot be found.
Either the component that raises this event is not installed on your local
computer or the installation is corrupted. You can install or repair the
component on the local computer. If the event originated on another
computer, the display information had to be saved with the event.The
following information was included with the event:
Demo Service: PID 4168: `Demo Service' service stopped, exit status: 112
If I try to find out the list of service installed via cygwin using
cygrunsrv.exe -L, I am getting "Demo Service" as output.
What can be possible reason of this? If I am missing anything in
configuration or there is version incompatibility between cygwin and webmin?
I tested it on 32 bit Windows 2003 server and getting the same problem there
All help will be greatly appreciated.
View this message in context: http://old.nabble.com/Cygwin-running-as-NT-Service-not-displaying-status-in-Services-Window-tp27637072p27637072.html
Sent from the Cygwin list mailing list archive at Nabble.com.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple