delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2002/01/16/04:09:13

Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm
Sender: cygwin-apps-owner AT cygwin DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT cygwin DOT com>
List-Help: <mailto:cygwin-apps-help AT cygwin DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT cygwin DOT com
Date: Wed, 16 Jan 2002 10:08:53 +0100
From: Corinna Vinschen <vinschen AT redhat DOT com>
To: cygwin-apps AT cygwin DOT com
Subject: Re: Apache 1.3.22-3 ready to go?!
Message-ID: <20020116100853.Y2015@cygbert.vinschen.de>
Reply-To: cygwin-apps AT cygwin DOT com
Mail-Followup-To: cygwin-apps AT cygwin DOT com
References: <3C43EF02 DOT 239CC44A AT wapme-systems DOT de> <20020115120344 DOT T2015 AT cygbert DOT vinschen DOT de> <3C440FC8 DOT BDBCB655 AT wapme-systems DOT de> <20020115122535 DOT V2015 AT cygbert DOT vinschen DOT de> <20020115133314 DOT Y2015 AT cygbert DOT vinschen DOT de> <3C45382F DOT 921ADB4B AT wapme-systems DOT de>
Mime-Version: 1.0
In-Reply-To: <3C45382F.921ADB4B@wapme-systems.de>
User-Agent: Mutt/1.3.22.1i

On Wed, Jan 16, 2002 at 09:22:07AM +0100, Stipe Tolj wrote:
> Corinna Vinschen wrote:
> > If you could patch httpd to get a new option which differs from the
> > usual run mode only by not forking and detaching the master process,
> > we could start it using cygrunsrv as well.  That shouldn't be too
> > hard.  The -D option in sshd is really just skipping a function call
> > `daemon()'.
> 
> ok, I'll put my hands on it. 

Thanks.

> BTW, is this going to be released then as package apache-1.3.22-4 or
> do we version back to -1? -- I guess users may be confused and may
> assume there have been 3 previous releases? Anyway I vote for -4,
> otherwise we would break the "respect revision numbers in any case"
> rule.

I think we can just begin with -4.  IIRC, it's not the first
package.  Our subversions are just way smaller than in most Linux
distros :-)

> > Otherwise we could upload apache as is but with a description how
> > to start under inetd in the /usr/doc/Cygwin/apache* README.  I'd
> > ask you to implement the above option, though.
> 
> yep, today.

Btw., I've found the description how to install apache as service
under cygrunsrv.  The only problem was that it's on a html page
so I first found it after I already had installed apache under inetd.

There's a small glitch in there.  It uses the /usr/local/apache/bin/httpd
path instead of /usr/sbin/httpd.  

I tried to start apache under cygrunsrv using the description but
it forks as I expected, so cygrunsrv reports

  cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
  The service has not been started.

and I couldn't contact apache with a browser even if there was an
instance of apache running.  While there's not the option to
start it correctly under cygrunsrv... do I have to give some
other option?  In my httpd.conf I changed

  ServerType inetd

back to

  ServerType standalone

and added

  User Guest
  Group Guests

That apache process was running under SYSTEM account, though.  Am I
doing something wrong?

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

- Raw text -


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