delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/20/09:58:07

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: Fri, 20 Feb 2004 09:57:46 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: florent DOT lothon AT free DOT fr
cc: cygwin AT cygwin DOT com
Subject: Re: Trans.: Re: Installing Apache as a new Service = Win32 error 1062
In-Reply-To: <1077281665.4036038143aa2@imp4-q.free.fr>
Message-ID: <Pine.GSO.4.56.0402200955520.9257@slinky.cs.nyu.edu>
References: <1077281665 DOT 4036038143aa2 AT imp4-q DOT free DOT fr>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Fri, 20 Feb 2004 florent<dot>lothon<at>free<dot>fr wrote:

> Nothing in logs :
>
> [Wed Feb 18 14:28:18 2004] [notice] Apache/1.3.29 (Cygwin) configured -- resuming normal operations
> [Wed Feb 18 14:28:18 2004] [notice] Accept mutex: pthread (Default: pthread)
> [Wed Feb 18 14:31:33 2004] [notice] caught SIGTERM, shutting down
>
> How must i configure User / Group directives ?
>
> I set httpd.conf "User" and "Group" variables.
> But i may made an error...
>
>
> > Check the apache log file. may well give u an error about setting
> > UID if so ensure the config has the correct User / Group directives
> > in it.
> >
> >     Steve / K
> >
> > ----- Original Message -----
> > Sent: 20 February 2004 11:26
> > Subject: Installing Apache as a new Service = Win32 error 1062
> >
> >
> > > 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 ete demarre.
> > >
> > > I think there is other thing to do but what ?
> > >
> > > Florent

Please see

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

especially the bit about attaching your cygcheck output.

Also, check the Windows Event Log.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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