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 Date: Mon, 1 Nov 2004 10:52:26 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Elvin Peterson cc: cygwin AT cygwin DOT com Subject: Re: apache fails to start when not connected to net In-Reply-To: <20041030194156.94726.qmail@web52203.mail.yahoo.com> Message-ID: References: <20041030194156 DOT 94726 DOT qmail AT web52203 DOT mail DOT yahoo DOT com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 2.39 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 and provide all the requested information. HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- 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/