Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The ORA-12514 TNS listener currently does not recognize the solution to requesting services in the connection descriptor

2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Consider listening to listener.ora

It is not necessary to specify the service name of the listening in the listening configuration file listener.ora (it is also not specified after installing Oracle10g). Normally, as long as the database is started, there is no problem for the client to connect to the database, but sometimes repeated startup and shutdown will also lead to ORA-12514 errors.

Since there is no listener specified in listener.ora, we can specify the instance name of the listener in the listener.ora file so that the problem should be able to connect.

The steps are as follows:

In the oracle server Oracle installation directory (mine in E:\ Oracle10g, everyone's different, according to their own situation to find) Network/admin directory to find listener.ora my figure below

# listener.ora Network Configuration File: e:\ Oracle10g\ network\ admin\ listener.ora

# Generated by Oracle configuration tools.

SID_LIST_LISTENER =

(SID_LIST =

(SID_DESC =

(SID_NAME = PLSExtProc)

(ORACLE_HOME = E:\ Oracle10g)

(PROGRAM = extproc)

)

(SID_DESC =

(GLOBAL_DBNAME = ORCL)

(ORACLE_HOME = E:\ Oracle10g)

(SID_NAME = ORCL)

)

)

LISTENER =

(DESCRIPTION_LIST =

(DESCRIPTION =

(ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC1))

(ADDRESS = (PROTOCOL = TCP) (HOST = onest) (PORT = 1521))

)

)

The red one is the part I added, and ORCL is the instance name of the monitor.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report