DISABLE FLASHBACK ERROR during Provision or Refresh of an Oracle VDB (KBA4097)
KBA
KBA# 4097Troubleshooting DISABLE FLASHBACK ERROR on provisioning or refresh an Oracle VDB
Provisioning of an Oracle VDB can fail with the event:
command: umask 027; . $DB_SCRIPT_DIR/setup-oraenv.sh; $DLPX_SHELL -x $DB_SCRIPT_DIR/doDisableFlashback.sh $DB_SCRIPT_DIR "$LOGON_STR" output:END_OF_SETUP END_OF_SETUP Recovery Manager: Release 19.0.0.0.0 - Production on Mon Oct 3 21:47:10 2022 Version 19.7.0.0.0 Copyright (c) 1982, 2019, Oracle and/or its affiliates. All rights reserved. RMAN> connected to target database: VDB1 (DBID=792525787, not open) RMAN> echo set on RMAN> CONFIGURE CONTROLFILE AUTOBACKUP OFF; using target database control file instead of recovery catalog old RMAN configuration parameters: CONFIGURE CONTROLFILE AUTOBACKUP OFF; new RMAN configuration parameters: CONFIGURE CONTROLFILE AUTOBACKUP OFF; new RMAN configuration parameters are successfully stored RMAN> EXIT; Recovery Manager complete. DISABLE_FLASHBACK_ERROR
Resolution
This error can be generated when there is a glogin.sql
file present in the Oracle home.
Ensure that there is no $ORACLE_HOME/sqlplus/admin/glogin.sql
present, if so move this file and rerun the provision/refresh.