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: TNS:listener could not resolve SERVICE_NAME given in connect descriptor

Re: TNS:listener could not resolve SERVICE_NAME given in connect descriptor

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Wed, 19 Apr 2006 22:59:26 +0200
Message-ID: <g39d42pn332qlciigrm8q7j09325ibgman@4ax.com>


On 19 Apr 2006 11:46:40 -0700, "GM" <ganesh_boston_at_yahoo.com> wrote:

>I did a select * from global_name and it returned the GLOBAL_NAME as
>XE.
>I replaced SERVICE_NAME=XE with SID=XE and restarted the database and
>tried connecting using sqlplus but I still get the same error (ERROR:
>ORA-12154: TNS:could not resolve service name).

You have multiple tnsnames.ora floating around. If you run
tnsping XE
which directory is returned?
The tnsnames.ora in this directory needs the XE entry.

--
Sybrand Bakker, Senior Oracle DBA
Received on Wed Apr 19 2006 - 15:59:26 CDT

Original text of this message

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