当前位置:网站首页>Oracle cannot start tnslistener service cannot start
Oracle cannot start tnslistener service cannot start
2022-07-26 10:36:00 【WindOfMayGIS】
1 Cause analysis
There are two situations , situation A: It's the end of the installation oracle after , For the first time , appear tnslistener The service failed to start ; situation B:Oracle It can always be used , But suddenly one day , Because loading and unloading other software or computer operation , That led to tnslistener The service failed to start .
situation A, Mostly for tnsnames.ora File configuration error , Need to add a paragraph , Detailed method reference :
tnsnames.ora The contents are as follows
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.105)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.168.0.105)
)
)
listener.ora The contents are as follows
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.105)(PORT = 1521))
)
)
situation B, Mostly because the configuration of environment variables has changed , At this time, you need to recheck the environment variables .
Normal environment variables only need to set these two , stay path in 
No need to set ORACLE_HOME and TNS_ADMIN, Set up ORACLE_HOME and TNS_ADMIN It can lead to ORA-12541 Error of .
1、ORACLE_HOME A variable's value E:\Oracle\product\11.2.0\dbhome_1
explain : The variable value here is installed by yourself Oracle Database installation path , In the path you will find project Then find... In turn dbhome_1, Then copy the path to the environment variable value .
2、TNS_ADMIN Variable name TNS_ADMIN A variable's value E:\Oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN
explain : Careful friends may see TNS_ADMIN The variable value of is in ORACLE_HOME Another two-level file is found under the variable value path of .
- Other situations , You can refer to the collation of netizens :https://blog.csdn.net/qiruiduni/article/details/44016325
The origin of writing this article
2020 year 10 month 6 Japan , One day of national day , I continue to work on the station , Found that the national day a few days because of loading and unloading ARCGIS、Python Environment and other related software , Lead to Oracle Can't start . At first, I thought it was ok , Just look for the reason , But after half an hour of searching , It is not found that the reasons described by netizens , I will rethink what I did to the computer before . So I thought of the problem that may be caused by environmental variables . therefore , I'm right again Oracle Relevant environment variables of have been checked , Find out Oracle_home There are too many configurations ( As for why not , Maybe it's because my hands are too cheap ).
边栏推荐
- 数据分析入门 | kaggle泰坦尼克任务(一)—>数据加载和初步观察
- Uninstall Meizu app store
- 比较器(Comparable与Comparator接口)
- Function template parameters (where are the function parameters)
- Dry goods likeshop takeout order system is open source, 100% open source, no encryption
- The problem of large fluctuation of hx711 data
- Write to esp8266 burning brush firmware
- Introduction to data analysis | kaggle Titanic mission
- Okaleido ecological core equity Oka, all in fusion mining mode
- Redis Docker实例与数据结构
猜你喜欢

单元测试,到底什么是单元测试,为什么单测这么难写

Write to esp8266 burning brush firmware
The software cannot be opened

Application of.Net open source framework in industrial production

videojs转canvas暂停、播放、切换视频

Okaleido生态核心权益OKA,尽在聚变Mining模式

码云,正式支持 Pages 功能,可以部署静态页面

Redis Docker实例与数据结构

干货likeshop外卖点餐系统开源啦100%开源无加密

Agenda express | list of sub forum agenda on July 27
随机推荐
SuperMap IClient for Leaflet 加载高斯克吕格投影三度分带CGCS2000大地坐标系WMTS服务
[Halcon vision] programming logic
第4期:大学生提前职业技能准备之一
A semicolon is missing
Google与Pixar开发Draco支持USD格式 加速3D对象传输<转发>
抓包工具fiddler和wireshark对比
MD5加密
datav漂亮数据屏制作体验
Write to esp8266 burning brush firmware
[Halcon vision] array
js翻页、kkpager.js翻页
2022pta平时训练题(1~10题字符串处理问题)
Inheritance method of simplified constructor (II) - class inheritance in ES6
L2-005 集合相似度(vector、set求并交集)
algorithm
json-c库的简单使用——将json文件转换为struct.
【dectectron2】跟着官方demo一起做
Introduction to data analysis | kaggle Titanic mission (I) - > data loading and preliminary observation
The difference between equals and = =
What if MySQL can't get in