This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: dlopen, Win32 error 126
- From: Brian Dessent <brian at dessent dot net>
- To: cygwin <cygwin at cygwin dot com>
- Date: Fri, 12 Nov 2004 21:07:47 -0800
- Subject: Re: dlopen, Win32 error 126
- Organization: My own little world...
- References: <200411130509.iAD59LlT021874@localhost.localdomain>
- Reply-to: cygwin at cygwin dot com
Äþ»Ô 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/