[Mod_log_sql] Newbie needs assistance with mod_log_sql

Edward Rudd urkle at outoforder.cc
Tue Jun 15 06:22:56 EST 2004


Quoting "Britt A. Green" <milo at limecat.org>:

> Hello all,
> 
> I just downloaded and installed the debian file of mod_log_sql 1.18. My 
> Debian box is running Apache 1.3.
> 
> I'm having some errors after my installation. When I run apachectl 
> configtest, I get the following error message:
> 
> Can't locate API module structure `log_sql_module' in file 
> /usr/lib/apache/1.3/mod_log_sql.so: /usr/sbin/apache: undefined symbol: 
> log_sql_module
>
> The relevant portions of my httpd.conf file are below:
> 
> LoadModule log_sql_module /usr/lib/apache/1.3/mod_log_sql.so
> LoadModule log_sql_mysql_module /usr/lib/apache/1.3/mod_log_sql_mysql.so
> 

Use the line 
LoadModule sql_log_module /usr/lib/apache/1.3/mod_log_sql.so

Only the 1.9x (2.0 branch) uses los_sql_module and has the separated database
module. (log_sql_mysql_module). Read the Documentation for 1.18 as the two
releases are slightly different.
> ...
> 
> LogSQLLoginInfo localhost apache secretword
> LogSQLDatabase apache
> LogSQLCreateTables on
> LogSQLSocketFile /var/run/mysqld/mysqld.sock
> LogSQLPreserveFile          apache_queries.sql
> 
> Can anyone tell me what I'm missing?
> 
> Thanks!
> 
> Britt
> 
> _______________________________________________
> Download the latest version at
> http://www.outoforder.cc/projects/apache/mod_log_sql/
> 
> To unsubscribe send an e-mail to 
> mod_log_sql-unsubscribe at lists.outoforder.cc
> 


Edward Rudd <urkle at outoforder.cc>
Web Page <http://www.outoforder.cc/>



More information about the Mod_log_sql mailing list