That could be. To be honest, I haven't had time to look into it. I've put it on my list of "things to look into when I have time" pile, but I've been too busy lately. A data point: I was using XP SP1.
-----Original Message----- From: Morten Kj�rulff [mailto:[EMAIL PROTECTED] Sent: Monday, May 23, 2005 4:12 AM To: cygwin@cygwin.com Subject: RE: cygrunsrv: Error stopping a service: QueryServiceStatus: Win32 error 1053 I tried removing the -n option, then it works fine. I also downloaded version 1.10. Same thing happens. I am positive that it worked in Feb, when I wrote it. Could it be some windows update? /Morten From: "Johnson, Matt \(GE Healthcare\)" <Matthew dot Johnson1 at med dot ge dot com> To: <cygwin at cygwin dot com> Date: Fri, 20 May 2005 14:20:34 -0500 Subject: RE: cygrunsrv: Error stopping a service: QueryServiceStatus: Win32 error 1053 -------------------------------------------------------------------------------- I've had problems with the -n option. Try taking it out and see what happens. -----Original Message----- From: Brian Dessent [mailto:[EMAIL PROTECTED] Sent: Friday, May 20, 2005 6:19 AM To: cygwin@cygwin.com Subject: Re: cygrunsrv: Error stopping a service: QueryServiceStatus: Win32 error 1053 Morten Kj�rulff wrote: > -rwxr-xr-x 1 ???????? mkgroup-l-d 488 May 20 09:02 mkjservice.sh > -rwxr-xr-x 1 ???????? mkgroup-l-d 305 Feb 24 12:23 serviceinstall > -rwxr-xr-x 1 ???????? mkgroup-l-d 35 Feb 24 10:02 servicequery > -rwxr-xr-x 1 ???????? mkgroup-l-d 35 Feb 24 10:02 serviceremove > -rwxr-xr-x 1 ???????? mkgroup-l-d 35 Feb 24 10:02 servicestart > -rwxr-xr-x 1 ???????? mkgroup-l-d 35 Feb 24 10:01 servicestop You should fix your passwd and group files. > cygrunsrv -I mkjservice \ > -t manual \ > -o \ > -n \ > -p /cygdrive/d/mkj/cygwindowsservice/mkjservice.sh \ > -a "arg1 arg2" \ > -1 /cygdrive/d/mkj/cygwindowsservice/mkjservice.out \ > -2 /cygdrive/d/mkj/cygwindowsservice/mkjservice.err It may not work to start a script directly. Start the shell that executes the script. -p /bin/sh \ -a "-c '/cygdrive/d/mkj/cygwindowsservice/mkjservice.sh arg1 arg2'" \ Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/