zoukankan      html  css  js  c++  java
  • Oracle 10g 报ORA12514错误

    解决方案:

       修改listener.ora文件内容。

            路径:盘符:\oracle\product\10.2.0\db_1\network\ADMIN\

            打开文件:

    # listener.ora Network Configuration File: D:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    
    SID_LIST_LISTENER =
    (SID_LIST =
      (SID_DESC =
         (SID_NAME = PLSExtProc)
         (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
         (PROGRAM = extproc)
      )
    )
    
    LISTENER =
    (DESCRIPTION_LIST =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (ADDRESS = (PROTOCOL = TCP)(HOST = CLR-PC)(PORT = 1521))
      )
    )
    

      在SID_LIST_LISTENER 项添加

         (SID_DESC =
           (GLOBAL_DBNAME = CLR)
           (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)  
           (SID_NAME = CLR)
          )
    

      添加后变为:

    # listener.ora Network Configuration File: D:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    
    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 = CLR)
           (ORACLE_HOME = D:\oracle\product\10.2.0\db_1)  
           (SID_NAME = CLR)
          )
      )
    
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
          (ADDRESS = (PROTOCOL = TCP)(HOST = CLR-PC)(PORT = 1521))
        )
      )
    

      SID_NAME和GLOBAL_DBNAME 要换成你自己的库。

         然后重启OracleOraDb10g_home1TNSListener 服务,就ok了,测试可行。

  • 相关阅读:
    如何做一名技术管理者
    图表控件amCharts
    Redis
    关于微信,我想说两句
    颜色名称集合
    【翻译】PSV初音Miku Project DIVAf
    【3DS】初音Miku and Future Stars Project
    处女作真人语音计算器上线了
    【PSV】GRAVITY DAZE(重力眩晕)
    看得我老泪横流,自己有多久没有像小女孩这样被惊喜过了?
  • 原文地址:https://www.cnblogs.com/CLR010/p/2746474.html
Copyright © 2011-2022 走看看