My Oracle Support Banner

Permission error occurs when executing ODABR (Doc ID 2868083.1)

Last updated on APRIL 17, 2023

Applies to:

Oracle Database Appliance Software - Version 19.11.0.0.0 ODA and later
Information in this document applies to any platform.

Symptoms

As shown below, when you perform an ODABR, an error occurs.

# /opt/odabr/odabr backup -destination /odadata/odabackup/systembackup
INFO: 2021-09-06 10:52:45: Please check the logfile '/opt/odabr/out/log/odabr_xxxxx.log' for more details

...

INFO: 2021-09-06 10:52:45: Checking superuser
INFO: 2021-09-06 10:52:45: Checking Bare Metal
INFO: 2021-09-06 10:52:45: Making an rsync backup only

You have elected to backup via rsync and not retain the LVM snapshots of your file system
If you need to restore, you will need to call support for assistance.
Do you want continue? (yes/no): yes
INFO: 2021-09-06 10:52:50: Local destination is '/odadata/odabackup/systembackup

************************
 ODA System Node backup
************************
choose the filesystem to backup:
  0. All following filesystems
  1. /boot filesystem
  2. /     filesystem
  3. /opt  filesystem
  4. /u01  filesystem
  5. exit

Enter your choice: 0
INFO: 2021-09-06 10:53:03: Checking LVM size
INFO: 2021-09-06 10:53:03: Checking 'boot' device size
INFO: 2021-09-06 10:53:03: Checking 'root' device size
INFO: 2021-09-06 10:53:03: Checking 'opt' device size
INFO: 2021-09-06 10:53:03: Checking 'u01' device size
INFO: 2021-09-06 10:53:03: Destination needs 48 Gb free
INFO: 2021-09-06 10:53:03: Making boot device backup
INFO: 2021-09-06 10:53:03: Getting EFI device
INFO: 2021-09-06 10:53:03: ...step1 - unmounting EFI
INFO: 2021-09-06 10:53:03: ...step2 - making efi device backup
SUCCESS: 2021-09-06 10:53:04: ...EFI device backup saved as '/opt/odabr/out/efi.img'
INFO: 2021-09-06 10:53:04: ...step3 - checking EFI device backup
INFO: 2021-09-06 10:53:04: Getting boot device
INFO: 2021-09-06 10:53:04: ...step1 - making boot device backup using tar
SUCCESS: 2021-09-06 10:53:08: ...boot content saved as '/opt/odabr/out/boot.tar.gz'
INFO: 2021-09-06 10:53:08: ...step2 - unmounting boot
INFO: 2021-09-06 10:53:08: ...step3 - making boot device backup using dd
SUCCESS: 2021-09-06 10:53:09: ...boot device backup saved as '/opt/odabr/out/boot.img
INFO: 2021-09-06 10:53:09: ...step4 - mounting boot
INFO: 2021-09-06 10:53:09: ...step5 - mounting EFI
INFO: 2021-09-06 10:53:09: ...step6 - checking boot device backup
INFO: 2021-09-06 10:53:10: Making OCR physical backup
ERROR: 2021-09-06 10:53:16: Error saving OCR backup
WARNING: 2021-09-06 10:53:16: OCR physical backup failed

 

The odabr_xxxxx.log outputs a permission error as follows

2021-09-06 10:53:10: Command output:
>  fsck from util-linux 2.23.2
>  /opt/odabr/out/boot.img: clean, 67/128016 files, 146429/512000 blocks ,
>End Command output
2021-09-06 10:53:10: ...boot device backup check passed
2021-09-06 10:53:10: INFO:  Making OCR physical backup
2021-09-06 10:53:10: Getting OCR manual backup
2021-09-06 10:53:10: Executing cmd: /u01/app/19.11.0.0/grid/bin/ocrconfig -manualbackup
2021-09-06 10:53:15: Command output:
>  
>  node1     2021/09/06 10:53:11     +DATA:/OCRBACKUP/backup_20210906_105311.ocr.274.1082544791     4269329508      ,
>End Command output
2021-09-06 10:53:15: Executing cmd: /u01/app/19.11.0.0/grid/bin/asmcmd --nocp cp +DATA/OCRBACKUP/backup_20210906_105311.ocr.274.1082544791 /opt/odabr/out/ocrbackup_xxxxx.bck
2021-09-06 10:53:16: Command output:
>  copying +DATA/OCRBACKUP/backup_20210906_105311.ocr.274.1082544791 -> /opt/odabr/out/hbi/ocrbackup_xxxxx.bck
>  ASMCMD-8016: copy source '+DATA/OCRBACKUP/backup_20210906_105311.ocr.274.1082544791' and target '/opt/odabr/out/ocrbackup_xxxxx.bck' failed
>  ORA-19505: failed to identify file "/opt/odabr/out/ocrbackup_xxxxx.bck"
>  ORA-27037: unable to obtain file status
>  Linux-x86_64 Error: 13: Permission denied
>  Additional information: 9
>  ORA-15120: ASM file name '/opt/odabr/out/ocrbackup_xxxxx.bck' does not begin with the ASM prefix character
>  ORA-06512: at "SYS.X$DBMS_DISKGROUP", line 617
>  ORA-06512: at line 3 (DBD ERROR: OCIStmtExecute) ,
>End Command output
2021-09-06 10:53:16: ERROR:  Error saving OCR backup

 

 

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
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.