Video Screencast Help

Error status 6, script exit status 3

Created: 11 Feb 2014 | 8 comments
hi,
Find the /usr/openv/netbackup/logs/bphdb logs!!!
 
09:40:13.053 [458892] <2> logparams: -sb -rdbms sap -S jsawnetbackup -to 300 -c SAP-JSAWECD-CINC -s CINC_Backup -clnt jsawecd -CINC -kl 4 -b jsawecd_1392178209 -jobid 52552 -shm
 
09:40:13.061 [458892] <4> bphdb: Module: libncf, Release: 7.0.1 , Build: 00/00/0000 00:00:00 CDT (00000000)
09:40:13.061 [458892] <4> bphdb: System: AIX, jsawecd, 1, 6, 00C649B24C00, {5}
09:40:13.061 [458892] <4> bphdb: Current code page: ICU: ISO-8859-1, Max. character width: 1, Substitution character: 0x1A [.], Unicode substitution character: 0xfffd [ÿý]
09:40:13.061 [458892] <4> bphdb: Running as user '0', primary group '0'
09:40:13.061 [458892] <4> bphdb: Environment variable _=/usr/openv/netbackup/bin/bpcd
09:40:13.061 [458892] <4> bphdb: Environment variable LANG=en_US
09:40:13.061 [458892] <4> bphdb: Environment variable LOGIN=root
09:40:13.061 [458892] <4> bphdb: Environment variable PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14_64/jre/bin:/usr/java14_64/bin:/usr/bin
09:40:13.061 [458892] <4> bphdb: Environment variable EXTENDED_HISTORY=ON
09:40:13.062 [458892] <4> bphdb: Environment variable LC__FASTMSG=true
09:40:13.062 [458892] <4> bphdb: Environment variable LOGNAME=root
09:40:13.062 [458892] <4> bphdb: Environment variable MAIL=/usr/spool/mail/root
09:40:13.062 [458892] <4> bphdb: Environment variable LOCPATH=/usr/lib/nls/loc
09:40:13.062 [458892] <4> bphdb: Environment variable USER=root
09:40:13.062 [458892] <4> bphdb: Environment variable AUTHSTATE=compat
09:40:13.062 [458892] <4> bphdb: Environment variable SHELL=/usr/bin/ksh
09:40:13.062 [458892] <4> bphdb: Environment variable ODMDIR=/etc/objrepos
09:40:13.062 [458892] <4> bphdb: Environment variable HOME=/
09:40:13.062 [458892] <4> bphdb: Environment variable TERM=xterm
09:40:13.062 [458892] <4> bphdb: Environment variable MAILMSG=[YOU HAVE NEW MAIL]
09:40:13.062 [458892] <4> bphdb: Environment variable PWD=/usr/openv/netbackup/bin/goodies
09:40:13.062 [458892] <4> bphdb: Environment variable TZ=IST-05:30:00
09:40:13.062 [458892] <4> bphdb: Environment variable A__z=! LOGNAME
09:40:13.062 [458892] <4> bphdb: Environment variable IS_NETBACKUP_DAEMON=YES
09:40:13.062 [458892] <4> bphdb: Environment variable NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat
09:40:13.062 [458892] <4> bphdb: INF - setenv SAP_POLICY=SAP-JSAWECD-CINC
09:40:13.062 [458892] <4> bphdb: INF - setenv SAP_SNC_SCHED=CINC_Backup
09:40:13.062 [458892] <4> bphdb: INF - setenv SAP_SERVER=jsawnetbackup
09:40:13.062 [458892] <4> bphdb: INF - setenv SAP_CLIENT=jsawecd
09:40:13.062 [458892] <4> bphdb: INF - setenv SAP_FULL=0
09:40:13.062 [458892] <4> bphdb: INF - setenv SAP_INCR=0
09:40:13.062 [458892] <4> bphdb: INF - setenv SAP_CINC=1
09:40:13.062 [458892] <4> bphdb: INF - setenv SAP_USER_INITIATED=0
09:40:13.062 [458892] <4> bphdb: INF - setenv SAP_SCHEDULED=1
09:40:13.062 [458892] <4> bphdb: INF - BACKUP START
09:40:13.238 [458892] <4> bphdb: INF - CONTINUE BACKUP message received.
09:40:13.239 [458892] <4> bphdb: INF - Processing /usr/openv/netbackup/NBU_Scripts/SAP_Online_INCR_Backup
09:40:13.240 [458892] <4> bphdb: INF - Waiting for the child status.
09:40:13.240 [602340] <4> bphdb: INF - Child executing /usr/openv/netbackup/NBU_Scripts/SAP_Online_INCR_Backup
09:40:16.240 [458892] <16> bphdb: ERR - Script exited with status = 3 <valid archive image produced, but no files deleted due to non-fatal problems>
09:40:16.240 [458892] <16> bphdb: ERR - bphdb exit status = 6: the backup failed to back up the requested files
 
09:40:16.240 [458892] <4> bphdb: INF - EXIT STATUS 6: the backup failed to back up the requested files
 

 

Operating Systems:

Comments 8 CommentsJump to latest comment

aquib's picture

Previosly backup excute successfully & my other server perform backup successfully.

Please resolve 

Marianne's picture

If you have urgent issues, it is best to log a call with Symantec Support.

All of us trying to assist on the forum have busy day-time jobs and help here in our own time. So, there is never a guarantee that someone will be online to assist the very moment that you experience problems...

To get back to the backup failure - you need one more log on the SAP client: backint.
Ensure folder has 777 permissions before you try another backup.

See in backint log if you have similar errors to this: http://www.symantec.com/docs/TECH182619

Other logs that are important:

On master: bprd (NBU needs to be restarted to enable this log)

On media server: bptm and bpbrm

For now - backint is the 1st log that we need to look at. That will tell us which other logs may be needed.

Please copy the log file to backint.txt and upload as File attachment.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

aquib's picture

Hi, Find the backint log

Thanks for support smiley

AttachmentSize
log.021214.txt 2.59 MB
Andy Welburn's picture

Relevant?

SAP backup failing with status 3 , followed by status 6
http://www.symantec.com/business/support/index?pag...

 

There are various other T/N's around but are related 'normal' backups or user archives (just Google "valid archive image produced, but no files deleted due to non-fatal problems" with the failures being a consequence of "... the nblog.conf file on the client was missing or corrupt."

Marianne's picture

Get your SAP admin/dba to have a look at the following:

11:29:18.120 [827572] <4> SAP_check_switch_files: BR0280I BRCONNECT time stamp: 2014-02-12 11.29.17
11:29:18.120 [827572] <4> SAP_check_switch_files: #BEGIN /oracle/ECD/sapdata1/sr3_13/sr3.data13
11:29:18.120 [827572] <4> SAP_check_switch_files: BR0315I 'Alter tablespace PSAPSR3 begin backup' successful
11:29:18.120 [827572] <4> SAP_check_switch_files: BR0252E Function fopen() failed for '/oracle/ECD/sapdata1/sr3_13/sr3.data13' at location BrSparseCreate-1
11:29:18.120 [827572] <4> SAP_check_switch_files: BR0253E errno 22: Invalid argument
11:29:18.120 [827572] <4> SAP_check_switch_files: BR0280I BRCONNECT time stamp: 2014-02-12 11.29.17
11:29:18.120 [827572] <4> SAP_check_switch_files: #ERROR

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

aquib's picture

ISSUE RESOLVED!!!

problem on permission of CIO on fstab (/etc/filesystem) after edit fstab and reboot issue resolve.

 oracle/<SID>/sapdata1 oracle/<SID>/sapdata2 oracle/<SID>/sapdata3 oracle/<SID>/sapdata4

/oracle/<SID>/sapdata1:
        dev             = /dev/lv7
        vfs             = jfs2
        log             = /dev/ecdloglv7
        mount           = true
        options         = cio
        check           = false
        account         = false
 
/oracle/<SID>/sapdata2:
        dev             = /dev/lv8
        vfs             = jfs2
        log             = /dev/ecdloglv8
        mount           = true
        options         = cio
        check           = false
        account         = false
 
/oracle/<SID>/sapdata3:
        dev             = /dev/lv9
        vfs             = jfs2
        log             = /dev/ecdloglv9
        mount           = true
        options         = cio
        check           = false
        account         = false
 
/oracle/<SID>/sapdata4:
        dev             = /dev/lv10
        vfs             = jfs2
        log             = /dev/ecdloglv10
        mount           = true
        options         = cio
        check           = false
        account         = false