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: tnsnames, TNS-03505

Re: tnsnames, TNS-03505

From: Helmut Schneider <jumper99_at_gmx.de>
Date: Tue, 21 Aug 2007 11:08:54 +0200
Message-ID: <5ivod6F3rc5bqU1@mid.individual.net>


jumpe..._at_gmx.de <jumpe..._at_gmx.de> wrote:
> On Aug 20, 11:09 am, "Helmut Schneider" <jumpe..._at_gmx.de> wrote:
>> Hi,
>> what does a tnsnames.ora have to look like on a client? I copied a
>> working tnsnames.ora from a server (Windows 2003, 10g) to my client
>> (Windows XP, also 10g) but still can't tnsping the SID, TNS-03505.
>> PROD_SID =
>> (DESCRIPTION =
>> (ADDRESS = (PROTOCOL = TCP)(HOST = myhost.domain.tld)(PORT = 1521))
>> (CONNECT_DATA =
>> (SERVER = DEDICATED)
>> (SERVICE_NAME = prod_sid.oracle_domain.domain.tld)
>> )
>> )
>
> A tnsnames.ora file, properly configured, should be transferrable to
> any client or server in the network. That being said a valid
> sqlnet.ora may also be required; I expect you didn't copy that over
> from your Windows 2003 server.

OK, did so, can tnsping the host now, but with sqlplus I get an ORA-12560:

C:\>sqlplus "/ as sysdba"
SQL*Plus: Release 10.2.0.1.0 - Production on Tue Aug 21 11:00:08 2007 Copyright (c) 1982, 2005, Oracle. All rights reserved. ERROR:
ORA-12560: TNS:protocol adapter error
Enter user-name:^C
C:\>

ORACLE_SID is set and of course I can telnet the machine on TCP 1521. :)

Helmut

-- 
No Swen today, my love has gone away
My mailbox stands for lorn, a symbol of the dawn 
Received on Tue Aug 21 2007 - 04:08:54 CDT

Original text of this message

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