This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: [ANN] updated: apache-1.3.24-1
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
--
=^..^=