[users@httpd] httpd 2.2.3 segfaults using mod_authn_dbd/sqlite

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

when I try to use mod_authn_dbd with sqlite3 driver (the mysql driver doesn't compile at all with any of the contradictory instructions on the web, btw), I encounter the following segfault message:

/usr/local/apache2/bin/apachectl: line 78: 24956 Segmentation fault $HTTPD -k $ARGV

The operating system is SUSE Linux 10.1. I compiled the server myself; here's the setup:

Server version: Apache/2.2.3
Server built:   Nov  1 2006 21:24:12
Server's Module Magic Number: 20051115:3
Server loaded:  APR 1.2.7, APR-Util 1.2.7
Compiled using: APR 1.2.7, APR-Util 1.2.7
Architecture:   32-bit
Server MPM:     Prefork
 threaded:     no
   forked:     yes (variable process count)
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/usr/local/apache2"
-D SUEXEC_BIN="/usr/local/apache2/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"


This is the dbd/authn_dbd part of httpd.conf:

DBDriver sqlite3
DBDParams "/usr/local/apache2/conf/_htusers"

DBDMin 1
DBDKeep 2
DBDMax 5
DBDExpTime 30

<Location /secret>
 AuthType Basic
 AuthName Test
 AuthBasicProvider dbd
 Require valid-user
 AuthDBDUserPWQuery "select pass from htusers where user=%s"
</Location>


Did anyone encounter anything similar? Did I make a mistake, or is it a bug?


Thanks in advance
Sascha

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux