zoukankan      html  css  js  c++  java
  • "Invalid username/password or database/scan listener not up"

     
     

    文档 ID

     
     
     
     
    单击此项可添加到收藏夹
    转到底部转到底部

    2013-4-5PROBLEMPUBLISHED3
    没有任何注释注释 (0)
     
    为此文档评级
     
    通过电子邮件发送此文档的链接 在新窗口中打开文档 可打印页

    In this Document

      Symptoms
      Cause
      Solution


    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.
  • 相关阅读:
    What does operator “dot” (.) mean?
    regression and anova
    2014年6月6至7日,杨学明老师《单元测试管理》公开课在深圳市民中心成功举办!
    2014年5月22至23日,杨学明老师《研发多项目管理》在深圳华侨城鸿波酒店成功举办!
    2014年4月25~26日,杨学明老师《产品测试管理高级实务培训》公开课在上海成功举办!
    2014年4月22~23日,杨学明老师《产品测试管理高级实务培训》公开课在深圳成功举办!
    2014年4月18~19日,杨学明老师《软件测试管理》公开课在上海成功举办!
    2014年4月11~12日,杨学明老师《产品测试管理》公开课在北京成功举办!
    2014年3月21~22日,杨学明老师《软件测试管理》公开课在深圳成功举办!
    2014年3月14~15日,杨学明老师软件测试管理公开课在深圳成功举办!
  • 原文地址:https://www.cnblogs.com/james1207/p/3304079.html
Copyright © 2011-2022 走看看