在使用 SMO 执行归档日志修剪期间, RMAN 抱怨 Oracle 版本不匹配
适用于
- SnapManager for Oracle ( SMO ) for Windows 3.4.x
- SnapManager for SAP ( SMSAP ) for Windows 3.4.x
- Oracle 12.1.0.2 , 12.2.0.1
问题
从升级数据库后(例如) Oracle 12.1 到 Oracle 12.2 ,在归档日志修剪 SnapManager 作业期间,有时会出现以下错误( * ):
[Execution Monitor Thread [[LIST ARCHIVELOG UNTIL TIME "TO_DATE(' 2020-01-01:08:00:00 ',
'yyyy-MM-dd:HH24:MI:SS ' )" LIKE 'M:\_SCDPROD_ARCHLOGS\FLASH_RECOVERY_AREA\<ORASID>%';]]] [DEBUG]:
EXE-00001: Shell result [0:00:00.641] (Exit Value: 1):
Recovery Manager: Release 12.1.0.2.0 - Production on Tue Sep 15 11:05:34 2020
Copyright (c) 1982, 2017, Oracle and/or its affiliates. All rights reserved.
RMAN>
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-06429: TARGET database is not compatible with this version of RMAN
RMAN-06618: RMAN client and database release mismatch; indicated database release is 12.2.0.1