Video Screencast Help
Protect Your POS Environment Against Retail Data Breaches. Learn More.

SAP - ORACLE Backup Failed with 0xe0000340 - The Database script returned an error.

Created: 14 Apr 2010 • Updated: 16 Oct 2010 | 1 comment

Hi All,

We are getting following error:

Job ended: Thursday, April 15, 2010 at 10:53:15 AM
Completed status: Failed
Final error: 0xe0000340 - The Database script returned an error. Refer to the Database script output section in job logs for more details.
Final error category: Resource Errors

Recovery Manager: Release 10.2.0.4.0 - Production on Thu Apr 15 10:53:12 2010

Copyright (c) 1982, 2007, Oracle. All rights reserved.

# -----------------------------------------------------------------
# RMAN command section
# -----------------------------------------------------------------

RUN {
ALLOCATE CHANNEL ch0
TYPE 'SBT_TAPE';
SEND 'BSA_SERVICE_HOST=172.xxx.xxx.xxx,NBBSA_TOTAL_STREAMS=1,NBBSA_JOB_COOKIE={1E9916B5-37F1-4787-B7A6-BD2C54D80976},NBBSA_DB_DEVICE_NAME=Oracle-Win::\\SAPCLUSTER\ECP';
BACKUP
INCREMENTAL LEVEL=0
FORMAT 'BE_U'
DATABASE FORCE PLUS ARCHIVELOG FORCE NOT BACKED UP;
BACKUP CURRENT CONTROLFILE
FORMAT 'BE_U';

RELEASE CHANNEL ch0;
}

RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
ORA-12560: TNS:protocol adapter error

Recovery Manager complete.

What will be the reason?

Comments 1 CommentJump to latest comment

RahulG's picture

Make sure the oracle isnot installed on MS cluster as it is not supported .
you can perform the following steps
1.Set the oracle_sid
2. Set the oracle_sid
3. Set the environment variable as per OFA
4. Rebooted the server
5, REconfigrued the account in the RAWS agent utility and modify list.

Have a look of the following document as well http://support.veritas.com/docs/312857
http://support.veritas.com/docs/292442