Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 32387 invoked from network); 27 Dec 2008 01:07:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Dec 2008 01:07:23 -0000 Received: (qmail 70919 invoked by uid 500); 27 Dec 2008 01:07:12 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 70899 invoked by uid 500); 27 Dec 2008 01:07:12 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 70890 invoked by uid 99); 27 Dec 2008 01:07:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Dec 2008 17:07:12 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ernstsr@gmail.com designates 209.85.198.240 as permitted sender) Received: from [209.85.198.240] (HELO rv-out-0708.google.com) (209.85.198.240) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Dec 2008 01:07:06 +0000 Received: by rv-out-0708.google.com with SMTP id c5so4032623rvf.24 for ; Fri, 26 Dec 2008 17:06:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=iuVR1rdcjlAPDAIvDuceA6q8VNKJNqOD71aciM6qLU4=; b=NRg+vyNITBR6sGXndTKf9M4djOPaZFd60o2BVOWXScOCjnPr/KKWOboybRswvxJbNp ZyQ4xibC6T30WAGBf1vbBV9UyQ79qe+MDDTDY3Lwl0Bf4TtWEOdUKuPC8j4pxJoQu9xM 9PgcpA0k3BZCDKL1kdNc+1k1va72o804pEBxU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=cV0NU+QQwOOR1fl318eufHlXfUdc87gu59e8xt5XxXyotUGpaDJeMSC3GEIBXbF2cT 6OPhlmplLMznrTb9jHVjo6r4zdibm+e29UrFqBNaSjHlmuGAxaF/p+G6aR4ICp+JfJAF OOWoVH9jfvqVNymUe+UcnW7cfS1d1KeicFYjs= Received: by 10.114.37.1 with SMTP id k1mr7289243wak.28.1230340005769; Fri, 26 Dec 2008 17:06:45 -0800 (PST) Received: by 10.115.46.15 with HTTP; Fri, 26 Dec 2008 17:06:45 -0800 (PST) Message-ID: Date: Fri, 26 Dec 2008 17:06:45 -0800 From: "ernst schoen-rene" To: users@httpd.apache.org In-Reply-To: <49557C93.4000708@webthing.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_104633_11480239.1230340005760" References: <495569F7.20300@webthing.com> <49557C93.4000708@webthing.com> X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] dbd syntax ------=_Part_104633_11480239.1230340005760 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I don't want a dbname param, because different servers ask different databases for passwords. However, it doesn't make a difference if I do add a dbname param. Also, I really only have limited skill in C and compiling and running the entire apache server under a debugger seems daunting. It seems that the error_log and mysql log should give me enough information to correct whatever configuration error I have and then I could go from there, but it doesn't. I also am running sites on this machine. I had to move machines and just assumed that mod_auth_mysql would work with the current version of apache. I wish the system returned more information. I'm working on setting it up to use apr_dbd_open_ex instead of apr_dbd_open to see if I can get any error information there, but this is way more than I'm really capable of. On Fri, Dec 26, 2008 at 4:53 PM, Nick Kew wrote: > ernst schoen-rene wrote: > >> Ah, thanks. That's good to know. I still cannot get this damn thing to >> connect to the database, and I've been sticking bits of debug code in >> mod_dbd and apr-util to no avail. >> I use this: >> DPDParams "host=localhost user=someuser pass=somepass" >> > > Don't you want to add a dbname parameter there? > > Apart from that, you might need to try running with -X > under a debugger (gdb/dbx/whatever) or under dtrace/strace. > Consult your local hack if necessary. > > > -- > Nick Kew > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > " from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > > ------=_Part_104633_11480239.1230340005760 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I don't want a dbname param, because different servers ask different databases for passwords.  However, it doesn't make a difference if I do add a dbname param.
  Also, I really only have limited skill in C and compiling and running the entire apache server under a debugger seems daunting. It seems that the error_log and mysql log should give me enough information to correct whatever configuration error I have and then I could go from there, but it doesn't. I also am running sites on this machine.  I had to move machines and just assumed that mod_auth_mysql would work with the current version of apache.
   I wish the system returned more information.  I'm working on setting it up to use apr_dbd_open_ex instead of apr_dbd_open to see if I can get any error information there, but this is way more than I'm really capable of. 

On Fri, Dec 26, 2008 at 4:53 PM, Nick Kew <nick@webthing.com> wrote:
ernst schoen-rene wrote:
Ah, thanks.  That's good to know.  I still cannot get this damn thing to
connect to the database, and I've been sticking bits of debug code in
mod_dbd and apr-util to no avail.
I use this:
DPDParams "host=localhost user=someuser pass=somepass"

Don't you want to add a dbname parameter there?

Apart from that, you might need to try running with -X
under a debugger (gdb/dbx/whatever) or under dtrace/strace.
Consult your local hack if necessary.


--
Nick Kew

---------------------------------------------------------------------
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@httpd.apache.org
 "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


------=_Part_104633_11480239.1230340005760--