Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <01d701c2bdaa$c8cea0f0$78d96f83@POMELLO> From: "Max Bowsher" To: "Elfyn McBratney" , "cygwin" References: <011501c2bd8e$02f8a310$0d6186d9 AT webdev> <00f501c2bd8f$2b546780$78d96f83 AT POMELLO> <012f01c2bd92$88405eb0$0d6186d9 AT webdev> <015f01c2bd94$a1bd9180$78d96f83 AT POMELLO> <016801c2bda5$d3913e80$0d6186d9 AT webdev> Subject: Re: cygrunsrv and apache Date: Thu, 16 Jan 2003 22:01:12 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Elfyn McBratney wrote: >> Did you try running apache from the SYSTEM command line? > > Yeah, same as usual... Working!?! > >> I don't know much about apache, but when in similar circumstances >> with ssh, I turn debugging up to maximum, and look at >> /var/log/.log. Apache has its own logs that it might be >> worthwhile to look in as well. > > I don't think there's a debug command-line options, and if there is > it's certainly not documented very well :( BTW I was checking the > service log for apache (/var/log/apache.log) after every attempted > start and it is still empty and the error_log doesn't doesn't contain > anything but the normal startup/shutdown messages. I have just set up apache on my machine to see if I could reproduce this. This is what I did: Install apache from setup.exe $ cygrunsrv -I apache -p /usr/sbin/httpd -a -k -d "CYGWIN apache" (I have a global CYGWIN="binmode tty ntsec" in the system environment) Edit httpd.conf: Set ServerName to silence a warning Set User and Group to "#18" (Yes, I'm lazy, and no, I'm not going to be leaving this running!) $ cygrunsrv -S apache View the Apache test page in Internet Explorer. It works! (I did get a "Service has not started" at one point, but that was when I made a typo in httpd.conf. Info was dumped to /var/log/apache.log) I don't see how this simple success story will help you much, apart from confirming that it is possible with dll 1.3.18-1. Max. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/