Link to home
Start Free TrialLog in
Avatar of rsolomon
rsolomonFlag for United States of America

asked on

RMAN Error 10038

I'm trying to backup my database of about 400G. In my backup script I'm allocating 6 channels, each channel looks like this:

  allocate channel adsm1 type 'SBT_TAPE'
  parms 'ENV=
DSMO_NODE=mis_33_oracle,DSMI_CONFIG=/usr/tivoli/tsm/client/oracle/bin/dsm.opt,DSMI_LOG=/adsm/log,DSMI_ORC_DIR=/usr/tivoli/tsm/client/oracle/bin,DSMO_FS=adsmorc,DSMO_PSWDPATH=/usr/tivoli/tsm/client/oracle/bin,DSMI_DIR=/usr/tivo
li/tsm/client/api/bin,DSMO_DEBUG=49)';
  setlimit channel adsm1 kbytes 2097152 maxopenfiles 32 readrate 200;

After running for about 2-2.5 hours, I get this:

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00601: fatal error in recovery manager
RMAN-03004: fatal error during execution of command
RMAN-10038: database session for channel adsm1 terminated unexpectedly


I did an oerr on the error 10038. It states for me to look at the oracle trace file for detailed information on why the session terminated. First of all where is this so called trace file and what am I doing wrong? Oh, one more other thing, my log backups works great. Can anyone help with this problem? Thanks in advance.
Avatar of Bajwa
Bajwa
Flag of United States of America image

Run with debug on... which will produce trace for each channel allocated and a log file.
Log will be in the path that you enter and trace in udump directory., then it will be easier to find the error.
rman target / catalog or nocatalog log=/path/filename.log
run
{allocate channel adsm1 type 'SBT_TAPE'
parms 'ENV= DSMO_NODE=mis_33_oracle,DSMI_CONFIG=/usr/tivoli/tsm/client/oracle/bin/dsm.opt,DSMI_LOG=/adsm/log,DSMI_ORC_DIR=/usr/tivoli/tsm/client/oracle/bin,DSMO_FS=adsmorc,DSMO_PSWDPATH=/usr/tivoli/tsm/client/oracle/bin,DSMI_DIR=/usr/tivo
li/tsm/client/api/bin,DSMO_DEBUG=49)';
debug on;
backup filesperset 1
format 'FULL_%d_%u'
(database include current controlfile);
debug off;
}

ASKER CERTIFIED SOLUTION
Avatar of Moondancer
Moondancer

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial