You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jeff Trawick <tr...@gmail.com> on 2010/05/14 18:28:25 UTC
Re: [users@httpd] Mod_dbd using Oracle Instant Client not sending
correct Connection String on Solaris ignoring most http.conf values
On Fri, May 14, 2010 at 11:44 AM, Kevin Castellow
<ke...@gmail.com> wrote:
> I am using Apache with mod-dbd and the Oracle Instant client. I am not
> seeing the correct connection string values sent to Oracle from Apache
> despite the values in my TNS file and httpd.conf.
>
> My HTTPD.CONF snippet looks like this:
>
> # mod_dbd configuration
> DBDriver oracle
> DBDParams "user=dcbdev2 pass=dcbdev2 dbname=test.company.net
> server=asglssora02-vip"
...
> The problems are there is not a SERVICE_NAME value, the user name is the
> name of the process starting Apache and not the database user.
> The only value that is correct is the host ip address but I'm not sure how
> it got that value but not the other values.
>
> How do I populate the value of the service name and user properly?
If you want to experiment, try adding "#define CAN_DO_LOGIN" to the
top of apr_dbd_oracle.c in APR-Util and rebuilding.
The user and pass are specified on an earlier DB call when that is
defined. Also, the dbname will never be provided unless CAN_DO_LOGIN
is defined.
---------------------------------------------------------------------
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