Re: dbi_link help

From: Richard Huxton <dev(at)archonet(dot)com>
To: sharmi_jo(at)yahoo(dot)com
Cc: General postgres mailing list <pgsql-general(at)postgresql(dot)org>
Subject: Re: dbi_link help
Date: 2009-02-10 07:51:10
Message-ID: 499131EE.1060805@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alban Hertroys 2009-02-10 07:58:00 Re: Slow update
Previous Message Peter Eisentraut 2009-02-10 06:46:54 Re: ora2pg or dbi_link ?