oracle 11g rac中创建EM时报错:ORA-12514

oracle用户dbca命令截图如下:




日志如下:

WARNING: Error during db connection : ORA-12514: TNS:listener does not currently know of service requested in connect descriptor


大意是监听不能被解释:

解决问题:

oracle 用户

[oracle@11grac2 ~]$ sqlplus / as sysdba


SQL*Plus: Release 11.2.0.3.0 Production on Sun Feb 3 17:54:59 2013


Copyright (c) 1982, 2011, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options

SQL> 
SQL> show parameter listener


NAME     TYPE VALUE
------------------------------------ ----------- ------------------------------
listener_networks     string
local_listener     string(DESCRIPTION=(ADDRESS_LIST=(AD
DRESS=(PROTOCOL=TCP)(HOST=192.
168.2.53)(PORT=1521))))
remote_listener     stringscan.rac.com:1521
SQL> 

grid 用户

[grid@11grac1 alert]$ sqlplus / as sysdba


SQL*Plus: Release 11.2.0.3.0 Production on Sun Feb 3 17:25:48 2013


Copyright (c) 1982, 2011, Oracle.  All rights reserved.




Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Real Application Clusters and Automatic Storage Management options

SQL> show parameter listener


NAME     TYPE VALUE
------------------------------------ ----------- ------------------------------
listener_networks     string
local_listener     string(DESCRIPTION=(ADDRESS_LIST=(AD
DRESS=(PROTOCOL=TCP)(HOST=192.
168.2.52)(PORT=1521))))
remote_listener     string


//发现remote_listener是空值


SQL> alter system set remote_listener='scan.rac.com:1521';


System altered.


SQL> show parameter listener


NAME     TYPE VALUE
------------------------------------ ----------- ------------------------------
listener_networks     string
local_listener     string(DESCRIPTION=(ADDRESS_LIST=(AD
DRESS=(PROTOCOL=TCP)(HOST=192.
168.2.52)(PORT=1521))))
remote_listener     stringscan.rac.com:1521




评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值