zoukankan      html  css  js  c++  java
  • ORA12514: TNS: 监听程序当前无法识别连接描述符中请求的服务

    服务器莫名其妙的报这个错,之前一直正常,从google获取解决方案,解决之,记录如下:

    1. Open the ""<OracleHome>/network/admin/listener.ora" file in the host,and you will see:
        SID_LIST_LISTENER =
        (SID_LIST =
          (SID_DESC =
            (SID_NAME = PLSExtProc)
            (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
            (PROGRAM = extproc)
          )
        )
       2. Add the following lines after the 7th line in the above
                 (SID_DESC =
            (GLOBAL_DBNAME = ORACLE)
            (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)   
            (SID_NAME = ORACLE)
           )
       3. At last the content of the file become to the following section:
    SID_LIST_LISTENER =
        (SID_LIST =
          (SID_DESC =
            (SID_NAME = PLSExtProc)
            (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
            (PROGRAM = extproc)
          )
          (SID_DESC =
            (GLOBAL_DBNAME = ORACLE)
            (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)   
            (SID_NAME = ORACLE)
           )
        )
       4. Save the file and restart the TNSListener service in the host. That's OK!
  • 相关阅读:
    古罗马子串加密
    读《大道至简》有感(四)
    类与对象(作业)
    读《大道至简》有感(三)
    JAVA 加减乘除
    JAVA第三周作业
    【JAVA】数字相加
    读《大道至简》有感(二)
    1.8站立会议之个人
    1.7站立会议之个人
  • 原文地址:https://www.cnblogs.com/tiasys/p/1130776.html
Copyright © 2011-2022 走看看