Oracle Ora-12514:tns:listener does not currently know of service requested in Conn solution

Source: Internet
Author: User

# Listener.ora Network Configuration file:d:\oracle\product\10.1.0\db_1\network\admin\listener.ora# Generated by Oracle configuration Tools. Sid_list_listener =  (sid_list = (    Sid_desc =      (sid_name = Plsextproc)      (oracle_home = D:\oracle\product\ 10.1.0\db_1)      (program = Extproc)))  LISTENER =  (description_list = (    DESCRIPTION =      ( Address_list =        (ADDRESS = (PROTOCOL = TCP) (HOST = cust-e44050fe71) (PORT = 1521))      )      (address_list =        ( ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC))))  

If you listener.ora configuration file is such that the instructions are missing some configuration information should indicate that listening to that database should be added

(Sid_desc =      (Global_dbname = GKBM2015)//For database service name      (oracle_home = D:\oracle\product\10.1.0\Db_1)      (sid_name = GKBM2015)// For database service name     )    (Sid_desc =      (Global_dbname = ZYXX2015)//For database service name      (Oracle_home = D:\oracle\product\10.1.0\ db_1)      (sid_name = ZYXX2015)//For database service name    )

And then the files are like this

# Listener.ora Network Configuration file:d:\oracle\product\10.1.0\db_1\network\admin\listener.ora# Generated by Oracle configuration Tools. 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 = GKBM2015)      (oracle_home = d:\ oracle\product\10.1.0\db_1) (      sid_name = GKBM2015)     )    (Sid_desc =      (global_dbname = ZYXX2015)      (Oracle_home = D:\oracle\product\10.1.0\Db_1)      (Sid_name = ZYXX2015))))  LISTENER =  (description_list = (    DESCRIPTION = (      address_list = (        ADDRESS = (PROTOCOL = TCP) (HOST = CUST-E44050FE71) (PORT = 1521))      (address_list =        (ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC)      ))    )  )

Then restart the listener.

cmd command, enter LSNRCTL

Stop

Start

Oracle Ora-12514:tns:listener does not currently know of service requested in Conn solution

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.