Re: mod_log_sql 1.97 with Apache 2 with MySQL on FreeBSD...

Edward Rudd <[email protected]> Sun, 11 Jul 2004 15:22:16 -0500
Newsgroups gmane.comp.apache.mod-log-sql
Organization OutOfOrder.cc
Message-ID <[email protected]>
On Sun, 2004-07-11 at 03:26, Paul Chvostek wrote:
> Hiya.
> 
> I've been using mod_log_sql v1.18 with Apache 1.3 for quite some time
> with great success.  I thought it might be fun to play around with
> Apache 2, but I've hit a (perhaps small) roadblock.

> The problem is, Apache is reporting segfaults to its error_log:
> 
> [Sun Jul 11 03:59:30 2004] [notice] child pid 3866 exit signal Segmentation fault (11)
> [Sun Jul 11 03:59:35 2004] [notice] child pid 3867 exit signal Segmentation fault (11)
> 
Can you get me a backtrace??
download mod_backtrace from
http://www.apache.org/~trawick/exception_hook.html

Hopefully the freebsd build of apache 2.0.50 has exception hooks
enabled.. 
just use 
apxs -cai mod_backtrace.c
then add 
EnableExceptionHook On
Backtracelog logs/backtrace.log

into your configuration file.
Then mail the contents of the backtrace.log after a crash.

You can also use GDB and just
gdb /path/to/httpd pidid

where the pidid is a child process of apache (use ps ax to list
processes )

and then do a bt when apache segfaults

Also try using the latest mod_log_sql and see if it works.. but I've had
reports of that version doing the same on some linux systems.

> FAQ question 2.1 seemed plausable enough until I noticed that PHP5 seems
> to use the real MySQL libraries rather than rolling its own.

> Thanks.
-- 
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)

iD8DBQBA8aF4vwMxRUUct20RAtWxAJ9n20d66XtqMvKTuehoSyi7hv5/dQCeKOUI
hG/zX1hqX/2HmNP+CNvrk/I=
=UHNK
-----END PGP SIGNATURE-----