OCI - Unable To Configure Exadata Database Backups by Using bkup_api : Error: corereg: Multiple registry files found in registry location /var/opt/oracle/creg
(Doc ID 2576962.1)
Last updated on MAY 31, 2020
Applies to:
Oracle Database Cloud Exadata Service - Version N/A to N/A [Release 1.0]Information in this document applies to any platform.
Symptoms
Trying to configure backup for database PRODDB failing with error
Following documentation on https://docs.cloud.oracle.com/iaas/Content/Database/Tasks/exabackingupBKUPAPI.htm
The step 5 fails with the error: ERROR: Error: corereg: Multiple registry files found in registry location /var/opt/oracle/creg
Step 5: Use the following command to install the backup configuration, configure the credentials, schedule the backup, and associate the configuration with a database name.
[bkup]# ./bkup -cfg PRODDB_bkup.cfg --dbname=PRODDB
Starting BKUP
Logfile is /var/opt/oracle/log/bkup/bkup_2019-07-19_13:14:07.222427130781.log
[bkup]# ls -lrt /var/opt/oracle/log/bkup/bkup_2019-07-19_13:14:07.222427130781.log
-rw-rw---- 1 oracle oinstall 1010 Jul 19 13:14 /var/opt/oracle/log/bkup/bkup_2019-07-19_13:14:07.222427130781.log
[bkup]# tail -f /var/opt/oracle/log/bkup/bkup_2019-07-19_13:14:07.222427130781.log
2019-07-19 13:14:07.600336 - Logfile is /var/opt/oracle/log/bkup/bkup_2019-07-19_13:14:07.222427130781.log
2019-07-19 13:14:07.607748 - ERROR: Error: corereg: Multiple registry files found in registry location /var/opt/oracle/creg
at /var/opt/oracle/ocde/assistants/bkup/../../../perl_lib/DBAAS/corereg.pm line 1226
corereg::_get_dbname('creg=HASH(0x2f28be0)') called at /var/opt/oracle/ocde/assistants/bkup/../../../perl_lib/DBAAS/creg.pm line 206
creg::new('creg') called at /var/opt/oracle/ocde/assistants/bkup/../../../perl_lib/DBAAS/Common.pm line 183
Common::init('Common=HASH(0x30873b0)', 'HASH(0x3087620)') called at ./bkup line 705
main::init() called at ./bkup line 507
eval {...} called at ./bkup line 506
Changes
Exadata environment migration was done from OCI Classic to OCI.
This database was created using cloud console.
The method to configure automatic backups from console was not attempted.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |