<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/1.1.6">
</HEAD>
<BODY>
Does adding the --nodetach to cygrunsrv (I think that's the correct spelling ) 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=CITE>
<PRE><FONT COLOR="#050c87" SIZE="3"><I>I've been trying to run apache as a service using cygrunsrv. I haven't
changed the httpd.conf and running /usr/sbin/httpd from the command line
works fine. Here is what I have done:
> cygrunsrv -I apache -d "Cygwin apache" -p /usr/sbin/httpd -a -k -e
"CYGWIN=ntsec nosmbntsec binmode tty"
> cygrunsrv -S apache
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
nothing has worked. Any ideas?
Here is my cygcheck -s output:
> 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="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>--
David Means
Real programs don't eat cache.</PRE>
</TD>
</TR>
</TABLE>
</PRE>
</BODY>
</HTML>