This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Cygwin running as NT Service not displaying status in Services Window

Hi All,
 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"
ImagePath: C:\demo\bin\cygrunsrv.exe
AppPath: /etc/webmin/start
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
as well.

All help will be greatly appreciated.

View this message in context:
Sent from the Cygwin list mailing list archive at

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]