Oracle Error:ORA-12514

來源:互聯網
上載者:User

Oracle Error:ORA-12514

這應該算是連續劇了,在解決上篇記錄的錯誤後(見 Oracle Error:ORA-00119/ORA-00130 ),使用用戶端串連Oracle時發生ORA-12514(TNS:監聽程式當前無法識別串連描述符中請求的服務)的錯誤。

經過排查發現是Oracle 執行個體往Listener裡動態註冊沒有成功,遂修改了listener.ora,在此檔案中添加如下語句,進行靜態註冊:

SID_LIST_LISTENER=
  (SID_LIST=
    (SID_DESC=
      (GLOBAL_DBNAME=Your Global_DbName)
      (ORACLE_HOME=/u01/oracle/product/11.2.0)
      (SID_NAME=Your SID)))

重啟listener後,問題解決。

--------------------------------------分割線 --------------------------------------

在CentOS 6.4下安裝Oracle 11gR2(x64)

Oracle 11gR2 在VMWare虛擬機器中安裝步驟

Debian 下 安裝 Oracle 11g XE R2

--------------------------------------分割線 --------------------------------------

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.