对我认真的人,我会加倍珍惜
分类: Oracle
2014-11-03 22:35:01
lsnrctl start
提示:
The listener supports no services
The command completed successfully
这样启动后远程连接会造成
oracle ORA-12514:TNS:listener does not currently know of service requested in connect descriptor
---方案一---------原因:数据库实例注册到listener-----------------------------------
--登录数据库
$sqlplus / as sysdba
--显示服务名
SQL>show parameter service_names
--强制注册服务
SQL>alter system register;
--查看监听状态
$lsnrctl status
-----方案二--------------------------------------
问题解决了
在listener.ora里面添加了一行
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = globe)
(SID_NAME = globe)
)
)