delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/14/15:30:37

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Mon, 14 Apr 2003 15:30:18 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Cant <cant_reed AT yahoo DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: starting apache as a service
In-Reply-To: <b7f074$1b0$1@main.gmane.org>
Message-ID: <Pine.GSO.4.44.0304141528050.26381-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Mon, 14 Apr 2003, Cant wrote:

> $ cygrunsrv -I httpd -p /usr/sbin/apachectl -a start
> $ cygrunsrv -S httpd
> cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
> Usuga nie zostaa uruchomiona.
>
> $
>
> uhm... why is it saying this?

Does the event log say anything?  IIRC, you need to give the -k option to
httpd to avoid detaching from the terminal, but I hope someone will
correct me if I'm wrong.  Also, why are you starting apache through
apachectl if you already have cygrunsrv to do it?  Wouldn't it make more
sense to start httpd directly?
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Knowledge is an unending adventure at the edge of uncertainty.
  -- Leto II


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

- Raw text -


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