delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/04/04/09:52:50

X-Spam-Check-By: sourceware.org
X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9
Date: Wed, 04 Apr 2007 09:52:59 -0400
To: cygwin AT cygwin DOT com
From: Terry Bailey <terry AT bitlinx DOT com>
Subject: Re: httpd
In-Reply-To: <Pine.GSO.4.63.0704032319410.21807@access1.cims.nyu.edu>
References: <20070404030511 DOT GQLJ17460 DOT ibm59aec DOT bellsouth DOT net AT BitlinxGroup DOT bitlinx DOT com> <Pine DOT GSO DOT 4 DOT 63 DOT 0704032319410 DOT 21807 AT access1 DOT cims DOT nyu DOT edu>
Mime-Version: 1.0
Message-Id: <20070404135222.ZHNZ28633.ibm60aec.bellsouth.net@BitlinxGroup.bitlinx.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019