The ORA-12154 TNS cannot parse the specified connection identifier

Source: Internet
Author: User

ORA-12154 TNS cannot parse the specified connection identifier. This error is reported today when the database suddenly connects, plsql connection fails, application connection fails, but SQL can be connected. I searched for it online for half a day and changed it to half a day. In fact, my listener. ora file has never been moved. People on the Internet say they can restart the service after the change.

The directory structure is as follows:

# Listener. ora Network Configuration File: D: \ Oracle \ product \ 10.1.0 \ db_1 \ network \ admin \ listener. ora
# Generated by Oracle configuration tools.
# I added the following (SID_DESC =
# (GLOBAL_DBNAME = ORCL)
# (ORACLE_HOME = d: \ oracle \ product \ 10.1.0 \ db_1)
# (SID_NAME = ORCL)
#)


SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = D: \ oracle \ product \ 10.1.0 \ db_1)
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBNAME = ORCL)
(ORACLE_HOME = d: \ oracle \ product \ 10.1.0 \ db_1)
(SID_NAME = ORCL)
)
)

LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC ))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = 127.0.0.1) (PORT = 1521 ))
)
)
)

In fact, there is no need to change anything. You only need to restart the Oracle listener service to solve the problem.

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.