问题
Starting backup at 06-JUN-24
released channel: cl1
released channel: cl2
released channel: c1
released channel: c2
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 06/06/2024 17:32:36
RMAN-05501: aborting duplication of target database
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of backup command on cl1 channel at 06/06/2024 17:32:36
ORA-17629: Cannot connect to the remote database server
ORA-17630: Mismatch in the remote file protocol version client 2 server 3
该报错是12.1的bug需要打补丁
处理方法
应用18633374补丁
unzip p18633374_12102231017_Linux-x86-64.zip
chown -R oracle:oinstall 18633374/
chown -R oracle:oinstall 18633374/
[oracle@racstd1 ~]$ cd /patches/18633374/
[oracle@racstd1 18633374]$ /u01/app/oracle/product/12.1.0/dbhome_1/OPatch/opatch prereq CheckConflictAgainstOHWithDetail -ph ./
Oracle Interim Patch Installer version 12.2.0.1.42
Copyright (c) 2024, Oracle Corporation. All rights reserved.
[oracle@racstd1 18633374]$ /u01/app/oracle/product/12.1.0/dbhome_1/OPatch/opatch lspatches
21560713;
25107080;
22674709;Database PSU 12.1.0.2.160419, Oracle JavaVM Component (Apr2016)
21923026;
20907061;
23200778;
23006522;OCW Interim patch for 23006522
22806133;DATABASE BUNDLE PATCH: 12.1.0.2.160419 (22806133)
OPatch succeeded.