RE: Connect failure: OCIEnvNlsCreate (check ORACLE_HOME and NLS settings etc.)
- From: victor@xxxxxxxxxxxxx (Victor Churchill)
- Date: Thu, 25 Aug 2005 18:06:31 +0100
Hi Ron,
Thanks for the reply. I've done another search of the group but not
found anything specifically permissions-related. I assume you mean the
permissions of the owner of the httpd processes (on this box, 'nobody')
...?
I did pick up a suggestion that the %ENV settings might need to be done
at startup of the web server rather than at the time the script runs,
and have tried sourcing a file to set up the apache environment, but the
shell envt does not seem to find its way into the Perl ENV hash - at
least, not that I can see.
I've also tracked down, by manually setting/unsetting envt variables,
that the test-script from the command line depends specifically on
having LD_LIBRARY_PATH in the environment of the shell process : i.e.,
the owning shell needs to have this set _even though_ the perl script
explicitly sets
$ENV{'LD_LIBRARY_PATH'} = '/usr/local/OraClient/instantclient_10_2/lib';
- i.e., the same test scipt runs at the cmd line if the user has that
set but not if he does not.
So it looks like the question now becomes "How to set an environment
variable for the owner of the httpd process?" Does that make sense?
thanks,
victor
On Thu, 2005-08-25 at 15:57, Reidy, Ron wrote:
> Victor,
>
> I believe this is a permissions issue. There was a posting to this group a few months ago that was very similar in nature. Look around the archives for it.
>
> -----------------
> Ron Reidy
> Lead DBA
> Array BioPharma, Inc.
>
>
--
Victor Churchill <victor@xxxxxxxxxxxxx>
Qonnectis Group plc
.
- References:
- Prev by Date: Re: MySQL 4.1+ Password Incompatibility
- Next by Date: RE: Connect failure: OCIEnvNlsCreate (check ORACLE_HOME and NLSsettings etc.)
- Previous by thread: RE: Connect failure: OCIEnvNlsCreate (check ORACLE_HOME and NLS settings etc.)
- Next by thread: RE: Connect failure: OCIEnvNlsCreate (check ORACLE_HOME and NLSsettings etc.)
- Index(es):
Relevant Pages
|
|