RE: ORA-12505: TNS:listener

From: Mercadante, Thomas F (LABOR) <>
Date: Tue, 10 Jun 2008 15:40:47 -0400
Message-ID: <ABB9D76E187C5146AB5683F5A07336FF01D7CD13@EXCNYSM0A1AJ.nysemail.nyenet>


Remember, tnsping only checks to see if it can reach the listener on the machine. So your tnsping says that a listener is running. Tnsping does *not* look and see if there ius any such database that you CDER entry is pointing to.

Try this - make another entry in your ldap directory for a database does not exist on the same server and tnsping that entry. You will get the same result.

Your sqlplus connection actually tried to make a database connection. But the listener responded saying that there is no database with the connect information you provided.

So the listener knows nothing about your database. That is where you need to look to fix this problem.


-----Original Message-----

[] On Behalf Of Shanmugam, Dhandapani
Sent: Tuesday, June 10, 2008 3:03 PM
Subject: ORA-12505: TNS:listener


Could some one help on the below error

F:\>tnsping CDER

TNS Ping Utility for 32-bit Windows: Version - Production on 10-JUN-20
08 14:00:10

Copyright (c) 1997, 2006, Oracle Corporation. All rights reserved.

Used parameter files:

Used LDAP adapter to resolve the alias
Attempting to contact
OK (60 msec)

F:\>sqlplus test_at_CDER

SQL*Plus: Release - Production on Tue Jun 10 14:00:25 2008

Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

Enter password:
ORA-12505: TNS:listener could not resolve SID given in connect descriptor


-- Received on Tue Jun 10 2008 - 14:40:47 CDT

Original text of this message