Oracle/DB2 Agent: How to troubleshoot Oracle/DB2 backup or restore jobs which fail with the error "The Database script returned an error. Refer to the Database script output section in job logs for more details"

Article:TECH72604  |  Created: 2009-01-21  |  Updated: 2014-01-14  |  Article URL http://www.symantec.com/docs/TECH72604
Article Type
Technical Solution


Subject

Issue



Oracle/DB2 Agent: How to troubleshoot Oracle/DB2 backup or restore jobs which fail with the error "The Database script returned an error. Refer to the Database script output section in job logs for more details"

 


Error



"The Database script returned an error. Refer to the Database script output section in job logs for more details"

 


Solution




Backup:
 
Backup of Oracle RAC (Real Application Cluster) database(s) fails with the error "The Database script returned an error. Refer to the Database script output section in job logs for more details"
www.symantec.com/docs/TECH66307  
 
Oracle backups fail with error 0xe0000340 - The Database script returned an error. Refer to the Database script output section in job logs for more details
www.symantec.com/docs/TECH64936  
 
Backup of an Oracle database fails with the error "The Database script returned an error. Refer to the Database script output section in job logs for more details"
www.symantec.com/docs/TECH52429
 
All server initiated backups of Oracle databases on Linux server show as expired when crosscheck command is run using RMAN
www.symantec.com/docs/TECH65844
 
Remote Agent for Linux and Unix Servers (RALUS) RMAN Backup fails with access denied when backing up Oracle from a Linux Machine when the agent and backup job are configured incorrectly.
www.symantec.com/docs/TECH59723
 
Backup of Oracle database(s) fails with the error "0xe0000340 - The Database script returned an error. Refer to the Database script output section in job logs for more details. "
  • ORA-19571: archived-log recid 94689 stamp 653763600 not found in controlfile
  • ORA-19565: BACKUP_TAPE_IO_SLAVES not enabled when duplexing to sequential devices
 
Restore of an Oracle 11g database fails with the RMAN error "ORA-01589: must use RESETLOGS or NORESETLOGS option for database open"
www.symantec.com/docs/TECH65197
 
Oracle backup fails with error "RMAN-06056: could not access datafile".
www.symantec.com/docs/TECH67938
 
When using Oracle Real Application Clusters (RAC) version 10.2.0.4 or later, offline backups and/or restores of control file would fail to stop database
www.symantec.com/docs/TECH63956 
 
RMAN-10031: ORA-19624 occurred during call to DBMS_BACKUP_RESTORE.BACKUPPIECECREATE occurs during an Oracle Backup
www.symantec.com/docs/TECH56614
 
Backup of the Oracle server fails with "The Database script returned an error"  and RMAN output section of job log shows "ORA-27211: Failed to load Media Management Library"
 
0xe0000340 - The Database script returned an error. Refer to the Database script output section in job logs for more details. When backing up DB2
 

Restore:
 
Oracle Redirected Restore is failing with error: ORA-01991: invalid password file
www.symantec.com/docs/TECH68466
 
Unable to restore Oracle to a Point in Time with an SCN larger than 4294967296
www.symantec.com/docs/TECH62952 
 
Oracle database restore job fails with "The Database script returned an error" when the database is in NOARCHIVELOG mode and the option "Recover using redo logs" is selected
www.symantec.com/docs/TECH62686
 
Error "0xe0000340 - The Database script returned an error. Refer to the Database script output section in job logs for more details" appears when restoring the Oracle Database version 10.2.0.3 Control files of the AL32UTF8 database character set. 
www.symantec.com/docs/TECH57701
 
An Oracle database restore fails with the error "0xe0000340 - The Database script returned an error. Refer to the Database script output section in job logs for more details" when performing an Oracle Database disaster recovery  
www.symantec.com/docs/TECH56105
 
When performing restore of DB2 database to a point-in-time before the most recent backup set, the rollforward command will fail
www.symantec.com/docs/TECH60992 
 
Error "0xe0000340 - The Database script returned an error" is reported in the job log when performing a restore and rollforward operation of all of the tablespaces of a DB2 database.
www.symantec.com/docs/TECH53109 
 
Restore jobs of DB2 fail with the error "0xe0000340 - The Database script returned an error. Refer to the Database script output section in job logs for more details"
www.symantec.com/docs/TECH50806 

Supplemental Materials

SourceUMI
ValueV-79-57344-832
Description

"The Database script returned an error. Refer to the Database script output section in job logs for more details"



Legacy ID



328466


Article URL http://www.symantec.com/docs/TECH72604


Terms of use for this information are found in Legal Notices