Oracle ORA-01034&ORA-03113錯誤解決方案
昨天晚上Oracle還可以使用,早上用sqlplus連線,出現如下錯誤:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
程式 ID: 0
會話 ID: 0 序列號: 0
因為這個小小的錯誤,折騰了我好幾個小時,特記錄如下。
上網搜尋了下解決方案,如下:
sqlplus "sys/password as sysdba"
連線成功,提示"已連線到空閒例程"
SQL> startup
ORACLE 例程已經啟動。
Total System Global Area 535662592 bytes
Fixed Size 1375792 bytes
Variable Size 293601744 bytes
Database Buffers 234881024 bytes
Redo Buffers 5804032 bytes
資料庫裝載完畢。
ORA-03113: 通訊通道的檔案結尾
程式 ID: 5412
會話 ID: 5 序列號: 5
出現一個新錯誤:ORA-03113: 通訊通道的檔案結尾;分析可能由於昨晚資料庫強制關閉,導致檔案狀態可能不一致,因為正常關閉資料庫會同步校驗各檔案,使得重新啟動的時候檔案時間點一致。
找到解決方案如下:
SQL> conn / as sysdba
已連線到空閒例程。
SQL> startup mount
ORACLE 例程已經啟動。
Total System Global Area 535662592 bytes
Fixed Size 1375792 bytes
Variable Size 293601744 bytes
Database Buffers 234881024 bytes
Redo Buffers 5804032 bytes
資料庫裝載完畢。
SQL> select * from v$log;
GROUP# THREAD# SEQUENCE# BYTES BLOCKSIZE MEMBERS ARC
---------- ---------- ---------- ---------- ---------- ---------- ---
STATUS FIRST_CHANGE# FIRST_TIME NEXT_CHANGE# NEXT_TIME
---------------- ------------- -------------- ------------ -------------
1 1 340 52428800 512 1 NO
INACTIVE 8474486 02-4月 -11 8522856 02-4月 -11
3 1 342 52428800 512 1 NO
INACTIVE 8555222 06-4月 -11 8565162 11-4月 -11
2 1 343 52428800 512 1 NO
CURRENT 8565162 11-4月 -11 2.8147E+14
SQL> alter database open resetlogs
2 ;
alter database open resetlogs
*
第 1 行出現錯誤:
ORA-01139: RESETLOGS 選項僅在不完全資料庫恢復後有效
SQL> recover database until time '2011-04-11 12:12:12'
完成介質恢復。
SQL> alter database open resetlogs;
資料庫已更改。
SQL> shutdown
資料庫已經關閉。
已經解除安裝資料庫。
ORACLE 例程已經關閉。
SQL> startup
ORACLE 例程已經啟動。
Total System Global Area 535662592 bytes
Fixed Size 1375792 bytes
Variable Size 293601744 bytes
Database Buffers 234881024 bytes
Redo Buffers 5804032 bytes
資料庫裝載完畢。
資料庫已經開啟。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/28673746/viewspace-775429/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Linux下錯誤解決方案Linux
- latex 錯誤以及解決方案
- ORA-28000錯誤解決方案
- ORACLE匯入遇到ORACLE錯誤959解決方法Oracle
- Ubuntu Cannot allocate memory 錯誤解決方案Ubuntu
- Hadoop常見錯誤及解決方案Hadoop
- 解決MySQL server has gone away錯誤的解決方案MySqlServerGo
- TCP網路除錯助手提示錯誤:“1035:未知錯誤” 解決方案TCP除錯
- PYTHON3 cx-Oracle 字符集 轉換錯誤的解決方案PythonOracle
- HTTP 錯誤 500.21 - Internal Server Error 解決方案HTTPServerError
- CS0234 錯誤,奇葩bug,解決方案
- vagrant homestead 錯誤記錄以及解決方案
- Oracle 錯誤總結及問題解決 ORAOracle
- Oracle的TNS-12502 錯誤原因及解決Oracle
- No bean named 'xxx' is defined錯誤,原因及解決方案Bean
- SSL錯誤ssl connect error 35的解決方案Error
- PbootCMS中常見的錯誤提示及其解決方案boot
- Oracle 條件索引 case when 報錯解決方案Oracle索引
- 真機除錯出現 application installation failed 錯誤 解決方案除錯APPAI
- Ocelot錯誤解決
- IIS 7.5 解析錯誤 命令執行漏洞解決方案
- java:錯誤:不支援發行版本1.4解決方案Java
- IDEA發生“Error:java: 錯誤: 不支援發行版本 5”錯誤的解決方案IdeaErrorJava
- photoshop匯出png發生未知錯誤的解決方案,ps匯出發生未知錯誤怎麼解決
- ORACLE 錯誤Oracle
- 關於ESLint: Delete `␍`(prettier/prettier) 錯誤解決方案(3種)EsLintdelete
- 訪問 HTTPS 網站時的 SSL 錯誤解決方案HTTP網站
- 平臺配置及測試錯誤提示及解決方案
- ElasticSearch實戰系列十一: ElasticSearch錯誤問題解決方案Elasticsearch
- 解決 Python UnicodeEncodeError 錯誤PythonUnicodeError
- Intellij IDEA使用@Autowired註解,出現could not autowire錯誤,解決方案IntelliJIdea
- React 中 呼叫 lodash.debounce 不錯誤繫結 this 解決方案React
- 啟動idea時, 碰到"failed to load jvm DLL ..."錯誤 解決方案IdeaAIJVM
- navicat連線MySQL8.0.11報2059錯誤的解決方案MySql
- Can't Connect to MySQL Server on IP Address (10061) 錯誤的解決方案MySqlServer
- dbfread報錯ValueError錯誤解決方法Error
- 【ERROR】Oracle列印錯誤程式碼解釋ErrorOracle
- PbootCMS 404 錯誤解決方法boot
- Windows下make clean指令錯誤[錯誤碼2](系統找不到指定檔案)的解決方案Windows