1、Oracle 11g ORA-12514:TNS:監(jiān)聽程序當前無法識別連接描述符中請求的服務
數(shù)據(jù)庫服務器崩了,而且嘗試重啟服務和重啟機器都解決不了問題
打開cmd窗口
C:\Users\hxt>sqlplus / as sysdba SQL*Plus: Release 11.2.0.1.0 Production on 星期三 12月 5 11:39:54 2018 Copyright (c) 1982, 2010, Oracle. All rights reserved. 已連接到空閑例程。 SQL> startup ORACLE 例程已經(jīng)啟動。 Total System Global Area 6797832192 bytes Fixed Size 2188648 bytes Variable Size 3523218072 bytes Database Buffers 3254779904 bytes Redo Buffers 17645568 bytes 數(shù)據(jù)庫裝載完畢。 數(shù)據(jù)庫已經(jīng)打開。
2、Oracle 11g ORA-00119 ORA-00132
錯誤如下:
SQL> startup ORA-00119: invalid specification for system parameter LOCAL_LISTENER ORA-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';
總結
以上就是這篇文章的全部內容了,希望本文的內容對大家的學習或者工作具有一定的參考學習價值,謝謝大家對腳本之家的支持。如果你想了解更多相關內容請查看下面相關鏈接