delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/20/17:10:44

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: <00ef01c2d92c$e3412140$78d96f83@pomello>
From: "Max Bowsher" <maxb AT ukf DOT net>
To: "Malghan, Ravi" <rmalghan AT btspartners DOT com>, <cygwin AT cygwin DOT com>
References: <A0EEDFB70902D4118BDA00508BC21C4B028A010B AT copper DOT belenosinc DOT com>
Subject: Re: cygrunsrv points to incorrect path
Date: Thu, 20 Feb 2003 22:10:27 -0000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

Malghan, Ravi wrote:
> Hi: I am trying to run Apache as a service
>  cygrunsrv.exe -I "CYGWIN apache" -p /usr/sbin/httpd.exe -t manual
> 
> But when I go to Services and look at the properties of this service,
> under "Path to executable" it says
> C:\cygwin\bin\cygrunsrv. Shouldn't this says
> C:\cygwin\usr\sbin\httpd.exe ? 

No. It is correct.

> As a result I get "Could not start the CYGWIN apache service on Local
> Computer"

Not as a result.

> Am I using the cygrunsrv incorrectly?

Yes, but apache may need some switches to run as a service.

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