delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
Date: | Tue, 29 Sep 2009 16:01:37 +1200 |
Message-ID: | <db95995b0909282101y6f290734w8815d0cb5da0a27a@mail.gmail.com> |
Subject: | Apache2 on Cygwin 1.7 does not start (cygserver is running) |
From: | David Antliff <david DOT antliff AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
Today I was able to get Apache2 running on Cygwin *1.5* using these instructions: http://www.issociate.de/board/goto/895433/apache2_does_not_start_in_cygwin.html The "CYGWIN=server" variable was critical. I now have Cygwin 1.7 installed side-by-side with 1.5, and as far as I can tell, the two do not interfere. However, I am unable to launch apache2 in Cygwin 1.7. Initially I followed the same directions, and got this: $ echo $CYGWIN $ export CYGWIN=server $ cygserver-config ... $ net start cygserver The CYGWIN cygserver service is starting. The CYGWIN cygserver service was started successfully. $ /usr/sbin/apachectl2 start /usr/sbin/apachectl2: line 78: 1372 Bad system call $HTTPD -k $ARGV Hmmm. I checked the 1.7 change log and it says that the "CYGWIN=server" setting is now obsolete. However leaving this out doesn't help either. Note that I made sure I shut down cygserver from 1.5 before I tried it with 1.7, and I also have apache2 configured to listen on different ports, just in case they were both running at the same time (which I didn't allow anyway). So there must be something different with 1.7 that isn't covered by those instructions - does anyone know what this might be, please? -- David. -- 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 |