www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2002/04/15/11:05:07

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>
Mail-Followup-To: cygwin-apps AT cygwin DOT com
Delivered-To: mailing list cygwin-apps AT cygwin DOT com
Date: Mon, 15 Apr 2002 17:04:17 +0200
From: "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de>
Reply-To: "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de>
Organization: Esse keine toten Tiere
X-Priority: 3 (Normal)
Message-ID: <38286273209.20020415170417@familiehaase.de>
To: cygwin-apps AT cygwin DOT com
Subject: Re: [ANN] updated: apache-1.3.24-1
In-Reply-To: <3CBAE60F.9963AA54@wapme-systems.de>
References: <3CB03249 DOT 92BE4405 AT wapme-systems DOT de>
<1225117538 DOT 20020413170730 AT familiehaase DOT de>
<20020415135342 DOT L29277 AT cygbert DOT vinschen DOT de>
<3CBAD020 DOT C6403E6A AT wapme-systems DOT de>
<144284210272 DOT 20020415162954 AT familiehaase DOT de>
<3CBAE60F DOT 9963AA54 AT wapme-systems DOT de>
MIME-Version: 1.0

Stipe schrieb:

> Hi Gerrit

>> Another 'bug':
>> The Apache manual includes information about running Apache as a
>> service.  If i try to do it like it is described there I get an
>> error:
>> 
>> $ cygrunsrv -I apache -d "Cygwin apache" -p /usr/sbin/httpd -u Apache -w password
>> 
>> $ cygrunsrv -S apache
>> cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
>> Der Dienst wurde nicht gestartet.
>> 
>> In Eventlog:
>> Blah:apache : Win32 Process Id = 0x18A : Cygwin Process Id = 0x18A : `apache'
>> service started.
>> Blub:apache : Win32 Process Id = 0x18A : Cygwin Process Id = 0x18A : `apache'
>> service stopped.
>> 
>> Also a short hint how to install it as a service in
>> the /usr/doc/Cygwin/apache-xxx.README would be nice.

> you try to start httpd with a user called "Apache". If "Apache" has no
> win32 system token set, then he's unable to change to the httpd
> runtime user that is defined in /etc/apache/httpd.conf.

> This is my guess. Could you check what user has been specified in
> httpd.conf.

It is the same user in httpd.conf, that is the reason why I used it.
It runs well from the commandline (with the same conf file).
Does your statement mean that I am able to start the service as SYSTEM
as it is default?


Gerrit
-- 
=^..^=

- Raw text -


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