netbackup rman restore archivelog 報ora-19511錯誤處理過程
問題簡述:netbackup rman restore archivelog 報ora-19511錯誤,導致恢復歸檔日誌不成功。
作業系統:aix 5.3
資料庫:oracle 9.2.0.6
p550a[oracle]$rman target / catalog rman_afis40/rman_afis40@rman
Recovery Manager: Release 9.2.0.6.0 - 64bit Production
Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
connected to target database: AFIS40 (DBID=830087130)
connected to recovery catalog database
RMAN> run {
a2> llocate channel t1 type 'SBT_TAPE'
parms 'ENV=(NB_ORA_SERV=gzbackup,
NB_ORA_SCHED=Default-Application-Backup,
NB_ORA_CLASS=ora_arch_afis40,
NB_ORA_CLIENT=p550a)';
restore archivelog from sequence 2342;
release channel t1;
}
3> 4> 5> 6> 7> 8> 9>
allocated channel: t1
channel t1: sid=44 devtype=SBT_TAPE
channel t1: Veritas NetBackup for Oracle - Release 6.5 (2009050106)
Starting restore at 01-APR-10
archive log thread 1 sequence 2373 is already on disk as file /arch_dg/1_2373.dbf
channel t1: starting archive log restore to default destination
channel t1: restoring archive log
archive log thread=1 sequence=2342
channel t1: restoring archive log
archive log thread=1 sequence=2343
channel t1: restoring archive log
archive log thread=1 sequence=2344
channel t1: restoring archive log
archive log thread=1 sequence=2345
channel t1: restoring archive log
archive log thread=1 sequence=2346
channel t1: restoring archive log
archive log thread=1 sequence=2347
channel t1: restoring archive log
archive log thread=1 sequence=2348
channel t1: restoring archive log
archive log thread=1 sequence=2349
channel t1: restoring archive log
archive log thread=1 sequence=2350
channel t1: restoring archive log
archive log thread=1 sequence=2351
channel t1: restoring archive log
archive log thread=1 sequence=2352
channel t1: restoring archive log
archive log thread=1 sequence=2353
channel t1: restoring archive log
archive log thread=1 sequence=2354
channel t1: restoring archive log
archive log thread=1 sequence=2355
channel t1: restoring archive log
archive log thread=1 sequence=2356
channel t1: restoring archive log
archive log thread=1 sequence=2357
channel t1: restoring archive log
archive log thread=1 sequence=2358
channel t1: restoring archive log
archive log thread=1 sequence=2359
channel t1: restoring archive log
archive log thread=1 sequence=2360
channel t1: restoring archive log
archive log thread=1 sequence=2361
channel t1: restoring archive log
archive log thread=1 sequence=2362
released channel: t1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 04/01/2010 17:23:45
ORA-19507: failed to retrieve sequential file, handle="LOG_AFIS40_s42_t715190191
_p1", parms=""
ORA-27029: skgfrtrv: sbtrestore returned error
ORA-19511: Error received from media manager layer, error text:
Failed to process backup file
透過查詢metalink和google建議檢查
On a Windows master server, run the command:
DISALLOW_CLIENT_LIST_RESTORE = YES
DISALLOW_CLIENT_RESTORE = YES
建議改為
DISALLOW_CLIENT_LIST_RESTORE = NO
DISALLOW_CLIENT_RESTORE = NO
或netbackup 備份軟體修改master server屬性
選擇client attributes
給allow client browse和allow client restore鉤上即可
然後重新啟動netbackup 服務,再執行restore archivelog 正常
p550a[oracle]$rman target / catalog rman_afis40/rman_afis40@rman
Recovery Manager: Release 9.2.0.6.0 - 64bit Production
Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
connected to target database: AFIS40 (DBID=830087130)
connected to recovery catalog database
RMAN> run {
allocate channel t1 type 'SBT_TAPE'
parms 'ENV=(NB_ORA_SERV=gzbackup,
NB_ORA_SCHED=Default-Application-Backup,
NB_ORA_CLASS=ora_arch_afis40,
NB_ORA_CLIENT=p550a)';
restore archivelog from sequence 2342;
release channel t1;
}
3> 4> 5> 6> 7> 8> 9>
allocated channel: t1
channel t1: sid=44 devtype=SBT_TAPE
channel t1: Veritas NetBackup for Oracle - Release 6.5 (2009050106)
Starting restore at 01-APR-10
archive log thread 1 sequence 2373 is already on disk as file /arch_dg/1_2373.dbf
channel t1: starting archive log restore to default destination
channel t1: restoring archive log
archive log thread=1 sequence=2342
channel t1: restoring archive log
archive log thread=1 sequence=2343
channel t1: restoring archive log
archive log thread=1 sequence=2344
channel t1: restoring archive log
archive log thread=1 sequence=2345
channel t1: restoring archive log
archive log thread=1 sequence=2346
channel t1: restoring archive log
archive log thread=1 sequence=2347
channel t1: restoring archive log
archive log thread=1 sequence=2348
channel t1: restoring archive log
archive log thread=1 sequence=2349
channel t1: restoring archive log
archive log thread=1 sequence=2350
channel t1: restoring archive log
archive log thread=1 sequence=2351
channel t1: restoring archive log
archive log thread=1 sequence=2352
channel t1: restoring archive log
archive log thread=1 sequence=2353
channel t1: restoring archive log
archive log thread=1 sequence=2354
channel t1: restoring archive log
archive log thread=1 sequence=2355
channel t1: restoring archive log
archive log thread=1 sequence=2356
channel t1: restoring archive log
archive log thread=1 sequence=2357
channel t1: restoring archive log
archive log thread=1 sequence=2358
channel t1: restoring archive log
archive log thread=1 sequence=2359
channel t1: restoring archive log
archive log thread=1 sequence=2360
channel t1: restoring archive log
archive log thread=1 sequence=2361
channel t1: restoring archive log
archive log thread=1 sequence=2362
channel t1: restored backup piece 1
piece handle=LOG_AFIS40_s42_t715190191_p1 tag=LOG_BACKUP params=NULL
channel t1: restore complete
channel t1: starting archive log restore to default destination
channel t1: restoring archive log
archive log thread=1 sequence=2363
channel t1: restoring archive log
archive log thread=1 sequence=2364
channel t1: restoring archive log
archive log thread=1 sequence=2365
channel t1: restoring archive log
archive log thread=1 sequence=2366
channel t1: restoring archive log
archive log thread=1 sequence=2367
channel t1: restored backup piece 1
piece handle=LOG_AFIS40_s46_t715190760_p1 tag=LOG_BACKUP params=NULL
channel t1: restore complete
channel t1: starting archive log restore to default destination
channel t1: restoring archive log
archive log thread=1 sequence=2368
channel t1: restoring archive log
archive log thread=1 sequence=2369
channel t1: restored backup piece 1
piece handle=LOG_AFIS40_s50_t715191214_p1 tag=LOG_BACKUP params=NULL
channel t1: restore complete
channel t1: starting archive log restore to default destination
channel t1: restoring archive log
archive log thread=1 sequence=2370
channel t1: restored backup piece 1
piece handle=LOG_AFIS40_s53_t715191468_p1 tag=LOG_BACKUP params=NULL
channel t1: restore complete
channel t1: starting archive log restore to default destination
channel t1: restoring archive log
archive log thread=1 sequence=2371
channel t1: restored backup piece 1
piece handle=LOG_AFIS40_s56_t715191721_p1 tag=LOG_BACKUP params=NULL
channel t1: restore complete
channel t1: starting archive log restore to default destination
channel t1: restoring archive log
archive log thread=1 sequence=2372
channel t1: restored backup piece 1
piece handle=LOG_AFIS40_s59_t715191992_p1 tag=LOG_BACKUP params=NULL
channel t1: restore complete
Finished restore at 01-APR-10
released channel: t1
RMAN>
4 總結
在對netbackup 軟體進行過修改配置時,最好master server和media server都重新啟動下服務。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7199859/viewspace-631043/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- backup archivelog like 報rman-20242錯誤處理過程Hive
- rman restore archivelog logRESTHive
- 處理過期的archivelog和rman備份Hive
- Standby上執行RMAN報錯RMAN-10006錯誤處理
- IMP過程中報ORA-00907錯誤的處理
- OGG 配置過程中的錯誤處理
- pl/sql developer除錯儲存過程報錯處理SQLDeveloper除錯儲存過程
- rman 還原歸檔日誌(restore archivelogRESTHive
- rman 還原歸檔日誌(restore archivelog)RESTHive
- restore database報RMAN-06026和RMAN-06023錯誤RESTDatabase
- 錯誤處理:如何通過 error、deferred、panic 等處理錯誤?Error
- Restore ArchivelogRESTHive
- 【問題處理】dbca建庫過程中報 ORA-04031錯誤的排查
- 一次ORA-00257錯誤的處理過程
- ovftool匯出虛擬機器報錯處理過程!虛擬機
- rman建立catalog過程及問題處理
- 記一次ora-04030錯誤的處理過程
- 錯誤處理
- 處理Oracle的RMAN-08137 RMAN-08515錯誤Oracle
- STS(SQL Tuning Set)匯入匯出過程及錯誤處理SQL
- Dataguard報錯DEPENDS UPON ME, BUT MY DESTINATION INDEX處理過程Index
- PHP 錯誤處理PHP
- php錯誤處理PHP
- Go 錯誤處理Go
- Swift錯誤處理Swift
- Zabbix錯誤處理
- mysqldump錯誤處理MySql
- 在學習和使用rman過程中的坑和錯誤
- MySQL過程報 Parameter number N is not an OUT parameter錯誤MySql
- RMAN刪除歸檔日誌出現RMAN-0813錯誤的處理
- rman還原歸檔時報RMAN-20242錯誤分析和處理
- RMAN RAC Archivelog Restore Fails with RMAN-20242 (Doc ID 180169.1)HiveRESTAI
- redis cluster + sentinel詳細過程和錯誤處理三主三備三哨兵Redis
- PHP錯誤處理和異常處理PHP
- go的錯誤處理Go
- Python錯誤處理Python
- restore archivelog 的各種用法RESTHive
- restore archivelog 的各種用法RESTHive