Advertisement

09.19.2008 at 01:59PM PDT, ID: 23747340
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.0

ORA-12514: TNS:listener does not currently know of service requested in connect descriptor

Asked by romeror2k in Oracle 10.x

I'm having trouble connecting to my new Oracle 10g (on Red Hat Linux) server. When I try to connect from the command line locally I can.

$ sqlplus /nolog

SQL*Plus: Release 10.2.0.1.0 - Production on Fri Sep 19 16:51:20 2008

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

SQL> connect temple/N3urosci3nc3
Connected.

But if I try the same thing with the fully-qualified domain name and port, it fails:

SQL> connect temple@developmentserver.domain.com:1521
Enter password:
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor


Here is a copy of my listener.ora

# listener.ora Network Configuration File: /opt/oracle/102/network/admin/listener.ora
# Generated by Oracle configuration tools.

LISTENER0 =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = developmentserver.domain.com)(PORT = 1521))
  )

SID_LIST_LISTENER0 =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = PLSExtProc)
      (ORACLE_HOME = /opt/oracle/102)
      (PROGRAM = extproc)
    )
    (SID_DESC =
      (GLOBAL_DBNAME = temple.developmentserver.domain.com)
      (ORACLE_HOME = /opt/oracle/102)
      (SID_NAME = TEMPLE)
    )
  )

TRACE_LEVEL_LISTENER0 = USER

PASSWORDS_LISTENER0= (B44576B593A635F3)


Here is a copy of my tnsnames.ora

# tnsnames.ora Network Configuration File: /opt/oracle/102/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.

TEMPLE =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = developmentserver.domain.com)(PORT = 1521))
      (LOAD_BALANCE = yes)
    )
    (CONNECT_DATA =
      (SERVICE_NAME = temple)
      (SERVER = DEDICATED)
    )
  )

EXTPROC_CONNECTION_DATA =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    )
    (CONNECT_DATA =
      (SID = PLSExtProc)
      (PRESENTATION = RO)
    )
  )


Here is the LSNRCTL STATUS

LSNRCTL> status
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date                19-SEP-2008 16:43:22
Uptime                    0 days 0 hr. 13 min. 47 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /opt/oracle/102/network/admin/listener.ora
Listener Log File         /opt/oracle/102/network/log/listener.log
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=developmentserver.domain.com)(PORT=1521)))
Services Summary...
Service "temple.developmentserver.domain.com" has 1 instance(s).
  Instance "temple", status READY, has 1 handler(s) for this service...
Service "templeXDB.developmentserver.domain.com" has 1 instance(s).
  Instance "temple", status READY, has 1 handler(s) for this service...
Service "temple_XPT.developmentserver.domain.com" has 1 instance(s).
  Instance "temple", status READY, has 1 handler(s) for this service...
The command completed successfully
LSNRCTL>
Start Free Trial
[+][-]09.19.2008 at 02:31PM PDT, ID: 22525761

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.19.2008 at 04:41PM PDT, ID: 22526826

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.19.2008 at 10:14PM PDT, ID: 22528368

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.21.2008 at 06:33PM PDT, ID: 22536798

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.22.2008 at 12:12AM PDT, ID: 22537887

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.22.2008 at 06:49AM PDT, ID: 22539913

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.22.2008 at 07:16AM PDT, ID: 22540174

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Oracle 10.x
Sign Up Now!
Solution Provided By: teknoGeek
Participating Experts: 4
Solution Grade: A
 
 
[+][-]09.22.2008 at 07:37AM PDT, ID: 22540387

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.22.2008 at 09:42PM PDT, ID: 22546476

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628