Oracle資料庫關閉時,出現ORA-03113錯誤
SQL> shutdown immediate
ORA-03113: end-of-file on communication channel
Process ID: 3437
Session ID: 125 Serial number: 5
SQL> startup
ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist
SQL>
SQL>
SQL> startup nomount
ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist
SQL>
SQL>
SQL> startup mount
ORA-24324: service handle not initialized
ORA-01041: internal error. hostdef extension doesn't exist
SQL>
SQL> alter datafile '/bk/ts5.2.dbf' offline
2 ;
ERROR:
ORA-03114: not connected to ORACLE
檢視日誌檔案:
/u01/app/diag/rdbms/orcl/orcl/trace/alert_orcl.log
16416 Errors in file /u01/app/diag/rdbms/orcl/orcl/trace/orcl_dbw0_4055.trc:
16417 ORA-01157: cannot identify/lock data file 6 - see DBWR trace file
16418 ORA-01110: data file 6: '/bk/ts5.2.dbf'
16419 ORA-27037: unable to obtain file status
16420 Linux Error: 2: No such file or directory
16421 Additional information: 3
16422 Errors in file /u01/app/diag/rdbms/orcl/orcl/trace/orcl_ora_4097.trc:
16423 ORA-01157: cannot identify/lock data file 6 - see DBWR trace file
16424 ORA-01110: data file 6: '/bk/ts5.2.dbf'
16425 ORA-1157 signalled during: ALTER DATABASE OPEN...
16426 Mon Oct 21 20:53:43 2013
16427 Checker run found 1 new persistent data failures
16428 Mon Oct 21 20:54:53 2013
發現是因為剛剛建立的表空間檔案丟失,導致的。
開始修復表空間檔案。
解決方法:
SQL> shutdown abort
ORACLE instance shut down.
SQL>
SQL>
SQL>
SQL> startup
ORACLE instance started.
Total System Global Area 422670336 bytes
Fixed Size 1336960 bytes
Variable Size 314575232 bytes
Database Buffers 100663296 bytes
Redo Buffers 6094848 bytes
Database mounted.
ORA-01157: cannot identify/lock data file 6 - see DBWR trace file
ORA-01110: data file 6: '/bk/ts5.2.dbf'
SQL> alter database datafile '/bk/ts5.2.dbf' offline drop;
Database altered.
SQL>
SQL>
SQL> startup
ORA-01081: cannot start already-running ORACLE - shut it down first
SQL> shutdown
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 422670336 bytes
Fixed Size 1336960 bytes
Variable Size 314575232 bytes
Database Buffers 100663296 bytes
Redo Buffers 6094848 bytes
Database mounted.
Database opened.
SQL>
由於是表空間檔案丟失,最後檢視一下表空間:
SQL>
SQL> select tablespace_name, file_name from dba_data_files;
TABLESPACE_NAME FILE_NAME
-------------------- ----------------------------------------
EXAMPLE /u01/app/oradata/orcl/example01.dbf
UNDOTBS1 /u01/app/oradata/orcl/undotbs01.dbf
SYSAUX /u01/app/oradata/orcl/sysaux01.dbf
SYSTEM /u01/app/oradata/orcl/system01.dbf
USERS /u01/app/oradata/orcl/users01.dbf
TS5 /bk/ts5.2.dbf
TS5 /bk/ts5.dbf
7 rows selected.
SQL> select file#, name, status from v$datafile;
FILE# NAME STATUS
---------- ---------------------------------------- -------
1 /u01/app/oradata/orcl/system01.dbf SYSTEM
2 /u01/app/oradata/orcl/sysaux01.dbf ONLINE
3 /u01/app/oradata/orcl/undotbs01.dbf ONLINE
4 /u01/app/oradata/orcl/users01.dbf ONLINE
5 /u01/app/oradata/orcl/example01.dbf ONLINE
6 /bk/ts5.2.dbf RECOVER
7 /bk/ts5.dbf ONLINE
7 rows selected.
SQL>
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29500582/viewspace-1097229/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 關閉資料庫出現ORA-21779錯誤資料庫
- 10205關閉資料庫出現ORA-600(kjccgmb:1)錯誤資料庫
- 資料庫關閉Hang住,出現錯誤PMON failed to acquire latch, see PMON dump資料庫AIUI
- ORACLE 使用DBCA安裝資料庫出現錯誤Oracle資料庫
- oracle 8.1.7.4建立dblink出現ora-03113錯誤Oracle
- 【mysql】關於連線mysql資料庫時出現的時區錯誤time zoneMySql資料庫
- solaris上建立oracle資料庫出現:out of memory 錯誤Oracle資料庫
- Oracle資料庫多條sql執行語句出現錯誤時的控制方式Oracle資料庫SQL
- 做standby 資料庫時,出現ORA-12560 錯誤:資料庫
- 安全關閉Oracle資料庫Oracle資料庫
- Oracle9i mount資料庫出現ORA-32700錯誤Oracle資料庫
- JDBC 連oracle 時出現錯誤,,求助???JDBCOracle
- 連線資料庫時出現ORA-12514錯誤資料庫
- 關閉資料庫出現PMON failed to acquire latch資訊資料庫AIUI
- oracle資料庫的關閉過程Oracle資料庫
- oracle關閉資料庫時沒反應的處理案例Oracle資料庫
- 系統關閉時候,oracle資料庫執行動作Oracle資料庫
- 資料庫啟動出現ORA-27037錯誤資料庫
- 啟動資料庫出現ORA-9925錯誤資料庫
- Oracle資料庫——資料匯出時出現匯出成功終止, 但出現警告。Oracle資料庫
- 資料庫關閉資料庫
- C#操作SQLite資料庫時出現“Insufficient parameters supplied to the command”的錯誤C#SQLite資料庫
- 9.2 STANDBY資料庫出現ORA-16009錯誤資料庫
- 10.2.0.1資料庫exp出現Ora-07445錯誤資料庫
- 啟動資料庫出現ORA-27123錯誤資料庫
- 資料庫啟動出現ORA-27102錯誤資料庫
- 關閉ORACLE資料庫步驟參考Oracle資料庫
- Oracle資料庫的啟動與關閉Oracle資料庫
- Oracle資料庫的啟動和關閉Oracle資料庫
- 使用JBoss部署實體Bean,資料庫是oracle9i,出現錯誤,求助!!!Bean資料庫Oracle
- [Oracle] ORA-03113錯誤分析與解決Oracle
- DBCA建庫導致已有資料庫出現ORA-27140錯誤資料庫
- AIX系統啟動資料庫出現ORA-27504錯誤AI資料庫
- sqlplus直連資料庫出現ORA-27504錯誤SQL資料庫
- SWITCHOVER RAC資料庫出現ORA-600(kcctrdf_2)錯誤資料庫
- 資料庫啟動出現ORA-30036錯誤資料庫
- 在做oracle standby時,出現ORA-12557錯誤.Oracle
- 開啟關閉oracle資料庫附加日誌Oracle資料庫