delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/04/07:57:48

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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: <3D9D8264.FDA788D8@cvt.dk>
Date: Fri, 04 Oct 2002 13:58:28 +0200
From: Christoffer Walther <cw AT cvt DOT dk>
X-Accept-Language: en
MIME-Version: 1.0
To: Max Bowsher <maxb AT ukf DOT net>
Cc: cygwin AT cygwin DOT com
Subject: cygwin service
References: <Pine DOT LNX DOT 4 DOT 44 DOT 0210041235500 DOT 13503-100000 AT moria> <3D9D7BDA DOT 605B181C AT cvt DOT dk> <009101c26b9a$0f755ac0$9949893e AT bowsher DOT foo>

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019