Re: dbi_link help

From: SHARMILA JOTHIRAJAH <sharmi_jo(at)yahoo(dot)com>
To: Richard Huxton <dev(at)archonet(dot)com>
Cc: General postgres mailing list <pgsql-general(at)postgresql(dot)org>
Subject: Re: dbi_link help
Date: 2009-02-10 12:07:34
Message-ID: 896345.62242.qm@web110704.mail.gq1.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thanks Richard

--- On Tue, 2/10/09, Richard Huxton <dev(at)archonet(dot)com> wrote:
From: Richard Huxton <dev(at)archonet(dot)com>
Subject: Re: [GENERAL] dbi_link help
To: sharmi_jo(at)yahoo(dot)com
Cc: "General postgres mailing list" <pgsql-general(at)postgresql(dot)org>
Date: Tuesday, February 10, 2009, 2:51 AM

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.

--
Yes ORACLE_HOME is set at .profile..But I still get the errors
-Sharmila

In response to

Browse pgsql-general by date

  From Date Subject
Next Message SHARMILA JOTHIRAJAH 2009-02-10 12:10:43 Re: ora2pg or dbi_link ?
Previous Message Philippe Lang 2009-02-10 10:52:13 tablelog