delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/30/09:10:21

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Wes S" <wess AT acegroup DOT cc>
To: cygwin AT cygwin DOT com
Date: Sat, 30 Apr 2005 09:07:58 -0400
MIME-Version: 1.0
Subject: Re: Unable to install and run Apache httpd as Windows service
Message-ID: <42734AEE.25837.187133@localhost>
In-reply-to: <20050430095013.33712.qmail@web41902.mail.yahoo.com>
X-IsSubscribed: yes
Note-from-DJ: This may be spam

On 30 Apr 2005 at 2:50, Matthew M wrote:

> I know this has been asked half a dozen times
> recently, but I haven't found a solution that works
> for me.
> 
[snip]

> I ran many variations on these commands:
> root AT machine ~
> $ cygrunsrv -I httpd -p /usr/sbin/httpd -a "-f
> /etc/apache/httpd.conf"

That command worked fine on my W2k machine.  only difference is I used /etc/apache.new/httpd.conf .  Don't know why I have a /etc/apache and a /etc/apache.new directory on my box.

Service was still working after a reboot.

Wes 
> 
> I've done this with and without specifying the config
> file, and with and without -F option.  I've also
> included 'User SYSTEM' in my httpd.conf per Bert's
> suggestion:
> http://sourceware.org/ml/cygwin/2005-02/msg00414.html 
> All with the same result:
> 
> root AT machine ~
> $ cygrunsrv -S httpd
> cygrunsrv: Error starting a service:
> QueryServiceStatus:  Win32 error 1053:
> The service did not respond to the start or control
> request in a timely fashion.
> 
> I can see in my Windows services panel that httpd is
> installed, but it perpetually shows httpd as
> "starting," and it won't actually run.
> 
> root AT machine ~
> $ cygrunsrv -E httpd
> cygrunsrv: Error stopping a service:
> QueryServiceStatus:  Win32 error 1053:
> The service did not respond to the start or control
> request in a timely fashion.
> 
> root AT machine ~
> $ cygrunsrv -R httpd
> cygrunsrv: Error removing a service: ControlService: 
> Win32 error 1061:
> The service cannot accept control messages at this
> time.
> 
> Though it does show the service as removed on next
> reboot.
> 
> At some point in the installation of sshd as a
> service, it created the (disabled) Windows user named
> sshd, but no corresponding httpd user was ever created
> for Apache during that installation.
> 
> Are there any more suggestions, or am I doomed to run
> Apache manually unless I install the native windows
> version?
> 
> btw, Apache 1.3.33 would never run even manually,
> perhaps because it was looking in the wrong
> directories for the modules.
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 



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

- Raw text -


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