Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: SQL*Net problem when using cron.

Re: SQL*Net problem when using cron.

From: John P. Higgins <jh33378_at_deere.com>
Date: Mon, 16 Nov 1998 18:38:39 -0600
Message-ID: <3650C58F.5E807829@deere.com>


Check your interactive environment to see is you have a shell variable called TNS_ADMIN.

This is used to override the normal location of tnsnames.ora, etc.

If you are using this interactivly, you will need to specify it in your cron environment.

Michael Rothwell wrote:

> I have an HP UX 10.20 system running Oracle 7.3.4 and
> SQL*Net 2.3.
> When I run a job interactively, all works fine. When I have
> cron kick off the job, it fails with an: ora 12545 error -
> error msg follows:
>
> 12545, 00000, "TNS:name lookup failure"
> // *Cause: A protocol specific ADDRESS parameter cannot be
> resolved.
> // *Action: Ensure the ADDRESS parameters have been entered
> correctly;
> // the most likely incorrect value is the node name.
>
> I set the ORACLE_HOME, PATH and the ORACLE_SID in the job
> and export them. What am I missing here? Why would it run
> interactively but not when kicked off by cron.
>
> Thanks.
>
> Michael
Received on Mon Nov 16 1998 - 18:38:39 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US