博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
"Invalid username/password or database/scan listener not up"
阅读量:5325 次
发布时间:2019-06-14

本文共 3791 字,大约阅读时间需要 12 分钟。

 
 

文档 ID

 
 
 
 
11.2 RAC DBconsole Creation Fails With Error: "Invalid username/password or database/scan listener not up" (文档 ID 1276751.1)

修改时间:2013-4-5类型:PROBLEM状态:PUBLISHED优先级:3
没有任何注释注释 (0)
 
 

In this Document

 
 
 

 


 

 

Applies to:

Enterprise Manager for Oracle Database - Version 11.2.0.0 to 11.2.0.3 [Release 11.2]
Information  in this document applies to any platform.
Checked for relevance on 10-Feb-2013

Symptoms

Creating RAC DBConsole failing with following error:
 
emca -config dbcontrol db -repos create -cluster
=============
STARTED EMCA at Dec 23, 2010 5:08:26 PM
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: orcl
Service name: orcl
Listener port number: 1561
Listener ORACLE_HOME [ /u01/grid/11.2.0 ]: /u01/oracle/product/db/11.2.0
Password for SYS user:
Password for DBSNMP user:
Password for SYSMAN user:
Cluster name: crs
Email address for notifications (optional):
Outgoing Mail (SMTP) server for notifications (optional):
ASM ORACLE_HOME [ /u01/grid/11.2.0 ]:
ASM port [ 1561 ]: 1521
ASM username [ ASMSNMP ]:
ASM user password:
Invalid username/password or database/scan listener not up or database service is not registered with scan listener.
ASM user password: 
===============
 
Following are the errors logged in emca log:
============
Dec 23, 2010 5:10:36 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineRemotely
CONFIG: SQLEngine connecting with Service Name: +ASM, oracleHome: /u01/grid/11.2.0, and user: ASMSNMP host: racnode1 port: 1561
Dec 23, 2010 5:10:37 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineRemotely
CONFIG: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
 
oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
 
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1655)
...
Dec 23, 2010 5:10:43 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineRemotely
CONFIG: SQLEngine connecting with Service Name: +ASM, oracleHome: /u01/grid/11.2.0, and user: SYS host: racnode2 port: 1561
Dec 23, 2010 5:10:43 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineRemotely
CONFIG: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
===========

Cause

Database is configured with listener port 1561 while ASM instance is configured with port 1521.
In this case, ASM instance is not registered with database listener running on 1561 port.
 
Database listener:
===========
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=racnode1)(PORT=1561)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.1)(PORT=1561)))
Services Summary...
Service "orcl" has 2 instance(s).
Instance "orcl_1", status READY, has 1 handler(s) for this service...
The command completed successfully
 
ASM Listener:
=========
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1,1)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.2)(PORT=1521)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+ASM1", status READY, has 1 handler(s) for this service...

 

 

The command completed successfully

Solution

Register the ASM instances with the database listener:
 
alter system set local_listener='(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=racnode1)(PORT=1561))))' scope=both sid='+ASM1';
alter system set local_listener='(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=racnode2)(PORT=1561))))' scope=both sid='+ASM2';
NOTE: port numbers here are just for demonstration purposes.

 

转载于:https://www.cnblogs.com/james1207/p/3304079.html

你可能感兴趣的文章
设置UIButton的文字显示位置、字体的大小、字体的颜色
查看>>
[原创]性能调优方法介绍
查看>>
状态模式
查看>>
ionic2 跨域 设置代理
查看>>
Web安全之CSRF攻击
查看>>
c# 使用ChartDirector绘图的一些个人体会
查看>>
Castle ActiveRecord学习实践
查看>>
在Spring MVC中使用注解的方式校验RequestParams
查看>>
[转]VC++界面编程总结(一)
查看>>
[转]Visual C++编程命名规则
查看>>
C++小项目 学生成绩管理系统
查看>>
scala学习笔记2:面向对象编程部分基础
查看>>
王爽汇编语言第二版学习笔记之实验11
查看>>
java常用设计模式十:模板模式
查看>>
SQL SERVER--单回话下的死锁
查看>>
MTCNN源码阅读之训练测试过程,其和faster -rcnn 等目标识别的区别在哪里?
查看>>
Easyui 表格底部加合计
查看>>
ashx中使用HttpContext.Current.Session ,出现未将对象引用设置到实例
查看>>
Programming 2D Games 读书笔记(第三章)
查看>>
【JAVA】从java线程来看java内存模型
查看>>