Brian,
    Thanks again for you help.  I just built without LUA and that fixed it.  Now it seems that mod_unique_id does not want to load.  In my httpd.conf file I have:

LoadModule mod_unique_id_module modules/mod_unique_id.so

When I start Apache I get:

Starting httpd: httpd: Syntax error on line 174 of /etc/httpd/conf/httpd.conf: Can't locate API module structure `mod_unique_id_module' in file /etc/httpd/modules/mod_unique_id.so: /etc/httpd/modules/mod_unique_id.so: undefined symbol: mod_unique_id_module

We're running:
CentOS 5.1
Server version: Apache/2.2.8 (Unix)
Server built:   Jan 21 2008 05:55:18



On Thu, 2008-03-20 at 11:01 -0700, Brian Rectanus wrote:
You need to build Lua with a dynamic lib.  Unfortunatly there are no
instructions to do this from Lua :(  You can (and I recommend it) just
using the binaries from lua.org that have already done this.  BTW, Lua
is not required, so you can just configure with --without-lua if you want.

-B

Clayton Dillard wrote:
> Brian,
>     Thank you for correcting me on that.  I've fixed the typo and after
> following the installation instructions I ended up with LUA that did not
> contain a liblua5.1.so but a liblua5.1.a and when attempting to start
> Apache I get:
> 
> Starting httpd: httpd: Syntax error on line 228 of
> /etc/httpd/conf/httpd.conf: Cannot load /usr/local/lib/liblua.a into
> server: /usr/local/lib/liblua.a: invalid ELF header
> 
> - Clay
> 
> On Wed, 2008-03-19 at 22:59 -0700, Brian Rectanus wrote:
>> Clayton Dillard wrote:
>> > I'm unable to start Apache now that I've added the line to httpd.conf 
>> > for mod_security.  Can someone point me in the right direction?
>> > 
>> > Thanks,
>> > Clay
>> > 
>> >  >From httpd.conf
>> > LoadModule mod_security modules/mod_security2.so
>> > 
>> > Error message:
>> > Starting httpd: httpd: Syntax error on line 227 of 
>> > /etc/httpd/conf/httpd.conf: Can't locate API module structure 
>> > `mod_security' in file /etc/httpd/modules/mod_security2.so: 
>> > /etc/httpd/modules/mod_security2.so: undefined symbol: mod_security
>> > 
>>
>> Looks like you have a typo on that line:
>>
>> LoadModule security2_module modules/mod_security2.so
>>
>>
>> See 
>> http://modsecurity.org/documentation/modsecurity-apache/2.5.1/modsecurity2-apache-reference.html#installation
>>
>> thanks,
>> -B
> 
> 
> */Clayton Taylor Dillard/*
> 
> http://hspcd.blogspot.com/
> 




Clayton Taylor Dillard

http://hspcd.blogspot.com/