ORACLE启动监听器 The listener supports no services 问题解决方法
Oracle 12c linux 64bit 启动ORACLE监听器,结尾报 The listener supports no services ,数据库实例services没被注册监听.
[oracle@localhost admin]$ lsnrctl status
LSNRCTL for Linux: Version 12.1.0.2.0 - Production on 19-APR-2016 10:51:08
Copyright (c) 1991, 2014, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.230.129)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 12.1.0.2.0 - Production
Start Date 19-APR-2016 10:43:19
Uptime 0 days 0 hr. 7 min. 49 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/12.1.0/db_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
Listening Endpoints Summary…
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.230.129)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
The listener supports no services
The command completed successfully
这样启动后远程连接会造成
oracle ORA-12514:TNS:listener does not currently know of service requested in connect descriptor
–查看监听状态
$lsnrctl status
- 解决方案
Oracle Net Manager修改配置
在下图的Listeners->Database Services中配置要监听的SID及ORACLE_HOME,退出保存。
在Liunx环境下使用netmgr命令完成!!!
[oracle@localhost bin]$ netmgr
目录 返回
首页