delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/15/20:05: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://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
Subject: Re: cygrunsrv and apache
From: David Means <dmeans AT the-means DOT net>
To: cygwin AT cygwin DOT com
In-Reply-To: <b04qg2$vvq$1@main.gmane.org>
References: <b04qg2$vvq$1 AT main DOT gmane DOT org>
Organization: The-Means.net
Message-Id: <1042679111.22861.4.camel@milo>
Mime-Version: 1.0
Date: 15 Jan 2003 20:05:11 -0500

--=-iUswIiSeh57rMMu9L1No
Content-Type: multipart/alternative; boundary="=-HIgDTt6u1nRZwtmmc6sv"


--=-HIgDTt6u1nRZwtmmc6sv
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Does adding the --nodetach to cygrunsrv (I think that's the correct
spelling ) help?

I had a similar problem with rsyncd and adding it resolved my problem.

On Wed, 2003-01-15 at 18:24, Jonathan Albrecht wrote:

> I've been trying to run apache as a service using cygrunsrv. I haven't=20
> changed the httpd.conf and running /usr/sbin/httpd from the command line=20
> works fine. Here is what I have done:
>=20
>  > cygrunsrv -I apache -d "Cygwin apache" -p /usr/sbin/httpd -a -k -e=20
> "CYGWIN=3Dntsec nosmbntsec binmode tty"
> =20
>           > cygrunsrv -S apache=20
>=20
> cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 106=
2:
> The service has not been started.
>=20
> I've tried variations on the spaces and quotes in the command line but=20
> nothing has worked. Any ideas?
>=20
> Here is my cygcheck -s output:
>=20
>  > cygcheck -s
>=20
> Cygwin Win95/NT Configuration Diagnostics
> Current System Time: Wed Jan 15 18:17:40 2003
>=20

{ snip }=20


--=20
David Means

Real programs don't eat cache.

--=-HIgDTt6u1nRZwtmmc6sv
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; CHARSET=3DUTF-8">
  <META NAME=3D"GENERATOR" CONTENT=3D"GtkHTML/1.1.6">
</HEAD>
<BODY>
Does adding the --nodetach to cygrunsrv (I think that's the correct spellin=
g ) help?<BR>
<BR>
I had a similar problem with rsyncd and adding it resolved my problem.<BR>
<BR>
On Wed, 2003-01-15 at 18:24, Jonathan Albrecht wrote:
<BLOCKQUOTE TYPE=3DCITE>
<PRE><FONT COLOR=3D"#050c87" SIZE=3D"3"><I>I've been trying to run apache a=
s a service using cygrunsrv. I haven't=20
changed the httpd.conf and running /usr/sbin/httpd from the command line=20
works fine. Here is what I have done:

 &gt; cygrunsrv -I apache -d &quot;Cygwin apache&quot; -p /usr/sbin/httpd -=
a -k -e=20
&quot;CYGWIN=3Dntsec nosmbntsec binmode tty&quot;
=20
          &gt; cygrunsrv -S apache=20

cygrunsrv: Error starting a service: QueryServiceStatus:  Win32 error 1062:
The service has not been started.

I've tried variations on the spaces and quotes in the command line but=20
nothing has worked. Any ideas?

Here is my cygcheck -s output:

 &gt; cygcheck -s

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Wed Jan 15 18:17:40 2003
</I></FONT></PRE>
</BLOCKQUOTE>
{ snip } <BR>
<BR>
<PRE><TABLE CELLSPACING=3D"0" CELLPADDING=3D"0" WIDTH=3D"100%">
<TR>
<TD>
<PRE>--=20
David Means

Real programs don't eat cache.</PRE>
</TD>
</TR>
</TABLE>
</PRE>
</BODY>
</HTML>

--=-HIgDTt6u1nRZwtmmc6sv--

--=-iUswIiSeh57rMMu9L1No
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEABECAAYFAj4mBUcACgkQUd0KwqAz4aqtdwCfXIPeRBwR/piXodcRYOVhpx7r
A5IAoJ5cyxWuRdEsm5VE5cfYKtZLnetZ
=sBn5
-----END PGP SIGNATURE-----

--=-iUswIiSeh57rMMu9L1No--

- Raw text -


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