Terry Bailey
Wed Apr 4 13:52:00 GMT 2007

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.
>         Igor
>       |\      _,,,---,,_   |
>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:
>Problem reports:

Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list