Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <003a01c26b9f$1fd4b140$9c00140a@uk.circle.com>
From: "vince" <vince.hoffman@uk.circle.com>
To: "Christoffer Walther" <cw@cvt.dk>, "Max Bowsher" <maxb@ukf.net>
Cc: <cygwin@cygwin.com>
References: <Pine.LNX.4.44.0210041235500.13503-100000@moria> <3D9D7BDA.605B181C@cvt.dk> <009101c26b9a$0f755ac0$9949893e@bowsher.foo> <3D9D8264.FDA788D8@cvt.dk>
Subject: Re: cygwin service
Date: Fri, 4 Oct 2002 13:11:09 +0100
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300

try 'cygrunsrv -I apache -p /usr/sbin/apachectl start -k' as thats what
works for me.
----- Original Message -----
From: "Christoffer Walther" <cw@cvt.dk>
To: "Max Bowsher" <maxb@ukf.net>
Cc: <cygwin@cygwin.com>
Sent: Friday, October 04, 2002 12:58 PM
Subject: cygwin service


>
> I can see the sshd runs as 'service' even when I close the
> shell window, thats nice. I wanted to do the same with apache,
> I did: '/sbin/cygrunsrv -I apache -p /usr/sbin/apachectl -a start'
>
> However, when I do: '/bin/cygrunsrv -S apache', I get :
>
> ".. error startign service, QueryServiceStatus: win32 error 1062:
> The service has not been started".
>
> How can I correct this, or where can I find documentation on this?
>
> Christoffer
>
> Max Bowsher wrote:
> >
> > Christoffer Walther wrote:
> > > Hi and thanks for the reply. I have the same problem with
> > > sshd, 'permission denied', it would be great if I could just
> > > edit the /etc/passwd file manually and the sshd would
> > > look up the password there, can it be done this way?
> >
> > No.
> >
> > You do need to set CYGWIN=ntsec in the environment of your services. How
did
> > you set up sshd? Did you use the ssh-host-config script?
> >
> > Max.
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

