Compile, but now I have connect problems.

From: Kevin Hunt <khhis_at_triplecrownsvc.com>
Date: Wed, 10 Jan 2001 12:05:25 GMT
Message-ID: <9eY66.88$eT6.18962_at_paloalto-snr1.gtei.net>


Follow up. I now can get things to compile, I had to play with environment variables to get things to work.

But now I have the following problem: (Using the sample pro*c program)

#./sample1

ORACLE error--
ORA-12545: Connect failed because target host or object does not exist

[Quoted] The documentation says I need a vailid entry in tnsnames.ora. But, I checked this and the entries are there. If I run this on my server it works, but not from a client box.

What needs to be setup on a client box to allow pro*c to connect?

I did notice this error in sqlnet.log:



Fatal NI connect error 12545, connecting to:

(DESCRIPTION=(ADDRESS=(PROTOCOL=beq)(PROGRAM=/usr/tcs/oracle/OraHome1/bin/or acle)(ARGV0=oracleglobal1)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL= beq)))')(DETACH=NO))(CONNECT_DATA=(CID=(PROGRAM=)(HOST=sd6)(USER=root))))

  VERSION INFORMATION:

        TNS for IBM/AIX RISC System/6000: Version 8.1.7.0.0 - Development
        Oracle Bequeath NT Protocol Adapter for IBM/AIX RISC System/6000:
Version 8.1.7.0.0 - Development
  Time: 09-JAN-2001 16:01:51
  Tracing not turned on.
  Tns error struct:
    nr err code: 0
    ns main err code: 12545
    TNS-12545: Connect failed because target host or object does not exist     ns secondary err code: 12560
    nt main err code: 515
    TNS-00515: Connect failed because target host or object does not exist     nt secondary err code: 2
    nt OS err code: 0

"Kevin Hunt" <khhis_at_triplecrownsvc.com> wrote in message news:aFp66.2077$WH2.181333_at_paloalto-snr1.gtei.net...
> I am just starting to play with pro*c and get the following error. Has
> anyone seen this before?
>
> proc -I/software/apps/xxx/rel/include -c edinsim_dbiq.pc
>
> PCC-F-NOERRFILE, unable to open error message file, facility PR2
>
>
>
Received on Wed Jan 10 2001 - 13:05:25 CET

Original text of this message