|Do you know where your variables are?|
Perl DBI not working with Oracle DBD in 11g r2 environmentby seekhelp (Initiate)
|on Nov 22, 2011 at 19:29 UTC||Need Help??|
seekhelp has asked for the
wisdom of the Perl Monks concerning the following question:
oracle database: 11g r2
Perl DBI version 1.21
ORACLE DBD version 1.06
ERROR :DBI->connect() failed: (UNKNOWN OCI STATUS 1804) OCIInitialize. Check ORACLE_HOME and NLS settings etc. at /u00/app/xxx/site/perl-5.6.1/lib/site_perl/5.6.1/refdb.pm
----------------- use common_lib_t11 -----------------
General detail :
This process is working fine with 9i but the moment we try to run it against 11g r2 is give error. This box has two homes with 9i and other 11g. I am thinking that could be an issue.
Below already tried :
Try to sent the Time zone varirable. ORA_TZFILE
Check the compatibility of versions.
Try to set oracle_home and LD_Library, oracle_sid in the scripts also.