zoukankan      html  css  js  c++  java
  • oracle RAC 监听状态为"Not All Endpoints Registered"

    Listener in INTERMEDIATE status with "Not All Endpoints Registered" [ID 1454439.1]
    #crsctl status res -t

    ora.LISTENER.lsnr
    ONLINE INTERMEDIATE defdb1 Not All Endpoints Registered
    ONLINE ONLINE defdb2

    2,经过查询,原因如下,数据库起了两个listener,一个oracle用户起的,一个grid用户启动;正常情况下,应该只有grid用户起的

    3,停掉一个后,仍然没有恢复


    mos上也有此报错的文章,主要是listener端口被占用导致不能正确启动导致

    通过如下方法解决了问题:
    Solution

    From 11.2 onwards, all listeners should be runing from GRID_HOME, listener and listener_scan<n> entry should be added automatically into listener.ora, no manual editing is required for TCP definition.

    1. Stop the listener running from RDBMS ORACLE_HOME
    从ORACLE_HOME关闭监听
    $<RDBMS ORACLE_HOME>/bin/lsnrctl stop LISTENER

    2. stop the listener from GRID_HOME
    从GRID_HOME关闭监听

    $<GRID_HOME>/bin/srvctl stop listener -n <node name>
    $<GRID_HOME>/bin/srvctl stop scan_listener -i <scan#>

    例:
    $<GRID_HOME>/bin/srvctl stop listener -n defdb1
    $<GRID_HOME>/bin/srvctl stop scan_listener -i 1

    如果上述命令关闭失败,可以通过kill -9 杀LISTENER 和LISTENER_SCAN1进程

    If above command fails to stop the tnslsnr process, please use "kill -9 <pid of tnslsnr>" to stop the LISTENER and LISTENER_SCAN1 process.

    3. remove any manually added LISTENER definition from listener.ora if it exists

    移除所有手动添加到listener.ora中的信息

    4. restart the LISTENER and LISTENER_SCAN1 from GRID_HOME

    从GRID_HOME重启LISTENER and LISTENER_SCAN1
    $<GRID_HOME>/bin/srvctl start listener -n <node name>
    $<GRID_HOME>/bin/srvctl start scan_listener -i <scan#>

    5. check crsctl stat res -t output, they both should show ONLINE status now.
    通过crsctl stat res -t查看状态显示正常

  • 相关阅读:
    JS中数组去除重复的方法
    ember.js里的实用方法
    Ember入门指南——教程目录
    如何解决问题?
    Web前端开发工程师基本要求
    (转)轻松学习JavaScript三:JavaScript与HTML的结合
    (转)JavaScript二:JavaScript语言的基本语法要求
    HTML的checkbox和radio的美化
    C#串口通信—向串口发送数据,同步接收返回数据
    C#生成验证码
  • 原文地址:https://www.cnblogs.com/connected/p/15170348.html
Copyright © 2011-2022 走看看