Re: tnsping and sqlplus output OK, but [ORA-12545: Connect failed because target host or object does not exist]

  • From: amit bansal <amit.bansal82@xxxxxxxxx>
  • To: aluoor@xxxxxxxxx
  • Date: Mon, 10 May 2010 20:13:47 +0530

Can you try with sh -x script.sh and see if it reports any error?

-Amit

On Mon, May 10, 2010 at 8:02 PM, Sven Aluoor <aluoor@xxxxxxxxx> wrote:

> On Mon, May 10, 2010 at 3:37 PM, Ojha, Ajeet (GE Healthcare,
> consultant) <Ajeet.Ojha@xxxxxx> wrote:
> > Please check your TNSNAMES.ora  , this might have some problem , if you
> > copy,paste the entries from another file to your tnsnames.ora , then
> > this problem comes  - this is most common cause for this.
>
> Hi Ojha
>
> Thanks for your answer.
> I recreated (without copy+paste) tnsnames.ora but no luck.
>
> cheers
> Sven
> --
> //www.freelists.org/webpage/oracle-l
>
>
>

Other related posts: