Re: Why do I encounter this error ? ORA-12705 : Cannot access NLS data files or invalid environment specified
- From: scoles@xxxxxxxxxxx (John Scoles)
- Date: Thu, 31 Jul 2008 12:45:37 -0400
pmonschein@xxxxxxxxxxxxxxxx wrote:
Hello JohnI am glad It was sort of a wisdom guess on my part. I have never used 32/64 bit boxes but I have seen lots of posts on this vain
I think you shot very well and very fast :-)
I compiled DBD::Oracle with the 32 client of Oracle 9i that is installed in 64bit too.
So because NLS data in Oracle 9i are stored by default in /app/oracle/product/9.2.0/enterprise64bit/ocommon/nls/admin/data
I set the ORA_NLS33 to this path (I set ORA_NLS33 because I am using within Perl the Oracle 9i client library).
And then it works !
So I am happy : it works but I am confused now. Did I do something wrong ?No nothing these configuration snafus happen all the time especially when working on 32/64 bit boxes
My environment is a mix of Oracle 9i and Oracle 10g installed in 64bit on different UnixThe instant client might be what you it has a very small footprint.
I decided to build DBD::Oracle with Oracle 9i, perhaps would it be better to compile with Oracle 10g.
And for Perl scripts, perhaps is it better to set variables inside the script itself instead of using variable of environment ?
I test that too it works.
Do you have recommendations in regards with your experience ?
As for setting the variables in the script I think that will make you code work for a entire environment and removes possiable users problems who might have different setting that override or confuse DBD::Oracle or Oracle. Of course it all depends on what you are going to use the script for and who is using it. So short answer Yes with a But, Long Answer No with a Maybe.
Cheers
.
- Prev by Date: Re: Why do I encounter this error ? ORA-12705 : Cannot access NLS data files or invalid environment specified
- Next by Date: Solaris 10 - problem with connect to Oracle 10.2.0.2 with ORA_SYSDBA
- Previous by thread: Re: Why do I encounter this error ? ORA-12705 : Cannot access NLS data files or invalid environment specified
- Next by thread: Solaris 10 - problem with connect to Oracle 10.2.0.2 with ORA_SYSDBA
- Index(es):
Relevant Pages
|