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.ora - Strange Connectivity problem

Re: Tnsnames.ora - Strange Connectivity problem

From: EdStevens <quetico_man_at_yahoo.com>
Date: 3 May 2006 10:07:01 -0700
Message-ID: <1146676020.983807.208410@y43g2000cwc.googlegroups.com>


Looks like you might have multiple copies of tnsnames.ora, and you're not using the one you think you are...

You're trying to connect FROM you linux box TO a db on some other box, right? Check for multiple copies of tnsnames.ora on the box you are connecting FROM. Also check for a value for a variable called TNS_ADMIN in the environment from which you are running sqlplus.

Also, instead of actually trying to connect, let's simplify and just 'tnsping oranc1'. This will test your tnsnames file and routing, but not try to actually connect. In fact, you can successfully tnsping for a non-existent database, as long as you have the correct entries in your tnsnames.ora (client side) and listener.ora (server side). Received on Wed May 03 2006 - 12:07:01 CDT

Original text of this message

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