ORA-19504: failed to create file "" 一則案例
今天檢查自己測試庫的時候,發現日誌狂報ORA-19504: failed to create file ""
Thread 1 advanced to log sequence 156 (LGWR switch)
Current log# 3 seq# 156 mem# 0: +DATA/netdata/onlinelog/group_3.261.882674015
Tue Jul 14 14:01:05 2015
Archiver process freed from errors. No longer stopped
Tue Jul 14 14:05:18 2015
Thread 1 cannot allocate new log, sequence 157
Checkpoint not complete
Current log# 3 seq# 156 mem# 0: +DATA/netdata/onlinelog/group_3.261.882674015
ORACLE Instance netdata - Cannot allocate log, archival required
Thread 1 cannot allocate new log, sequence 157
All online logs need archiving
Examine archive trace files for archiving errors
Current log# 3 seq# 156 mem# 0: +DATA/netdata/onlinelog/group_3.261.882674015
Tue Jul 14 14:06:03 2015
Unable to create archive log file '+FRA/pnetdata/archivelog/1_154_882661788.dbf'
ARC3: Error 19504 Creating archive log file to '+FRA/pnetdata/archivelog/1_154_882661788.dbf'
ARCH: Archival stopped, error occurred. Will continue retrying
ORACLE Instance netdata - Archival Error
ORA-16038: log 1 sequence# 154 cannot be archived
ORA-19504: failed to create file ""
ORA-00312: online log 1 thread 1: '+DATA/netdata/onlinelog/group_1.269.882674261'
Tue Jul 14 14:06:03 2015
ARCH: Archival stopped, error occurred. Will continue retrying
ORACLE Instance netdata - Archival Error
ORA-16014: log 1 sequence# 154 not archived, no available destinations
ORA-00312: online log 1 thread 1: '+DATA/netdata/onlinelog/group_1.269.882674261'
Tue Jul 14 14:11:03 2015
Unable to create archive log file '+FRA/pnetdata/archivelog/1_154_882661788.dbf'
ARC1: Error 19504 Creating archive log file to '+FRA/pnetdata/archivelog/1_154_882661788.dbf'
ARCH: Archival stopped, error occurred. Will continue retrying
ORACLE Instance netdata - Archival Error
開始以為是ASM掛了
檢查asm
SQL> select status from v$instance;
STATUS
------------
STARTED
SQL> select group_number,name,state from v$asm_diskgroup
2 ;
GROUP_NUMBER NAME STATE
------------ ------------------------------ -----------
1 DATA MOUNTED
2 FRA MOUNTED
正常的。查詢一下可用空間
ASMCMD> lsdg
State Type Rebal Sector Block AU Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Voting_files Name
MOUNTED EXTERN N 512 4096 1048576 10240 2938 0 2938 0 N DATA/
MOUNTED EXTERN N 512 4096 1048576 5120 30 0 30 0 N FRA/
歸檔已滿,直接清理歸檔
清理完歸檔做了一個完整備份。
Thread 1 advanced to log sequence 156 (LGWR switch)
Current log# 3 seq# 156 mem# 0: +DATA/netdata/onlinelog/group_3.261.882674015
Tue Jul 14 14:01:05 2015
Archiver process freed from errors. No longer stopped
Tue Jul 14 14:05:18 2015
Thread 1 cannot allocate new log, sequence 157
Checkpoint not complete
Current log# 3 seq# 156 mem# 0: +DATA/netdata/onlinelog/group_3.261.882674015
ORACLE Instance netdata - Cannot allocate log, archival required
Thread 1 cannot allocate new log, sequence 157
All online logs need archiving
Examine archive trace files for archiving errors
Current log# 3 seq# 156 mem# 0: +DATA/netdata/onlinelog/group_3.261.882674015
Tue Jul 14 14:06:03 2015
Unable to create archive log file '+FRA/pnetdata/archivelog/1_154_882661788.dbf'
ARC3: Error 19504 Creating archive log file to '+FRA/pnetdata/archivelog/1_154_882661788.dbf'
ARCH: Archival stopped, error occurred. Will continue retrying
ORACLE Instance netdata - Archival Error
ORA-16038: log 1 sequence# 154 cannot be archived
ORA-19504: failed to create file ""
ORA-00312: online log 1 thread 1: '+DATA/netdata/onlinelog/group_1.269.882674261'
Tue Jul 14 14:06:03 2015
ARCH: Archival stopped, error occurred. Will continue retrying
ORACLE Instance netdata - Archival Error
ORA-16014: log 1 sequence# 154 not archived, no available destinations
ORA-00312: online log 1 thread 1: '+DATA/netdata/onlinelog/group_1.269.882674261'
Tue Jul 14 14:11:03 2015
Unable to create archive log file '+FRA/pnetdata/archivelog/1_154_882661788.dbf'
ARC1: Error 19504 Creating archive log file to '+FRA/pnetdata/archivelog/1_154_882661788.dbf'
ARCH: Archival stopped, error occurred. Will continue retrying
ORACLE Instance netdata - Archival Error
開始以為是ASM掛了
檢查asm
SQL> select status from v$instance;
STATUS
------------
STARTED
SQL> select group_number,name,state from v$asm_diskgroup
2 ;
GROUP_NUMBER NAME STATE
------------ ------------------------------ -----------
1 DATA MOUNTED
2 FRA MOUNTED
正常的。查詢一下可用空間
ASMCMD> lsdg
State Type Rebal Sector Block AU Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Voting_files Name
MOUNTED EXTERN N 512 4096 1048576 10240 2938 0 2938 0 N DATA/
MOUNTED EXTERN N 512 4096 1048576 5120 30 0 30 0 N FRA/
歸檔已滿,直接清理歸檔
清理完歸檔做了一個完整備份。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24486203/viewspace-1735731/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle案例01——ORA-09925: Unable to create audit trail fileOracleAI
- Failed to create or upgrade OLRAI
- BUG:Failed to create or upgrade OLRAI
- 恢復一則 alter database create datafile '' as ''Database
- 【故障處理】Linux下匯入匯出“IMP-00030: failed to create file ... for write”LinuxAI
- 【案例】MySQL count操作優化案例一則MySql優化
- oracle啟動案例一則Oracle
- IO優化案例一則優化
- Step 3: Create the Initialization Parameter File (61)
- ftp 報錯 550 Failed to open fileFTPAI
- AMDU資料抽取案例一則
- ftp_rawlist: Unable to create temporary file.FTP
- Using Create directory & UTL_FILE in OracleOracle
- PyCharm啟動報錯:Failed to create JVM.解決辦法之一PyCharmAIJVM
- 包拯斷案 | create connections failed的深度剖析 還故障一個真相AI
- yum-GPG key retrieval failed: No such file or directoryAI
- VMware vmdk錯誤: Failed to lock the file.AI
- device-mapper create ioctl failed: Device or resource busydevAPPAI
- Unable to create index.lock File exists錯誤Index
- Step 5: Create a Server Parameter File (Recommended) (63)Server
- 【MySQL】Too many connections 案例一則MySql
- System State 轉儲分析案例一則
- 【MySQL】mysqldgotsignal11案例一則MySqlGo
- 巧用分割槽查詢案例一則
- ERROR [main] zookeeper.RecoverableZooKeeper: ZooKeeper create failed after 4 attemptsErrorAI
- Oracle - ORA-09817: Write to audit file failedOracleAI
- can't create PID file問題處理
- 【MySQL】 DB 回滾崩潰案例一則MySql
- 【MySQL】mysqld got signal 11 案例一則MySqlGo
- ORA-00245:control file backup failed;targetis likely on local file systemAI
- ORA-00245: control file backup failed; target is likely on a local file systemAI
- Load of cache file failed. rc=1301AI
- no- valid devices were found on which to create new file systemsdev
- nginx的一些規則案例備忘Nginx
- 資料庫壞塊解決案例一則資料庫
- 菜鳥調錯(一)——Maven專案部署到Jboss出現:Failed to create a new SAX parserMavenAI
- IDEA啟動時報Failed to create JVM錯誤的解決IdeaAIJVM
- mysql啟動報錯Manager of pid-file quit without updating file.[FAILED]MySqlUIAI