久久精品人人爽,华人av在线,亚洲性视频网站,欧美专区一二三

DG搭建常見問題處理的方法是什么

159次閱讀
沒有評論

共計 5302 個字符,預計需要花費 14 分鐘才能閱讀完成。

這篇文章主要講解了“DG 搭建常見問題處理的方法是什么”,文中的講解內容簡單清晰,易于學習與理解,下面請大家跟著丸趣 TV 小編的思路慢慢深入,一起來研究和學習“DG 搭建常見問題處理的方法是什么”吧!

1、ORA-09925 報錯

報錯 1:

connected to auxiliary database (not started)
released channel: prmy1
released channel: prmy2
released channel: prmy3
released channel: prmy4
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 07/27/2018 10:48:43
RMAN-05501: aborting duplication of target database
RMAN-03015: error occurred in stored script Memory Script
RMAN-04014: startup failed: ORA-09925: Unable to create audit trail file
Linux-x86_64 Error: 2: No such file or directory
Additional information: 9925

原因: 備庫 adump 文件不存在

解決:

mkdri -p $ORACLE_HOME/admin/db_unique_name/adump

例如:

mkdir -p $ORACLE_BASE/admin/mssdbdg/adump

2、RMAN-05537 報錯

報錯 2:

Starting Duplicate Db at 27-JUL-18
released channel: prmy1
released channel: prmy2
released channel: prmy3
released channel: prmy4
released channel: stby
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 07/27/2018 10:57:28
RMAN-05501: aborting duplication of target database
RMAN-05537: DUPLICATE without TARGET connection when auxiliary instance is started with spfile cannot use SPFILE clause

原因: 備庫跑了 duplicate 腳本, 沒有刪除 spfile 文件,重新啟動數據庫到 nomount

解決: 先刪除 spfile 文件,重新啟動數據庫到 nomount

3、ORA-17628: Oracle error 19505 報錯

contents of Memory Script:
 backup as copy current controlfile for standby auxiliary format  /ORADATA/RESNETDBDG/control01.ctl 
 restore clone primary controlfile to  /ORADATA/fast_recovery_area/RESNETDBDG/control02.ctl  from
  /ORADATA/RESNETDBDG/control01.ctl 
executing Memory Script
Starting backup at 26-JUL-2018 18:42:20
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile copy
copying standby control file
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 07/26/2018 18:42:21
RMAN-05501: aborting duplication of target database
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 07/26/2018 18:42:21
ORA-17628: Oracle error 19505 returned by remote Oracle server

原因:目標端路徑不存在,可能是文件系統路徑不存在,也可能是權限不夠,如果是 ASM,請確認磁盤組是否存在,磁盤的權限是否正確

4、ORA-01017 報錯

這里是報密碼錯誤,SYS 用戶登錄采用的是密碼文件認證的方法,所以需要確保密碼文件可讀寫和密碼文件的名字中的 ORACLE_SID 與監聽中的 ORACLE_SID 是對應的。密碼錯誤分很多情況。

4.1 第一次搭建時報密碼錯誤

4.1.1 密碼文件不一致

        通過在主庫的一個節點修改密碼后,將此節點的密碼文件復制給其它所有的節點,包括主庫的節點和備庫的所有的節點,確認 Oracle 用戶有對寫的權限。

4.1.2 目標端報密碼錯誤

        已經完成 4.1.1 的操作,但是仍然報密碼錯誤。這個時候很可能是靜態監聽里面的數據庫 ORACLE_SID 與密碼文件中的 SID 不一致。

5、日志不傳輸到備庫分析方法

SELECT DESTINATION, STATUS, ERROR FROM V$ARCHIVE_DEST WHERE TARGET= STANDBY

  查看 ERROR 的報錯代碼,根據報錯代碼來解決問題。

6、ORA-00845 報錯

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 07/30/2018 02:22:10
RMAN-03015: error occurred in stored script Memory Script
RMAN-04014: startup failed: ORA-00845: MEMORY_TARGET not supported on this system

  由于使用 AMM 功能,但是 SHM 大小沒有 AMM 那么大,所有需要重新 SHM,并指定跟 AMM 相同的大小

 mount -o remount,default,size=102G /dev/shm

  修改 /etc/fstab 中的值

7、監聽配置沒問題,sqlplus 測試沒問題,tnsping 也沒問題,可還是報下邊錯誤  

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 08/05/2018 02:30:01
RMAN-05501: aborting duplication of target database
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of backup command on prmy2 channel at 08/05/2018 02:30:01
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-12154: TNS:could not resolve the connect identifier specified
ORA-17629: Cannot connect to the remote database server
RMAN

解決:把 tnsnames.ora 的內容,在 grid 的 network/admin 下復制一份。可以在 MOS 上查看 RMAN Active Duplicate on RAC fails with ORA-17629 and ORA-17627: ORA-12154 (文檔 ID 1982003.1)

8、duplicate 出錯,查看原因是原庫有兩個數據文件沒有使用 OMF 格式,無法傳過去。

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 08/05/2018 20:42:25
RMAN-05501: aborting duplication of target database
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of backup command on prmy4 channel at 08/05/2018 20:01:35
ORA-17628: Oracle error 19505 returned by remote Oracle server
RMAN-03009: failure of backup command on prmy4 channel at 08/05/2018 20:01:20
ORA-17628: Oracle error 19505 returned by remote Oracle server

解決:查看錯誤代碼:MOS  1331986.1

注意,做之前先確定一下是不是 OMF 文件,若不是,先在 asm 的子層建好目錄或在腳本里把子層目錄寫好。

感謝各位的閱讀,以上就是“DG 搭建常見問題處理的方法是什么”的內容了,經過本文的學習后,相信大家對 DG 搭建常見問題處理的方法是什么這一問題有了更深刻的體會,具體使用情況還需要大家實踐驗證。這里是丸趣 TV,丸趣 TV 小編將為大家推送更多相關知識點的文章,歡迎關注!

正文完
 
丸趣
版權聲明:本站原創文章,由 丸趣 2023-07-20發表,共計5302字。
轉載說明:除特殊說明外本站除技術相關以外文章皆由網絡搜集發布,轉載請注明出處。
評論(沒有評論)
主站蜘蛛池模板: 西峡县| 临洮县| 商南县| 师宗县| 荣成市| 鄂尔多斯市| 陈巴尔虎旗| 无为县| 天柱县| 噶尔县| 临夏县| 祥云县| 西昌市| 沅陵县| 元阳县| 岳普湖县| 梓潼县| 玉门市| 固始县| 淮安市| 城固县| 信丰县| 山阳县| 云林县| 三江| 宜宾市| 阳朔县| 绵竹市| 西乌珠穆沁旗| 镇雄县| 长治市| 泰兴市| 诸暨市| 无锡市| 民勤县| 龙川县| 临澧县| 乐至县| 三原县| 时尚| 武汉市|