cygrunsrv points to incorrect path
Max Bowsher
maxb@ukf.net
Thu Feb 20 23:25:00 GMT 2003
Malghan, Ravi wrote:
> Hi: I am trying to run Apache as a service
> cygrunsrv.exe -I "CYGWIN apache" -p /usr/sbin/httpd.exe -t manual
>
> But when I go to Services and look at the properties of this service,
> under "Path to executable" it says
> C:\cygwin\bin\cygrunsrv. Shouldn't this says
> C:\cygwin\usr\sbin\httpd.exe ?
No. It is correct.
> As a result I get "Could not start the CYGWIN apache service on Local
> Computer"
Not as a result.
> Am I using the cygrunsrv incorrectly?
Yes, but apache may need some switches to run as a service.
Max.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list