1、Oracle 11g ORA-12514:TNS:監(jiān)聽程序當(dāng)前無法識(shí)別連接描述符中請(qǐng)求的服務(wù)
數(shù)據(jù)庫服務(wù)器崩了,而且嘗試重啟服務(wù)和重啟機(jī)器都解決不了問題
打開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 例程已經(jīng)啟動(dòng)。Total System Global Area 6797832192 bytesFixed Size 2188648 bytesVariable Size 3523218072 bytesDatabase Buffers 3254779904 bytesRedo Buffers 17645568 bytes數(shù)據(jù)庫裝載完畢。數(shù)據(jù)庫已經(jīng)打開。
2、Oracle 11g ORA-00119 ORA-00132
錯(cuò)誤如下:
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<數(shù)據(jù)庫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';

總結(jié)
以上就是這篇文章的全部?jī)?nèi)容了,希望本文的內(nèi)容對(duì)大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價(jià)值,謝謝大家對(duì)武林網(wǎng)的支持。如果你想了解更多相關(guān)內(nèi)容請(qǐng)查看下面相關(guān)鏈接
新聞熱點(diǎn)
疑難解答
圖片精選