logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Cygwin apache2 loading problem
Author
daytues



Joined: 17 Apr 2007
Posts: 2

PostPosted: Tue 17 Apr '07 18:42    Post subject: Cygwin apache2 loading problem Reply with quote

I have a problem loading Apache2 under Cygwin. The errors are such as this:

Code:
      2 [main] httpd2 3528 c:\cygwin\usr\sbin\httpd2.exe: *** fatal error - couldn't release memory 0xCC4000(1032192) for 'c:\cygwin
\bin\cygcrypto-0.9.8.dll' alignment, Win32 error 487
      5 [main] httpd2 2888 fork: child 3528 - died waiting for dll loading, errno 11


Code:
      3 [main] httpd2 3836 c:\cygwin\usr\sbin\httpd2.exe: *** fatal error - couldn't release memory 0xCC4000(1032192) for 'c:\cygwin
\lib\apache2\mod_mime.so' alignment, Win32 error 487
      5 [main] httpd2 4012 fork: child 3836 - died waiting for dll loading, errno 11


and so on.

Apache2 was started by running cygserver:

Code:
/usr/sbin/cygserver &


then using this command to start the server:

Code:
CYGWIN=server /usr/sbin/apachectl2 -k start


It is not made to be run as a service. The reason is that I would like it to be installed on another machine for which I don't have admin rights. This should be something possible (and desirable in my case Smile, right?

The problem can be solved by commenting the following LoadModule lines in /etc/apache2/httpd.conf:

Code:
LoadModule headers_module lib/apache2/mod_headers.so
LoadModule unique_id_module lib/apache2/mod_unique_id.so
LoadModule ssl_module lib/apache2/mod_ssl.so
LoadModule mime_module lib/apache2/mod_mime.so
LoadModule status_module lib/apache2/mod_status.so
LoadModule info_module lib/apache2/mod_info.so
LoadModule imagemap_module lib/apache2/mod_imagemap.so


However, I wouldn't like staying without these modules (or any other that I might need in the future)... Any suggestions?
Back to top
daytues



Joined: 17 Apr 2007
Posts: 2

PostPosted: Tue 17 Apr '07 19:00    Post subject: Reply with quote

http://cygwin.com/ml/cygwin/2005-09/msg00919.html

Argh... Not the Apache2 problem, but Cygwin installation problem... My mistake... Always install Cygwin as it should be installed. Rolling Eyes
Back to top


Reply to topic   Topic: Cygwin apache2 loading problem View previous topic :: View next topic
Post new topic   Forum Index -> Apache