Oracle配置监听时报错TNS-01150: listener name is incorrect
发表于:2025-01-20 作者:千家信息网编辑
千家信息网最后更新 2025年01月20日,在配置Oracle监听时遇到不能启动监听[oracle@enmoedu1 admin]$ lsnrctl start lsnr1 LSNRCTL for Linux: Version 11.2.0.4
千家信息网最后更新 2025年01月20日Oracle配置监听时报错TNS-01150: listener name is incorrect在配置Oracle监听时遇到不能启动监听
[oracle@enmoedu1 admin]$ lsnrctl start lsnr1 LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 20-JUN-2018 20:11:52 Copyright (c) 1991, 2013, Oracle. All rights reserved. Starting /u01/app/oracle/product/11.2.0/dbhome_1/bin/tnslsnr: please wait... TNSLSNR for Linux: Version 11.2.0.4.0 - Production
System parameter file is /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/diag/tnslsnr/enmoedu1/lsnr1/alert/log.xml
TNS-01150: The address of the specified listener name is incorrect Listener failed to start. See the error message(s) above...
编辑listener.ora [oracle@enmoedu1 admin]$ vi listener.ora
LSNR1=
# listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/dbhome
_1/network/admin/listener.ora
# Generated by Oracle configuration tools. LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = enmoedu1)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
) ADR_BASE_LISTENER = /u01/app/oracle LSNR1=
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=enmoedu1)(PORT=1522))
)
)
改正: [oracle@enmoedu1 admin]$ vi listener.ora
# listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/dbhome
_1/network/admin/listener.ora
# Generated by Oracle configuration tools. LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = enmoedu1)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
) ADR_BASE_LISTENER = /u01/app/oracle LSNR1=
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=enmoedu1)(PORT=1522))
)
)
最后启动成功!
关键:在配置监听时,需要把格式对好,否则不能识别监听名字
[oracle@enmoedu1 admin]$ lsnrctl start lsnr1 LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 20-JUN-2018 20:11:52 Copyright (c) 1991, 2013, Oracle. All rights reserved. Starting /u01/app/oracle/product/11.2.0/dbhome_1/bin/tnslsnr: please wait... TNSLSNR for Linux: Version 11.2.0.4.0 - Production
System parameter file is /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/diag/tnslsnr/enmoedu1/lsnr1/alert/log.xml
TNS-01150: The address of the specified listener name is incorrect Listener failed to start. See the error message(s) above...
编辑listener.ora [oracle@enmoedu1 admin]$ vi listener.ora
LSNR1=
# listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/dbhome
_1/network/admin/listener.ora
# Generated by Oracle configuration tools. LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = enmoedu1)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
) ADR_BASE_LISTENER = /u01/app/oracle LSNR1=
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=enmoedu1)(PORT=1522))
)
)
改正: [oracle@enmoedu1 admin]$ vi listener.ora
# listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/dbhome
_1/network/admin/listener.ora
# Generated by Oracle configuration tools. LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = enmoedu1)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
) ADR_BASE_LISTENER = /u01/app/oracle LSNR1=
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=enmoedu1)(PORT=1522))
)
)
最后启动成功!
关键:在配置监听时,需要把格式对好,否则不能识别监听名字
监听
配置
成功
关键
名字
格式
时报
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
小学生网络安全知识内容简短
抖音服务器一天数据有多大
为什么用服务器做家用机
网络安全去公安驻场好吗
诺基亚杭州5g软件开发
如何把图片本身存储在数据库
洛阳迅优网络技术怎么样
甘肃服务器虚拟化费用
关于网络安全的新闻与点评
阿拉德之怒下载的服务器不一样
打印服务器端口和扫描仪不一样
数据库统计不及格门数
苹果怎么挂vnp服务器地址
网络安全小课堂有感
托管租用服务器
完美平台登录显示连接服务器失败
软件开发设计软件
phthon 软件开发
圣瑞网络技术员是真的吗
oa软件开发公司靠谱吗
计算机网络专业 软件开发
便捷的数据库客户端免费
嵌入式软件开发学什么专业
国家网络安全监督指引
三期网络安全视频动画片
手机imei查询数据库
民警网络安全意识不强
苏州银行的软件开发岗待遇
电子商务与数据库系统
射频网络技术怎么样