溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點(diǎn)擊 登錄注冊 即表示同意《億速云用戶服務(wù)條款》

RMAN-04006: error from auxiliary database

發(fā)布時(shí)間:2020-08-02 01:29:29 來源:網(wǎng)絡(luò) 閱讀:788 作者:hellovmare 欄目:關(guān)系型數(shù)據(jù)庫

Oracle11g RAC + DG 搭建過程中,在備庫進(jìn)行 duplicate時(shí)報(bào)錯(cuò)如下:

[oracle@xxxx-dg:/u01/app/oracle/11.2/db_1/dbs]$rman target sys/password@racdb  auxiliary sys/password@racdg nocatalog

Recovery Manager: Release 11.2.0.4.0 - Production on Fri Abc 21 17:33:01 xxxx

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

connected to target database: RACDB (DBID=938466123)
using target database control file instead of recovery catalog
connected to auxiliary database (not started)

RMAN> duplicate target database for standby from active database nofilenamecheck;

Starting Duplicate Db at xxxx-xx-21 17:33:04
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at xx/21/xxxx 17:33:05
RMAN-05501: aborting duplication of target database
RMAN-06403: could not obtain a fully authorized session
RMAN-04006: error from auxiliary database: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory

RMAN> exit

通過

RMAN-04006: error from auxiliary database: ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux-x86_64 Error: 2: No such file or directory

可看到,由于連接數(shù)據(jù)庫失敗導(dǎo)致的,回頭發(fā)現(xiàn),之前通過Rman連接數(shù)據(jù)庫時(shí),備庫已經(jīng)是啟動(dòng)到nomount狀態(tài)了,但是當(dāng)進(jìn)行

RMAN> duplicate target database for standby from active database nofilenamecheck;

時(shí),備庫不知由于什么原因down掉了,查看alert日志,發(fā)現(xiàn)確實(shí)在RMAN連接上之后,備庫nomount啟動(dòng)之后,數(shù)據(jù)庫進(jìn)行過shutdown immediate操作,重新將數(shù)據(jù)庫啟動(dòng)至nomount狀態(tài),startup nomount。再次進(jìn)行

duplicate

未報(bào)同樣錯(cuò)誤

向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI