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 -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: Apache 2.3.16 won't start with ModSecurity 2.6.3
Author
hankman



Joined: 08 Jan 2008
Posts: 24
Location: Veghel, NL

PostPosted: Mon 02 Jan '12 23:42    Post subject: Apache 2.3.16 won't start with ModSecurity 2.6.3 Reply with quote

Hi,

I tried to install ModSecurity 2.6.3. on a Windows XP SP3 pc. The apache server won't run after editing the HTTPD file. The security module is in the apache modules directory.
Microsoft Visual C++ 2008 Redistributable Package is installed.
The latest updates are installed.

Windows event viewer says:

Event Type: Error
Event Source: Apache Service
Event Category: None
Event ID: 3299
Date: 2-1-2012
Time: 22:23:23
User: N/A
Computer: WEBHOST
Description:
The Apache service named reported the following error:
>>> httpd.exe: Syntax error on line 520 of C:/Apache23/conf/httpd.conf: Cannot load C:/Apache23/modules/mod_security2.so into server: The specified module could not be found.

But the module is in the right place, I'm sure about that.

Please give me some advice to get ModSecurity running.
Thanks.
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Tue 03 Jan '12 1:21    Post subject: Reply with quote

is the libxml2.dll file in Apache's /bin folder?

Every time I have seen this problem it has been because that file was missing. If it is there, I wonder if it is somehow corrupted. Does mod_proxy_html & mod_xml2enc load? They are also linked to this dll.

If they load then maybe the mod_security module is bad, if you are absolutely positive it is at
C:/Apache23/modules/mod_security2.so

I am assuming both Apache and mod_security came from the download page here.
Back to top
hankman



Joined: 08 Jan 2008
Posts: 24
Location: Veghel, NL

PostPosted: Tue 03 Jan '12 2:37    Post subject: Reply with quote

Hi, thanks for your reply.

For some reason the libxml2.dll file has been corrupted. I deleted and reinstalled it again and now the apache server with ModSecurity is running.

Thank you very much for your expertise.

Regards,

Hankman
Back to top


Reply to topic   Topic: Apache 2.3.16 won't start with ModSecurity 2.6.3 View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules