Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <419596A3.DD18024E@dessent.net>
Date: Fri, 12 Nov 2004 21:07:47 -0800
From: Brian Dessent <brian@dessent.net>
Organization: My own little world...
MIME-Version: 1.0
To: cygwin <cygwin@cygwin.com>
Subject: Re: dlopen, Win32 error 126
References: <200411130509.iAD59LlT021874@localhost.localdomain>
Content-Type: text/plain; charset=iso-8859-1
X-IsSubscribed: yes
Reply-To: cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id iAD54cHc011195

Äþ»Ô wrote:
> 
> I start apache  failure .
> ###################################################################################
> $ ./apachectl start
> Syntax error on line 223 of /etc/apache/httpd.conf:
> Cannot load /usr/lib/apache/mod_rewrite.dll into server: dlopen, Win32 error 126
> 
> ./apachectl start: httpd could not be started
> #################################################################################33
> 
> Could anybody help me?

First of all, you should be running Apache as a service and
starting/stopping it with "net stop" and "net start" commands.  Using
apachectl runs it as the current user, which is normally not what you
want.

Make sure the mod_*.dll files exist and have both 'r' and 'x'
permissions for whatever user account is running apache.  Also rebaseall
if you haven't already.

Brian

--
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/


