cygrunsrv and apache
David Means
dmeans@the-means.net
Thu Jan 16 07:40:00 GMT 2003
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
> 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
>
{ snip }
--
David Means
Real programs don't eat cache.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cygwin.com/pipermail/cygwin/attachments/20030116/ce45caac/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 240 bytes
Desc: This is a digitally signed message part
URL: <http://cygwin.com/pipermail/cygwin/attachments/20030116/ce45caac/attachment.sig>
More information about the Cygwin
mailing list