Mail Archives: cygwin/2007/04/04/09:52:50
ssh-host-config was a great help
Here is what I entered.
cygrunsrv -I httpd -d "CYGWIN httpd" -p /usr/sbin/httpd -a -D -y tcpip
I then typed
net start httpd
The following messages then came up
The CYGWIN httpd service is starting
The CYGWIN httpd service could not be started
The service did not report an error
It is the case that the command "cygrunsrv -L" does list httpd as an
installed service
I did notice that when a remote reboot is done on Windows 2003,
everything comes (e.g, sshd) but it takes an hour for the GUI to come
up so that I can use Remote Desktop. I wonder if that could be the problem?
At 11:21 PM 4/3/2007, you wrote:
>On Tue, 3 Apr 2007, Terry Bailey wrote:
>
> > I am running Cygwin on Windows 2003. What is the best way to
> > automatically start /usr/sbin/httpd automatically when I boot Windows?
>
>Install it as a service. To see how to do this on Win2k3, examine the
>ssh-host-config script from the openssh package. You might also want to
>read the ntsec section of the User's Guide.
>HTH,
> Igor
>--
> http://cs.nyu.edu/~pechtcha/
> |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
>ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!)
> |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski
> '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
>
>Freedom is just another word for "nothing left to lose"... -- Janis Joplin
>
>--
>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/
--
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 -