export NLS_DATE_FORMAT='DD-MON-YYYY HH24MISS'
rman debug all trace=debug.trc log=debug.log
connect target /;
CONFIGURE DEVICE TYPE DISK PARALLELISM 2;
set echo on;
run {
sql "alter session set max_dump_file_size=''UNLIMITED''";
sql "alter session set tracefile_identifier=''RMAN''" ;
sql "alter session set events ''10046 trace name context forever, level 12''";
sql "alter session set events ''trace[KRB.*] disk=highest,memory=highest''";
debug on;
catalog start with '/test/archivelog';
debug off;
sql "alter session set events ''10046 trace name context off''";
sql "alter session set events ''TRACE[krb.*] off''";
}
Start a sqlplus session and identify the RMAN channels and spid during the
backup
SELECT sid, spid, client_info
FROM v$process p, v$session s
WHERE p.addr = s.paddr
AND client_info LIKE '%id=rman%';
run select for processes to os spid
$ sqlplus
connect / as sysdba
oradebug setospid <process ID>
oradebug unlimit
oradebug dump errorstack 3




