delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/21/22:25:26

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
To: cygwin AT cygwin DOT com
From: "George Hester" <hesterloli AT hotmail DOT com>
Subject: Re: Trailing commandline arguments not allowed.
Date: Sun, 21 Mar 2004 22:25:04 -0500
Organization: Home
Lines: 96
Message-ID: <c3lmah$65d$1@sea.gmane.org>
References: <c3idkr$fl2$1 AT sea DOT gmane DOT org> <Pine DOT GSO DOT 4 DOT 56 DOT 0403202216070 DOT 26885 AT slinky DOT cs DOT nyu DOT edu> <c3kae4$i25$1 AT sea DOT gmane DOT org> <Pine DOT GSO DOT 4 DOT 56 DOT 0403211254080 DOT 26885 AT slinky DOT cs DOT nyu DOT edu> <c3ld6n$lk8$1 AT sea DOT gmane DOT org> <Pine DOT GSO DOT 4 DOT 56 DOT 0403212100430 DOT 26885 AT slinky DOT cs DOT nyu DOT edu>
Reply-To: "George Hester" <hesterloli AT hotmail DOT com>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: alb-24-195-115-198.nycap.rr.com
X-Newsreader: Microsoft Outlook Express 5.50.4922.1500
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i2M3PNcQ022988

Yes I do.

So I followed the directions.  It said "you must run httpd as root initially."
  To do this make a change so that I have, " User Guest." 
 Of course no one in their right mind enables the Guest account 
but I went ahead and left my Guest account alone 
(the directions did not say to enable that account) and made the entry directed.

Then the directions say, "To install and start the HTTP daemon as Windows service use 
this command: 
  
  $ cygrunsrv -I httpd -d "CYGWIN httpd (apache)" -p /usr/sbin/httpd.exe -a "-F" 
  $ cygrunsrv -S httpd "

So I went ahead and did that.  The Service is now in my Services applet set to start automatically at boot.
  This looks alittle suspicious to me since the $cygrunsrv -S httpd will NOT occur at boot 
but hey I'm just following the directions.

I rebooted and the Apache server was not working.  I had to fire up Cygwin off my desktop into
 the bash shell and
$/usr/sbin/apachectl start to get the server running.

Again this is not the normal way of a service at boot.  It doesn't work.

Any other suggestions to get the Apache server to start as a service in the normal way?


George Hester
__________________________________
"Igor Pechtchanski"  wrote in message news:Pine DOT GSO DOT 4 DOT 56 DOT 0403212100430 DOT 26885 AT slinky DOT cs DOT nyu DOT edu...
> George,
> 
> I'm sure you have a /usr/share/doc/Cygwin directory on your system.  Look
> for the file named apache-1.3.29-1.README in that directory.  Judging by
> your reply, you looked in /usr/share/doc, not in /usr/share/doc/Cygwin.
> Igor
> 
> On Sun, 21 Mar 2004, George Hester wrote:
> 
> > I don't have a folder by that name.  I have folder called
> > apache-1.3.29-eapib and that's it.  The puny Readme in that said nothing
> > about running Apache as a service.  Thanks anyway.
> >
> > George Hester
> > __________________________________
> > Igor Pechtchanski wrote:
> >
> > > George,
> > >
> > > Please (re)read /usr/share/doc/Cygwin/apache-1.3.29-1.README, which is the
> > > official documentation for apache on Cygwin.  Any other occurrences of
> > > "Cygwin" in the Apache documentation should be considered incidental, and
> > > are subsumed by that README.
> > > Igor
> > >
> > > On Sun, 21 Mar 2004, George Hester wrote:
> > >
> > > > Hi Igor.  Crap I messed up in my last post.  Please do not read it.  It
> > > > will only upset you.
> > > >
> > > > I got the service to exist in the Services applet with:
> > > >
> > > > $cygrunsrv -I Apache -p /usr/sbin/httpd.exe -t auto
> > > >
> > > > but it does not behave as a normal service.  A normal service set to
> > > > auto
> 
> -- 
> http://cs.nyu.edu/~pechtcha/
>       |\      _,,,---,,_ pechtcha AT cs DOT nyu DOT edu
> ZZZzz /,`.-'`'    -.  ;-;;,_ igor AT watson DOT ibm DOT com
>      |,4-  ) )-,_. ,\ (  `'-' Igor Pechtchanski, Ph.D.
>     '---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
> 
> "I have since come to realize that being between your mentor and his route
> to the bathroom is a major career booster."  -- Patrick Naughton
>


--
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