delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
Message-ID: | <20041102183107.58174.qmail@web52207.mail.yahoo.com> |
Date: | Tue, 2 Nov 2004 10:31:07 -0800 (PST) |
From: | Elvin Peterson <elvin_peterson AT yahoo DOT com> |
Subject: | Re: apache fails to start when not connected to net |
To: | cygwin AT cygwin DOT com |
In-Reply-To: | <Pine.GSO.4.61.0411011049040.13237@slinky.cs.nyu.edu> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
--- Igor Pechtchanski wrote: > On Sat, 30 Oct 2004, Elvin Peterson wrote: > > > Hello, > > Apache doesn't start when not connected to the > web > > even when the ServerName is set to the local > loopback. > > This is due to a module mod_unique_id which does > a > > gethostbyname. Disabling this module will have > apache > > running without trouble. Is this a bug in that > > module? > > TIA. > > Depending on your Windows version, your /etc/hosts > should be a link to > either C:\WINDOWS\hosts or > %SYSTEMROOT%\system32\drivers\etc\hosts. Edit > it and make sure that it contains "localhost". > E.g., my /etc/hosts > contains: > > 127.0.0.1 localhost > > This should allow a gethostbyname("localhost") > without network access. > If this doesn't work, please review the Cygwin > problem reporting > guidelines at <http://cygwin.com/problems.html> and > provide all the > requested information. The /etc/hosts file is fine and does contain the definition for localhost. But the module in question is doing gethostbyname("mymachinename") where mymachinename is the name given to the windows machine during installation. Thanks for the reply. __________________________________ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |