cancel
Showing results for 
Search instead for 
Did you mean: 

DB13 - full online +redo log backup

Former Member
0 Kudos

My system is heterogeneous distributed system which has SAP Central Instance running on Windows 2008  and Oracle Database running on Oracle Data Appliance (ODA) Operating system is Oracle Linux.

My full online + redo log backup failing on step of profile backup with following error message.

The spfileERL1.ora successflly created in /oracleERL/sapprof folder

File permission as below.

-rw-rw---- 1 oracle asmadmin  4608 Mar 11 21:26 spfileERL1.ora

BR0203I to /export/ERL/

BR0278E Command output of 'LANG=C cd /oracle/ERL/sapprof && LANG=C cp initERL1.ora spfileERL1.ora /export/ERL/saparch/ERL1':

cp: cannot open `spfileERL1.ora' for reading: Permission denied

Please help me.

Karu

Accepted Solutions (0)

Answers (4)

Answers (4)

JamesZ
Advisor
Advisor
0 Kudos

Roman N's reply should help here, means Note 1598594

former_member207186
Contributor
0 Kudos

Hi,

As you are using RAC & ASM, please refer to SAP Note 1598594 point 5 for correct configuration. Especially the files should be copied, the profile changes and also the owners and authorizations.

Regards,

Bíborka

Former Member
0 Kudos

Please perform checks/configuration according to SAP Note 1598594 - BR*Tools configuration for Oracle installation using user "oracle".

former_member182657
Active Contributor
0 Kudos

Hi Karu,


-rw-rw---- 1 oracle asmadmin  4608 Mar 11 21:26 spfileERL1.ora

I think ownership for the file spfileERL1.ora should be as like


-rw-rw---- 1 oracle dba  4608 Mar 11 21:26 spfileERL1.ora

You need to provide dba group permissions on the file.Could you check once & try again.

Regards,

Former Member
0 Kudos

Hello Rana,

My Oracle environment is RAC and ASM grid.

I created /oracle/ERL/sapporf file folder owner and group as oracle:dba. But when the file created it has ownership as above. The file has been created by DB13 - brbackup command.

Thanks

Karu

former_member182657
Active Contributor
0 Kudos

Hi Karu,

As using RAC & ASM grid,ownership for the file is fine here i.e with asmadmin .

Could you share the complete log file here.

Thanks,

Former Member
0 Kudos


Hi Rana

Here is full logfile

BR0051I BRBACKUP 7.20 (36)
BR0055I Start of database backup: bepzuygf.fnd 2015-03-06 14.07.29
BR0484I BRBACKUP log file: /oracle/ERL/sapbackup/bepzuygf.fnd
BR0477I Oracle pfile /oracle/ERL/sapprof/initERL1.ora created from spfile +DATA/ERL/spfileERL.ora
BR1805I Oracle spfile /oracle/ERL/sapprof/spfileERL1.ora created from pfile /oracle/ERL/sapprof/initERL1.ora

BR0280I BRBACKUP time stamp: 2015-03-06 14.07.32
BR1351I Configuration of database services:

BR0280I BRBACKUP time stamp: 2015-03-06 14.07.32
BR1352I Status of database services:

BR0101I Parameters

Name                           Value

oracle_sid                     ERL1
oracle_home                    /oracle/ERL/112
oracle_profile                 /oracle/ERL/sapprof/initERL1.ora
oracle_spfile                  +DATA/ERL/spfileERL.ora
sapdata_home                   /oracle/ERL
sap_profile                    /oracle/ERL/sapprof/initERL1.sap
backup_mode                    FULL
backup_type                    online
backup_dev_type                disk
backup_root_dir                /export/ERL/sapbackup
disk_copy_cmd                  rman
cpio_disk_flags                -pdcu
exec_parallel                  0
parallel_instances             ERL1:/oracle/ERL/112@ERL1,
                               ERL2:/oracle/ERL/112@ERL2
db_services                    yes
asm_ora_sid                    +ASM1
asm_ora_home                   /u01/app/11.2.0.4/grid
asm_root_dir                   ASM
_rem_sql_call                  yes
_set_rem_env                   yes
_remote_exec                   ssh
_remote_copy                   scp
system_info                    g00adm/g00adm tlcinfodas04 Linux 2.6.39-400.126.1.el5uek #1 SMP Fri Sep 20 10:54:38 PDT 2013 x86_64
oracle_info                    ERL 11.2.0.4.0 8192 1464 31685550 tlcinfodas04 UTF8 UTF8 450168708 &ERL
sap_info                       700 SAPSR3 ERL TEMPLICENSE R3_ORA INITIAL
make_info                      linuxx86_64 OCI_102 Mar 29 2014 721_REL
command_line                   brbackup -u / -jid FLLOG20150306140728 -c force -t online -m full -p initERL1.sap -a -c force -p initERL1.sap -sd
br_env                         SAPSYSTEMNAME=G00,
                               RSEC_SSFS_DATAPATH=/usr/sap/G00/SYS/global/security/rsecssfs/data,
                               RSEC_SSFS_KEYPATH=/usr/sap/G00/SYS/global/security/rsecssfs/key,
                               SAPDATA_HOME=/oracle/ERL/,
                               ORACLE_SID=ERL1,
                               ORACLE_HOME=/oracle/ERL/112,
                               NLS_LANG=AMERICAN_AMERICA.UTF8,
                               DB_SID=ERL,
                               SAPEXE=/sapmnt/ERL/exe,
                               BR_RSC=1

BR0116I ARCHIVE LOG LIST before backup for database instance ERL1

Parameter                      Value

Database log mode              Archive Mode
Automatic archival             Enabled
Archive destination            +RECO/erl/oraarch
Archive format                 %t_%s_%r.dbf
Oldest online log sequence     1461
Next log sequence to archive   1464
Current log sequence           1464             SCN: 31685550
Database block size            8192             Thread: 1
Current system change number   31698215         ResetId: 868461188

BR0116I ARCHIVE LOG LIST before backup for database instance ERL2

Parameter                      Value

Database log mode              Archive Mode
Automatic archival             Enabled
Archive destination            +RECO/erl/oraarch
Archive format                 %t_%s_%r.dbf
Oldest online log sequence     788
Next log sequence to archive   791
Current log sequence           791              SCN: 31685553
Database block size            8192             Thread: 2
Current system change number   31698219         ResetId: 868461188

BR0118I Tablespaces and data files

Tablespace     TS-Status  F-Status  File                                                       Size   Id.     Device  Link    Type       MaxSize     IncrSize  BlkSize      CrtSize         CrtScn

PSAPSR3        ONLINE*    ONLINE+   +DATA/erl/datafile/psapsr3.277.868457893             8388616192    4          -1  NOLINK  ASM    10485760000     20971520     8192   8388608000         202014
PSAPSR3        ONLINE*    ONLINE+   +DATA/erl/datafile/psapsr3.278.868457927             2097160192    5          -1  NOLINK  ASM    10485760000     20971520     8192   2097152000         202294
PSAPSR3        ONLINE*    ONLINE+   +DATA/erl/datafile/psapsr3.279.868457935             8388616192    6          -1  NOLINK  ASM    10485760000     20971520     8192   8388608000         202620
PSAPSR3        ONLINE*    ONLINE+   +DATA/erl/datafile/psapsr3.280.868457969             2097160192    7          -1  NOLINK  ASM    10485760000     20971520     8192   2097152000         202889
PSAPSR3        ONLINE*    ONLINE+   +DATA/erl/datafile/psapsr3.281.868457977             8388616192    8          -1  NOLINK  ASM    10485760000     20971520     8192   8388608000         203168
PSAPSR3        ONLINE*    ONLINE+   +DATA/erl/datafile/psapsr3.282.868458009             2097160192    9          -1  NOLINK  ASM    10485760000     20971520     8192   2097152000         203436
PSAPSR3        ONLINE*    ONLINE+   +DATA/erl/datafile/psapsr3.283.868458019             8388616192   10          -1  NOLINK  ASM    10485760000     20971520     8192   8388608000         203711
PSAPSR3        ONLINE*    ONLINE+   +DATA/erl/datafile/psapsr3.284.868458051             2097160192   11          -1  NOLINK  ASM    10485760000     20971520     8192   2097152000         203981
PSAPSR3700     ONLINE*    ONLINE+   +DATA/erl/datafile/psapsr3700.285.868458061         10989084672   12          -1  NOLINK  ASM    34359721984     20971520     8192   8388608000         204269
PSAPSR3700     ONLINE*    ONLINE+   +DATA/erl/datafile/psapsr3700.286.868458095         11072970752   13          -1  NOLINK  ASM    34359721984     20971520     8192   8388608000         204547
PSAPSR3700     ONLINE*    ONLINE+   +DATA/erl/datafile/psapsr3700.287.868458129         11072970752   14          -1  NOLINK  ASM    34359721984     20971520     8192   8388608000         204828
PSAPSR3700     ONLINE*    ONLINE+   +DATA/erl/datafile/psapsr3700.288.868458165         10989084672   15          -1  NOLINK  ASM    34359721984     20971520     8192   8388608000         205105
PSAPSR3USR     ONLINE*    ONLINE+   +DATA/erl/datafile/psapsr3usr.289.868458201            20979712   16          -1  NOLINK  ASM    10485760000     20971520     8192     20971520         205376
PSAPTEMP       ONLINE#    ONLINE+   +DATA/erl/tempfile/psaptemp.276.868457603            2097160192   -1          -1  NOLINK  ASM    10485760000     20971520     8192   2097152000           3278
PSAPUNDO001    ONLINE-    ONLINE+   +DATA/erl/datafile/psapundo001.275.868457601         3229622272    3          -1  NOLINK  ASM    34288435200     20971520     8192    734003200           2874
PSAPUNDO002    ONLINE-    ONLINE+   +DATA/erl/datafile/psapundo002.290.868458203         3061850112   17          -1  NOLINK  ASM    34288435200     20971520     8192    734003200         205652
SYSAUX         ONLINE*    ONLINE+   +DATA/erl/datafile/sysaux.274.868457599              1614815232    2          -1  NOLINK  ASM    10485760000     20971520     8192    209715200           1836
SYSTEM         ONLINE*    SYSTEM+   +DATA/erl/datafile/system.273.868457595               943726592    1          -1  NOLINK  ASM    10485760000     20971520     8192    419430400              7

BR0119I Redolog files

File                                                     Size  Group     Device  Status    Link    Type

+REDO/erl/onlinelog/group_11.256.868457593           52429312   11           -3  INUSE     NOLINK  ASM
+REDO/erl/onlinelog/group_12.257.868457593           52429312   12           -3  INUSE     NOLINK  ASM
+REDO/erl/onlinelog/group_13.258.868457593           52429312   13           -3  INUSE     NOLINK  ASM
+REDO/erl/onlinelog/group_14.259.868457593           52429312   14           -3  INUSE     NOLINK  ASM
+REDO/erl/onlinelog/group_21.260.868458211           52429312   21           -3  INUSE     NOLINK  ASM
+REDO/erl/onlinelog/group_22.261.868458211           52429312   22           -3  INUSE     NOLINK  ASM
+REDO/erl/onlinelog/group_23.262.868458211           52429312   23           -3  INUSE     NOLINK  ASM
+REDO/erl/onlinelog/group_24.263.868458211           52429312   24           -3  INUSE     NOLINK  ASM

BR0120I Control files

File                                                     Size   Id.      Device  Link    Type

+DATA/ERL/cntrlERL.dbf                               24821760    0           -1  +DATA/ERL/CONTROLFILE/Current.272.868457591  ASM
+RECO/ERL/cntrlERL.dbf                               24821760    0           -2  +RECO/ERL/CONTROLFILE/Current.256.868457591  ASM

BR0280I BRBACKUP time stamp: 2015-03-06 14.07.36
BR0057I Backup of database: ERL1
BR0058I BRBACKUP action ID: bepzuygf
BR0059I BRBACKUP function ID: fnd
BR0110I Backup mode: FULL
BR0077I Database file for backup: /oracle/ERL/sapbackup/cntrlERL1.dbf
BR0061I 18 files found for backup, total size 90563.805 MB
BR0143I Backup type: online
BR0112I Files will not be compressed
BR0130I Backup device type: disk
BR0106I Files will be saved on disk in directory: /export/ERL/sapbackup/bepzuygf
BR0289I BRARCHIVE will be started at the end of processing
BR0134I Unattended mode with 'force' active - no operator confirmation allowed

BR0370I Directory /export/ERL/sapbackup/bepzuygf created

BR0202I Saving init_ora
BR0203I to /export/ERL/sapbackup/ERL1 ...
BR0278E Command output of 'LANG=C cd /oracle/ERL/sapprof && LANG=C cp initERL1.ora spfileERL1.ora /export/ERL/sapbackup/ERL1':
cp: cannot open `spfileERL1.ora' for reading: Permission denied
BR0280I BRBACKUP time stamp: 2015-03-06 14.07.36
BR0279E Return code from 'LANG=C cd /oracle/ERL/sapprof && LANG=C cp initERL1.ora spfileERL1.ora /export/ERL/sapbackup/ERL1': 1
BR0222E Copying init_ora to/from /export/ERL/sapbackup/ERL1 failed due to previous errors

BR0056I End of database backup: bepzuygf.fnd 2015-03-06 14.07.36
BR0280I BRBACKUP time stamp: 2015-03-06 14.07.36
BR0054I BRBACKUP terminated with errors

BR0280I BRBACKUP time stamp: 2015-03-06 14.07.36
BR0291I BRARCHIVE will be started with options '+bepzuygf.fnd -U -jid FLLOG20150306140728  -c force -p initERL1.sap -sd'

BR0280I BRBACKUP time stamp: 2015-03-06 14.07.39
BR0292E Execution of BRARCHIVE finished with return code 3

former_member182657
Active Contributor
0 Kudos

Hi Karu,

Could you patch brtools with BR*Tools 7.20 Patch 40 & try again.

Regards,