delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <428DC7AF.87802854@dessent.net> |
Date: | Fri, 20 May 2005 04:19:11 -0700 |
From: | Brian Dessent <brian AT dessent DOT net> |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: cygrunsrv: Error stopping a service: QueryServiceStatus: Win32 error 1053 |
References: | <OFCB6E802B DOT DCEC9B54-ONC1257007 DOT 002B3A3A-C1257007 DOT 002E1FFF AT mdata DOT dk> |
X-IsSubscribed: | yes |
Reply-To: | cygwin AT cygwin DOT com |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id j4KBL7BA029901 |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |