Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 
 

TNS-12514 on Windows

Expert Oracle Tips by Burleson Consulting

March 30, 2011

 

Question:  My database was running fine and all of a sudden I am getting the TNS-12514 error:

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

I am running on Windows. 

I now get the TNS-12514 constantly, and I did not change my listener.ora or tnsnames.ora files.  

Is this TNS-12514 error a Windows problem?

Answer:  Your ROOT CAUSE is that you are running on Windows!  

BEWARE: Windows IS NOT robust enough for any mission critical system, especially with the Windows virus issues and weekly patches.

My Windows systems crash at a rate at LEAST 4 times more often than Linux/UNIX.

To diagnose the TNS-12514 error, see these diagnostics for the TNS-12514 error.  

Diagnosing the TNS-12514 in Windows

 In Windows when, for unknown reasons, Oracle is refusing connections, I have seen Windows TNS-12514 problems with any of these issues:

  •  A Windows screen saver causes CPU hogging that makes connections get refused

  • Somebody installed a Windows virus scanner

  • A weekly Windows patch application has caused a problem

  • Never apply a Windows patch unless it is to address a known Oracle problem

  • You have a Windows virus.  For example, the Nimbda virus can cause a TNS-12514.

FIRST THING, I would bounce ALL of your Windows services (or just bounce the whole PC Windows server):

Then, verify that all of your Windows services are running properly.

If you continue to get the TNS-12514 error, follow these Oracle TNS networking diagnostic steps

The oerr utility shows this for the ORA-12514 and TNS-12514 error:

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

Cause: The listener received a request to establish a connection to a database or other service. The connect descriptor received by the listener specified a service name for a service (usually a database service) that either has not yet dynamically registered with the listener or has not been statically configured for the listener. This may be a temporary condition such as after the listener has started, but before the database instance has registered with the listener.

Action:

  •  Wait a moment and try to connect a second time.

  •  Check which services are currently known by the listener by executing: lsnrctl services

  •  Check that the SERVICE_NAME parameter in the connect descriptor of the net service name used specifies a service known by the listener.

  •  If an easy connect naming connect identifier was used, check that the service name specified is a service known by the listener.

  •  Check for an event in the listener.log file.

Burleson Forum user and Oracle expert, Dave, notes:

It appears in a TNS-12514 error that your database isn't registering itself with the listener.

Issue an alter system register xxx and lsnrctl status from SQL*Plus and see if the listener knows about your database  

Then issue a show parameter local_listener to show what the database thinks about the listener status.

Failing that, place a static entry in the listener.ora for the database service name and the TNS-12514 may be fixed.  

 
Get the Complete
Oracle SQL Tuning Information 

The landmark book "Advanced Oracle SQL Tuning  The Definitive Reference"  is filled with valuable information on Oracle SQL Tuning. This book includes scripts and tools to hypercharge Oracle 11g performance and you can buy it for 30% off directly from the publisher.

 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright ? 1996 -  2014

All rights reserved by Burleson

Oracle ? is the registered trademark of Oracle Corporation.


 

��
 
 
 
 

 
 
 

 
Oracle performance tuning software 
 
oracle dba poster
Oracle Linux poster