Oracle 11g Ora-12514:tns: The listener does not currently recognize the requested service in the connection descriptor

Source: Internet
Author: User

1. Locate the Listener.ora listening file, in the exact location: D:\app\Administrator\product\11.2.0\dbhome_1\NETWORK\ADMIN\listener.ora

2. Found in the Lisener.ora file

(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\oraclr11.dll")
)

Copy the following section and modify it appropriately. (The Scarlet Letter part is your SID, where Global_dbname is the global database name and can differ from SID)

(Sid_desc =
(Global_dbname = ORAC11)
(Oracle_home = D:\app\Administrator\product\11.2.0\dbhome_1)
(Sid_name = ORAC11)
)

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

Lsnrctl Stop//Off

Lsnrctl Start//Startup

4. At this time, with the normal user to connect the double appears new error.

Ora-27101:shared Memory Realm does not exist5. Start Open Directory: D:\app\Administrator\admin\orac11\pfile, you will find a file in it: init.ora.1052011103553, which is the startup file backed up by Oracle's last successful boot.  6. Sqlplus/nolog, create SPFile from pfile= ' D:\app\Administrator\admin\orac11\pfile\init.ora.1052011103553 ' startup Start the database. 7. Everything is back to normal.

Oracle 11g Ora-12514:tns: The listener does not currently recognize the requested service in the connection descriptor

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.