delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/16/17:01:35

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
Message-ID: <01d701c2bdaa$c8cea0f0$78d96f83@POMELLO>
From: "Max Bowsher" <maxb AT ukf DOT net>
To: "Elfyn McBratney" <elfyn-cygwin AT exposure DOT org DOT uk>,
"cygwin" <cygwin AT cygwin DOT com>
References: <Pine DOT GSO DOT 4 DOT 44 DOT 0301161236100 DOT 10883-100000 AT slinky DOT cs DOT nyu DOT edu> <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
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/<servicename>.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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019