delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD |
X-Spam-Check-By: | sourceware.org |
From: | "Brian Wilson" <wilson AT ds DOT net> |
To: | Andrey Repin <cygwin AT cygwin DOT com> |
Subject: | Re: Cygwin 1.7.9 Apache2 startup question & issue. |
Date: | Mon, 15 Aug 2011 09:18:34 -0400 |
Message-Id: | <20110815124547.M74386@ds.net> |
In-Reply-To: | <375880044.20110815105150@mtu-net.ru> |
References: | <20110814221231 DOT M84701 AT ds DOT net> <375880044 DOT 20110815105150 AT mtu-net DOT ru> |
X-OriginatingIP: | 57.250.242.249 (wilson) |
MIME-Version: | 1.0 |
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 |
Hello Andrey: > > I'm having a bit of trouble with starting the Cygwin Apache2 package on my Windows XP (SP3) system. > > Why don't you use native Windows Apache HTTPD server? Because I'd like to use a more *nix like environment than Windows. > > ...Why does the apachectl2 help message display the usage for httpd2; > > Because the syntax is exactly the same. Yet they aren't the same command (the httpd and apachectl2 commands have different file sizes) so the help message displayed isn't for correct command. Perhaps some of these options don't work, or don't work the way they are defined or explained. Perhaps there are other options that aren't included in this help message. I can't trust the information provided as it isn't for the correct command. > > and why is there no definition for the -k option? > > There is: > > [-k start|restart|graceful|graceful-stop|stop] > > There's no explanation, however, but honestly. it's all pretty self-explanatory. The information provided is a usage statement (for the wrong command), not a definition or explanation. What exactly is the difference between saying "apachectl2 start" (which works well) and "apachectl2 -k start"? Exactly what does -k do? What I really need is some help with the cygrunsrv command to start the apache2 running as a service. If anyone knows what is wrong with the command I've used, or why the service dies without starting any httpd2 daemons, your help would be greatly appreciated. Do I need to add '-e "CYGWIN=service"' (which is set as a System Variable already)? I'm trying to document the process of getting Apache2 up and running correctly so I can contribute something back to this community, but this one has got me stumped (so far). $ cygrunsrv -I "CYGWIN apache2" --path /usr/sbin/apachectl2 --args "-D NO_DETACH -k start" --dep cygserver --user nobody --shutdown > Sorry for my terrible english... Actually your English is better than my Russian. На самом деле ваш английский лучше чем мой русский язык. До свидания пока. Sincerely, Brian S. Wilson -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |