In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.