Oracleora-12514:tns: Listener currently does not recognize the requested service in the connection descriptor

Source: Internet
Author: User

Issue: Oracle installation is successful, can be used after a period of time, login error Oracleora-12514:tns: The listener does not currently recognize the service requested in the connection descriptor

Check the relevant documents, as well as the changes, you can log in normally, record the workaround as follows

Cause: This problem is caused by the lack of a sid_list descriptor for the listener, which is often encountered when configuring with NETCA.

Solution Ideas:

1. Start the database by restarting the service, and again the connection is still unable to connect to the server.

2, consider monitoring Listener.ora

You may not have to specify the service name for the listener in the Listener profile Listener.ora (which is not specified after installing oracle11g). Normally, as long as the database starts, the client connects to the database with no problems, but sometimes a ORA-12514 error occurs when a recurring startup is turned off.

This problem is caused by the lack of a sid_list descriptor for the listener, which is often encountered when configured with NETCA, Listener.ora examples such as
Under

Since no listener is specified in the Listener.ora, we can specify the instance name of the listener in the Listener.ora file (with the following Red section, specifying its own name) so that the problem should be connected.

# Listener.ora Network Configuration File:f:\app\shou\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.

Sid_list_listener =
(Sid_list =
(Sid_desc =
(Sid_name = Clrextproc)
(Oracle_home = F:\app\shou\product\11.2.0\dbhome_1)
(program = Extproc)
(Envs = "Extproc_dlls=only:f:\app\shou\product\11.2.0\dbhome_1\bin\oraclr11.dll")
)
(Sid_desc =
(Global_dbname = orcl.20.32.106)
(Oracle_home = F:\app\shou\product\11.2.0\dbhome_1)
(Sid_name = ORCL)
)

)

LISTENER =
(Description_list =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP) (HOST = localhost) (PORT = 1521))
)
)

Adr_base_listener = F:\app\shou

Oracleora-12514:tns: Listener currently does not recognize the requested service in the connection descriptor

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.