[Pdns-dev] oracle backend

a b tripivceta at hotmail.com
Mon Apr 30 20:24:05 CEST 2012


> > Apr 29 17:13:29 OracleFactory: OCIEnvCreate
> > Apr 29 17:13:29 Caught an exception instantiating a backend, cleaning up
> >
>
> Have you set the relevant environment variables, like ORACLE_HOME?
 
I have now, and it appears to work, however we will need to INSERT more records to be 100% certain.
 
Going through the documentation again, I found this tiny little blob:
 
"If your connection requires environment variables to be set, e.g. ORACLE_HOME, NLS_LANG, or LD_LIBRARY_PATH, make sure these are set when PowerDNS runs. /etc/default/pdns might help."
 
That is very easy to miss, and it does not state what criteria is to be used to determine whether "my connection requires it". Perhaps the wording could be changed to make it clear that currently, ORACLE_HOME and ORACLE_SID environment variables must be set before launching pdns_server?
 
Also, Solaris has no facility which would source settings in /etc/default/. On Solaris, it is the responsibility of each and every application to source any settings in /etc/default, and generally, that particular directory is off limits to 3rd party and unbundled applications, as it belongs to the OS vendor.
 
I had assumed that pdns.conf settings would have been enough information to make a connection through the TNS listener; however, that does not appear to be the case.
 
Should I open an RFE for ORACLE_HOME and ORACLE_SID to be in pdns.conf, perhaps as "oracle-home=..." and "oracle-sid=..."?
 		 	   		  


More information about the Pdns-dev mailing list