Re: dbi_link help - Mailing list pgsql-general

From Richard Huxton
Subject Re: dbi_link help
Date
Msg-id 499131EE.1060805@archonet.com
Whole thread Raw
In response to dbi_link help  (SHARMILA JOTHIRAJAH <sharmi_jo@yahoo.com>)
Responses Re: dbi_link help
List pgsql-general
SHARMILA JOTHIRAJAH wrote:
> When I try to insert into or select from the oracle database I get
> this error...
>
> ERROR:  error from Perl function "remote_select": error from Perl
> function "cache_connection": DBI
> connect('database=postgres;host=...;sid=...;port=1521','postgres',...)
> failed: ERROR OCIEnvNlsCreate. Check ORACLE_HOME (Linux) env var  or
> PATH (Windows) and or NLS settings, permissions, etc. at line 137 at
> line 13.
>
> Im not sure what this error is. I had set my ORACLE_HOME, NLS
> settings etc. Is there anything else that needs to be done ?

Is ORACLE_HOME set for the backend process? That's what's trying to
connect. Try setting it globally in /etc/profile if you're having problems.

--
  Richard Huxton
  Archonet Ltd

pgsql-general by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: ora2pg or dbi_link ?
Next
From: Alban Hertroys
Date:
Subject: Re: Slow update