delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/20/10:37:45

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
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.0.1.1.0.20040220103124.03998790@127.0.0.1>
X-Sender:
Date: Fri, 20 Feb 2004 10:36:04 -0500
To: florent DOT lothon AT free DOT fr, cygwin AT cygwin DOT com
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Subject: Re: Installing Apache as a new Service = Win32 error 1062
In-Reply-To: <1077276363.4035eecb8fa1e@imp5-q.free.fr>
References: <1077276363 DOT 4035eecb8fa1e AT imp5-q DOT free DOT fr>
Mime-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i1KFbf4r027091

At 06:26 AM 2/20/2004, florent DOT lothon AT free DOT fr you wrote:
>Hello,
>
>I think this doc isn't enough to succesfully install Apache as service for new 
>users of cygwin as me :
>
>Installing Apache as a new Service 
>Use the following statement to install httpd.exe as a new service:
>
>  $ cygrunsrv -I service_name-p /usr/local/apache/bin/httpd.exe [-a arguments] \
>      [-e VAR=VALUE] [-t auto|manual] [-u user] [-w passwd]
>Where -a is used to pass command line arguments (such as -DFOO defines) to 
>httpd.exe, and -e is used to pass environment variables. If necessary you may 
>use the -t options to set the autostart configuration for the service. If you 
>want the new service to run under a different userid, you will have to supply 
>the -u and -w options.
>
>When i start apache as this : /usr/sbin/httpd.exe
>apache is running ok
>
>but when i install it as service with : cygrunsrv -I apache -p 
>/usr/sbin/httpd.exe
>and i try to start the service with :
>$ cygrunsrv -S apache
>i get :
>cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
>Le service n'a pas été démarré.
>
>I think there is other thing to do but what ?


As with all problem reports to the list, you should start here:

>Problem reports:       http://cygwin.com/problems.html


Following this helps us here on the list refine the infinite realm of
possible suggestions down to a reasonable set of possible solutions or
follow-up questions.  I think everyone on this list will agree that there's
too much traffic here to support email exchanges with infinite content. ;-)


--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


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