Re: help with mod_authn_dbd and oracle

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

 



> Paul Simon wrote:

> > Hi, I have Apache 2.2.6 running on windows. Is it possible to get 
> mod_authn_dbd working with oracle right out of the box? I've added the following 
> configuration (along with the appropriate auth modules):
> > 
> > LoadModule authn_dbd_module modules/mod_authn_dbd.so
> > LoadModule dbd_module modules/mod_dbd.so
> > 
> > DBDriver oracle
> > 
> > When I start apache I'm presented with the following error:
> > 
> > C:\Apache2.2.6\bin>httpd.exe -k start -n Apache2.2.6
> > Syntax error on line 69 of C:/Apache2.2.6/conf/access.conf:
> > DBD: No driver for oracle
> > 
> > I'm suspecting that I need the oracle driver. Is it something like 
> apr_dbd_oracle.so? Where, how do I build the oracle driver?
> 
> What apr-util version do you have?  1.3.x includes the Oracle
> driver; 1.2.x doesn't.
> 
> To answer your question directly, if your apr-util is built
> to load drivers dynamically, then yes, it should be
> apr_dbd_oracle.so (or .dll).  But I don't know what the
> situation is on windows.  Have you tried building it
> yourself (either the driver, or the whole of apr-util)?
> 
> You might also be able to use the ODBC driver as an alternative.
> 
> -- Nick Kew

That's very helpful information. I have Apache 2.2.9/APR 1.3 available on another box. I tried the config and now
I'm getting a different error message:

[Tue Nov 18 14:42:18 2008] [error] (20014)Internal error: DBD: Can't connect to oracle
[Tue Nov 18 14:42:18 2008] [error] (20014)Internal error: DBD: failed to initialise

What does that tell me, besides the obvious?

Yes, odbc is an option. I investigated ODBC by setting "DBDriver odbc", but on startup the error log is reporting:

(OS 126)The specified module could not be found.  : DBD: mod_dbd not compatible with APR in get_driver
(OS 126)The specified module could not be found.  : DBD: failed to initialise

Any further guidance?

---------------------------------------------------------------------
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