Hi, I have built Apache 2.2.3 on my old HP-UX 10.20 box with PostGreSQL support. Configuration was : ./configure --enable-info=shared --enable-cgi=shared --enable-so --enable-unique-id=shared \ --enable-authn-dbd=shared --enable-dbd=shared --with-included-apr --with-pgsql=/usr/local/pgsql/ --with-expat=builtin I have in my configuration file : [...] LoadModule authn_dbd_module modules/mod_authn_dbd.so LoadModule dbd_module modules/mod_dbd.so LoadModule unique_id_module modules/mod_unique_id.so LoadModule dav_module modules/mod_dav.so LoadModule info_module modules/mod_info.so LoadModule cgi_module modules/mod_cgi.so LoadModule dav_fs_module modules/mod_dav_fs.so [...] # Securite par postgresql DBDriver pgsql DBDPersist On DBDParams "dbname=www user=mydbuser" <Directory /projets/perso/Mariage/> AuthDBDUserPWQuery "select mdp from mariage.comptes where nom = %s" </Directory> [...] Apache crashes if I try to launch it : [33]/usr/local/apache2 #bin/apachectl restart bin/apachectl[80]: 28336 Memory fault(coredump) If I comment out AuthDBDUserPWQuery line, it starts and working fine (obviously w/o authentication). I'll try this W.E. on my production server (NetBSD 3.0/Sparc) to check if it's due to my obsolete HP-UX 10.20 or if it's a general problem. Best regards, Laurent
Hello, I did some test on my Sparc/NetBSD-3.0 box this W.E. and I got the same issue : as soon as I add "AuthDBDUserPWQuery" in the configuration, apache crash with a core dump. I changed this bug to "blocker" as it's not due to my obsolete HP-UX box. Bye Laurent
Out of interest, do you have "AuthBasicProvider dbd" in your configuration anywhere? For example, <Directory /projets/perso/Mariage/> AuthType Basic AuthName "mariage" AuthBasicProvider dbd Require valid-user AuthDBDUserPWQuery "select mdp from mariage.comptes where nom = %s" </Directory> If it's still failing with those parameters, it would be great if you could get a stack trace.