dlopen, Win32 error 126

Brian Dessent brian@dessent.net
Sat Nov 13 05:04:00 GMT 2004


Äþ»Ô 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/



More information about the Cygwin mailing list