Re: Problems compiling on suse 9.1

Edward Rudd <[email protected]> Tue, 06 Jul 2004 15:43:59 -0500
Newsgroups gmane.comp.apache.mod-log-sql
Organization OutOfOrder.cc
Message-ID <[email protected]>
On Tue, 2004-07-06 at 10:41, mark.ridley-TxSU/[email protected] wrote:
> Edward,
> 
> I have now managed to compile mod_log_sql 1.98 thanks to your advice.  I 
> have tried to configure it within apache in the same way that I used to on 
> our old server (red hat 9) and although apache (v 2.049) starts up without 
> reporting any errors it does not respond and the error log quickly fills 
> up with the following statements until i stop it.
> 
> [Tue Jul 06 16:27:40 2004] [notice] child pid 1233 exit signal 
> Segmentation fault (11)
[snip]

> The configuration is as follows:-
> 
> LoadModule log_sql_module   /usr/lib/apache2-prefork/mod_log_sql.so
> LogSQLCreateTables On
> LogSQLDatabase aw_logs
> LogSQLLoginInfo hostname username password
> LogSQLMachineID machineID
> LogSQLTCPPort 3306
> 
> I have not yet configured any virtual hosts.
> 
> The server is a standard Suse 9.1 and the apache configuration is also 
> standard and was not compiled by myself.

Do you have PHP enabled?  try temporarily disabling php (put a # in
front of the LoadModule line for libphp4.so).  and see if apache starts
up and works..

there are issues if PHP is compiled with PHP's built-in mysql client
library instead of the system library (read the FAQ in the documentation
for mod_log_sql)

> Thanks,
> 
> Mark
> 
> 
> 
> 
> Edward Rudd <[email protected]> 
> 05/07/04 05:09 pm
> 
> To
> mark.ridley-TxSU/[email protected]
> cc
> [email protected]
> Subject
> Re: [Mod_log_sql] Problems compiling on suse 9.1
> 
> 
> 
> 
> 
> 
> On Mon, 2004-07-05 at 04:53, mark.ridley-TxSU/[email protected] wrote:
> > Hello,
> > 
> > I am having trouble compiling on suse 9.1.  Configure is fine - i ran 
> with 
> > the following: 
> 
> > Any suggestions?
> 
> First, what version of mod_log_sql are you using?
> 2nd, is this a custom build of apache or the distribution provided?
> 
> This is an error when using an apache build with debug info on, I did
> fix this in mod_log_sql 1.98. (but only tested on apache 2.0.49)
> 
> Your build has debug mode enabled ( which is much slower for a
> production server). Debug mode compiles in several functions that can be
> traced into while debugging instead of using faster Macros. I'd suggest
> you recompile apache w/o the AP_DEBUG macro defined. (pass
> --disable-debug to ./configure of Apache's build)
> 
> You can edit the Makefile.in file and remove the -Wc,-Werror parameter
> on CFLAGS at the top and re-run ./config.status
> then make and things will compile  (still the warnings, but it won't
> error out on the warnings)
> 
> > Thanks in advance,
> > 
-- 
Edward Rudd <[email protected]>
Website http://www.outoforder.cc/

_______________________________________________
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-7qY7E20V6GW73k+5HYS8LQqVMODqnSLI@public.gmane.org
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQBA6w8PvwMxRUUct20RAqbXAJ9ELsDUWceOaS134trQWuL76MB4+gCdE+32
WajWWvGmozWMHTghgUeSKzI=
=1fqm
-----END PGP SIGNATURE-----