Oracle 11g ORA-12514: TNS: The Listener currently cannot identify the Service requested in the connection Descriptor

Source: Internet
Author: User

Solution Process:

1. Find the listener. ora listening file. Location: D: \ app \ Administrator \ product \ 11.2.0 \ dbhome_1 \ Network \ admin \ listener. ora

2. In the lisener. ora file, find

(Sid_desc =
(Sid_name = clrextproc)
(ORACLE_HOME = D: \ app \ Administrator \ product \ 11.2.0 \ dbhome_1)
(Program = EXTPROC)
(Envs = "extproc_dlls = only: D: \ app \ Administrator \ product \ 11.2.0 \ dbhome_1 \ bin \ lrlr11.dll ")
)


Copy the following content and modify it as appropriate. (The red part is your Sid. global_dbname indicates the global database name, which can be different from Sid)

(Sid_desc =
(Global_dbname = 000011)
(ORACLE_HOME = D: \ app \ Administrator \ product \ 11.2.0 \ dbhome_1)
(Sid_name = Limit 11)
)

3. Save the listener. ora file, close and restart the listener.

LSNRCTL stop // disable

LSNRCTL start // start


4. At this time, a new error occurs when a normal user connects to the dual node.

ORA-27101: Shared Memory realm does not exist5. start to open the Directory: D: \ app \ Administrator \ admin \ Users 11 \ pfile, you will find a file: init. ora.1052011103553, which is the Startup File backed up when oracle was last started successfully.
6. sqlplus/nolog, create spfile from pfile = 'd: \ app \ Administrator \ admin \ prop 11 \ pfile \ init. ora.1052011103553 'startup // start the database. 7. everything is back to normal.
Related Article

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.