1、Oracle 11g ORA-12514:TNS:監聽程序當前無法識別連接描述符中請求的服務
數據庫服務器崩了,而且嘗試重啟服務和重啟機器都解決不了問題
打開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 例程已經啟動。
Total System Global Area 6797832192 bytes
Fixed Size 2188648 bytes
Variable Size 3523218072 bytes
Database Buffers 3254779904 bytes
Redo Buffers 17645568 bytes
數據庫裝載完畢。
數據庫已經打開。
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數據庫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';

總結
以上就是這篇文章的全部內容了,希望本文的內容對大家的學習或者工作具有一定的參考學習價值,謝謝大家對腳本之家的支持。如果你想了解更多相關內容請查看下面相關鏈接
您可能感興趣的文章:- Oracle導入導出數據的幾種方式
- Oracle全角數字轉換半角數字
- Oracle基礎:程序中調用sqlplus的方式
- 運行在容器中的Oracle XE-11g
- 使用Python將Mysql的查詢數據導出到文件的方法
- MySQL常用SQL語句總結包含復雜SQL查詢
- docker完整配置nginx+php+mysql的方法步驟
- 一個案例徹底弄懂如何正確使用mysql inndb聯合索引
- GDB調試Mysql實戰之源碼編譯安裝
- 抽取oracle數據到mysql數據庫的實現過程