11g R2 RAC上EMCA报错

在11g R2 RAC使用EMCA的时候

emca -config dbcontrol db -repos create -cluster

EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle.  All rights reserved.

Enter the following information:
Database unique name: jsczdb
Service name: jsczdb
Listener port number: 1521
Listener ORACLE_HOME [ /u01/app/11.2/grid ]:
Password for SYS user:
Password for DBSNMP user:
Password for SYSMAN user:
Cluster name: JSCZDB
Email address for notifications (optional):
Outgoing Mail (SMTP) server for notifications (optional):
ASM ORACLE_HOME [ /u01/app/11.2/grid ]:
ASM port [ 1152 ]:
ASM username [ ASMSNMP ]:
ASM user password:
Invalid username/password or database/scan listener not up or database service is not registered with scan listener.

密码是正确,但是始终返回:

Invalid username/password or database/scan listener not up or database service is not registered with scan listener.

此错误

问题的根源是因为:ASM实例中没有注册SCAN listeners

lsnrctl services LISTENER_SCAN1

在db中注册监听实例

alter system set remote_listener=’JSCZDB-scan:1521′ scope=both;

alter system register;

发表评论

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据