had you installed mysql driver before you compiled httpd?----- Original Message ----- From: "Daniel Campbell" <campbell@xxxxxxx>
To: <users@xxxxxxxxxxxxxxxx> Sent: Monday, November 19, 2007 11:29 AM Subject: Re: dbd mysql segmentation fault in 2.2.6
My configure opitions are: CONFIGUREOPTS="--prefix=/usr --localstatedir=/var --enable-rewrite --enable-http --enable-cgi --enable-so \ --enable-ssl --enable-headers --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/var/www \ --sysconfdir=/etc/apache --enable-dbd --with-ldap --enable-ldap --enable-authnz-ldap --enable-authn-dbd \ --with-mysql=/usr/lib/mysql --with-included-apr" It is a Slackware 12.0 linux box. Danie Qian wrote:----- Original Message ----- From: "Daniel Campbell" <campbell@xxxxxxx> To: <users@xxxxxxxxxxxxxxxx> Sent: Monday, November 19, 2007 10:52 AM Subject: dbd mysql segmentation fault in 2.2.6After quite a bit of trouble I finally got the dbd mysql compiled but now as soon as I put the "DBDriver mysql" directive into the httpd.conf file I get endless Segmentation Fault messages in the error log. I set the LogLevel to debug but that doesn't help any. Any suggestions? Below is my DBDriver call: DBDriver mysql #Connection string: database name and login credentials DBDParams "host=mysql.my.domain.com dbname=stats user=stats password=stats" #Parameters for Connection Pool Management DBDMin 1 DBDKeep 2 DBDMax 10 DBDExptime 60 #Authentication Section <Directory /home/websites/my.domain.com/htdocs/stats> #mod_auth configuration for authn_dbd Options All AllowOverride none AuthType Basic AuthName "Statistics" AuthBasicProvider dbd #authz configuration Require valid-user #SQL query to verify a user #(note: DBD drivers recognise both stdio-like %s and native syntax) AuthDBDUserPWQuery "select linux_password from employees where username = %s AND on2admin = 'Y'" </Directory>How did you configure and compile httpd? --------------------------------------------------------------------- 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--------------------------------------------------------------------- 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
--------------------------------------------------------------------- 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