1、Oracle 11g ORA-12514:TNS:監聽程序當前無法識別連接描述符中請求的服務
數據庫服務器崩了,而且嘗試重啟服務和重啟機器都解決不了問題
打開cmd窗口
C:/Users/hxt>sqlplus / as sysdbaSQL*Plus: Release 11.2.0.1.0 Production on 星期三 12月 5 11:39:54 2018Copyright (c) 1982, 2010, Oracle. All rights reserved.已連接到空閑例程。SQL> startupORACLE 例程已經啟動。Total System Global Area 6797832192 bytesFixed Size 2188648 bytesVariable Size 3523218072 bytesDatabase Buffers 3254779904 bytesRedo Buffers 17645568 bytes數據庫裝載完畢。數據庫已經打開。
2、Oracle 11g ORA-00119 ORA-00132
錯誤如下:
SQL> startupORA-00119: invalid specification for system parameter LOCAL_LISTENERORA-00132: syntax error or unresolved network name 'LISTENER_ORCL'
解決方案:
1)、
SQL> create pfile from spfile='D:/app/hxt/product/11.2.0/dbhome_1/database/SPFILEORCL.ORA';
2)、第一步之后在D:/app/hxt/product/11.2.0/dbhome_1/database路徑里找到init<數據庫name>.ora文件,把*.local_listener=‘LISTENER_ORCL'修改為*.local_listener='(ADDRESS_LIST=(Address=(Protocol=tcp) (Host=localhost)(Port=1521)))'
3)、
SQL> create spfile from pfile='D:/app/hxt/product/11.2.0/dbhome_1/database/INITorcl.ORA';
總結
以上就是這篇文章的全部內容了,希望本文的內容對大家的學習或者工作具有一定的參考學習價值,謝謝大家對武林網的支持。如果你想了解更多相關內容請查看下面相關鏈接
新聞熱點
疑難解答