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
X-Originating-IP: [195.92.67.70]
From: "Elfyn McBratney" <emcb_exposure@hotmail.com>
To: <cygwin@cygwin.com>
Subject: Getting httpd going as a service
Date: Wed, 16 Oct 2002 20:13:01 +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.00.2615.200
Message-ID: <OE52stY3Uyn3p6ALZWU00000daa@hotmail.com>
X-OriginalArrivalTime: 16 Oct 2002 19:14:02.0664 (UTC) FILETIME=[30348A80:01C27548]

Hi,

I was wondering if anyone has sucessfully got apache going as a service? I
installed it as a service and worked for about 5 minutes but then would not
tender to clients, although the daemon was still in listening state. I then
tried to run it through inetd but same symptons as before, only running for
5 minutes. Just incase ive missed something...

$ cygrunsrv -I httpd -d "CYGWIN httpd" -p /usr/bin/httpd -a '-k'
(no output, normal right???)

$ cygrunsrv -S httpd
(no output again, httpd started)

$ lynx http://212.135.179.210/
(works for 5 minutes) after five doesnt tender output)

If i start it notmally from a shell it runs perfectly, but to have do do
that all the time is a pain. Im not sure what what to debug and how. Any
help on this would be great :)

Elfyn




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

