Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Mime-Version: 1.0 (Apple Message framework v619.2)
In-Reply-To: <200502120253.j1C2qcWa022955@world.waena.edu>
References: <200502120253.j1C2qcWa022955@world.waena.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Message-Id: <31d5f7ec524a5325761f18975992ec9b@rehley.net>
From: Peter Rehley <peter@rehley.net>
Subject: Re: Apache as a Windows Service?
Date: Fri, 11 Feb 2005 23:39:56 -0800
To: Cygwin List <cygwin@cygwin.com>
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j1C7eGsm029174


On Feb 11, 2005, at 6:49 PM, Ronald S Woan wrote:

> have read /usr/share/doc/Cygwin/apache-1.3.29-1.README which indicates 
> all
> you need is the -a "-F" flag. I did have to run rebaseall which cause 
> httpd
> to fail which was fixed using setup to do a reinstall of apache. 
> Problem now
> is I quit my shell that started the httpd daemon and disconnected, 
> httpd
> dies, so it seems like the windows service is the best option to keep 
> it
> running even when I am logged off.
>
>
>
> ronw@brisket /usr/share/doc/Cygwin
>
> $ cygrunsrv -I apache -p /usr/sbin/httpd.exe -a "-F"
>
>
>
> ronw@brisket /usr/share/doc/Cygwin
>
> $ cygrunsrv -S apache
>
> cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 
> 1062:
>
> The service has not been started.
>
>
>
>
>
> ronw@brisket /usr/share/doc/Cygwin
>
> $ /usr/sbin/httpd.exe -F

>
> Thanks,
>
> Ronald S Woan
>
>

Did you check the log files?

Enjoy,
Peter
-------------------------------
A Møøse once bit my sister


--
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/


