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: Subject: Apache2 on Cygwin 1.7 does not start (cygserver is running) From: David Antliff To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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