[Mod_log_sql] Signal 4 and 11 errors when LogSQLMassVirtualHosting On

Jason Hoffman jason at textdrive.com
Tue Dec 28 15:09:47 EST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Thought I would ask if anyone else has observed this or if it's 
something that's already fixed in /trunk

Thank you, Jason

- --------------
Apache 2.0.52 on FreeBSD 4.10 with mod_log_sql-1.99

Config:

<IfModule mod_log_sql.c>
LogSQLLoginInfo 
mysql://apachelogger:passwd-here@haro.textdrive.com/apachelogs
LogSQLCreateTables on
LogSQLDBParam socketfile /tmp/mysql.sock
LogSQLMassVirtualHosting On
LogSQLMachineID comox
LogSQlPreserveFile /tmp/mod-log-sql-preserve
</IfModule>

Error in httpd-error:

[Tue Dec 28 19:47:15 2004] [error] table does not exist, preserving 
query
[Tue Dec 28 19:47:15 2004] [error] table doesn't exist...creating now
[Tue Dec 28 19:47:15 2004] [error] tables successfully created - 
retrying query
[Tue Dec 28 19:47:15 2004] [notice] query successful after table 
creation

Corresponds to

Dec 28 19:47:31 comox /kernel: pid 41673 (httpd), uid 80: exited on 
signal 4


Signal 11s come from

[Tue Dec 28 19:54:02 2004] [notice] db reconnect successful
[Tue Dec 28 19:54:02 2004] [error] second attempt failed
[Tue Dec 28 19:54:02 2004] [notice] db reconnect successful
[Tue Dec 28 19:54:02 2004] [error] second attempt failed
[Tue Dec 28 19:54:02 2004] [notice] db reconnect successful
[Tue Dec 28 19:54:02 2004] [error] second attempt failed
[Tue Dec 28 19:54:03 2004] [notice] child pid 42022 exit signal 
Segmentation fault (11)
[Tue Dec 28 19:54:03 2004] [notice] child pid 41970 exit signal 
Segmentation fault (11)
[Tue Dec 28 19:54:03 2004] [notice] child pid 41956 exit signal 
Segmentation fault (11)

When it's set to LogSQLMassVirtualHosting Off, the errors don't occur

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.1

iQA/AwUBQdG9i1UyB+ajXkCLEQKDewCfRwW3AYEda+Vpdjpe5AJbCHIFeXQAn1VI
gYYQ9NJ3kA86gEnGzRjTy2JZ
=CmCd
-----END PGP SIGNATURE-----




More information about the Mod_log_sql mailing list