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

Backup failed with error code 13

Created: 28 Sep 2012 • Updated: 01 Oct 2012 | 10 comments
This issue has been solved. See solution.

Hello Team.

Backup of unix client is failing with error code 13 and it is failing after writing same Kb data everytime.

 

client NBU version: 6.5.0

client OS: SunOS 5.10

Master server NBU version:6.5.4

Master OS: SunOS 5.10

 

 

Comments 10 CommentsJump to latest comment

revaroo's picture

Hitting a bad file?

Add VERBOSE = 5 to clients bp.conf

mkdir /usr/openv/netbackup/logs/bpbkar/

touch /usr/openv/netbackup/bpbkar_path_tr

 

re-run backup

check bpbkar log file - which file does it last deal with before it errors out?

 

Marianne's picture

Please copy all text in Job Details of the failed job and post here.

First thing to determine is whether status 13 is a File read error (problem with file/folder on client) or Socket read error (network or timeout issue). Job details will give us an indication.

Please also tell us what is being backed up on the client - filesystem or database?

Ensure all of the following log directories exist under netbackup/logs (create them if they don't exist):

On client: bpbkar

On media server: bpbrm and bptm

 

PS: PLEASE upgrade NBU as a matter of urgency - NBU 6.x will reach EOSL in less that a week on 3 October.

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

SOLUTION
V P S's picture

Hello Marianne/ revaroo

 

Please find the details..

 

Sep 28, 2012 7:12:54 PM - requesting resource media server
Sep 28, 2012 7:12:54 PM - requesting resource master server.NBU_CLIENT.MAXJOBS.<Client name>
Sep 28, 2012 7:12:54 PM - requesting resource master server.NBU_POLICY.MAXJOBS.<Policy name>
Sep 28, 2012 7:12:55 PM - granted resource  master server.NBU_CLIENT.MAXJOBS.<client name>
Sep 28, 2012 7:12:55 PM - granted resource  master server.NBU_POLICY.MAXJOBS.<Pollicy name>
Sep 28, 2012 7:12:55 PM - granted resource  MediaID=@aaagL;DiskVolume=PureDiskVolume;DiskPool=PD_client name;Path=PureDiskVolume;StorageServer= media server;MediaServer=Media server name
Sep 28, 2012 7:12:55 PM - granted resource  media server
Sep 28, 2012 7:12:56 PM - estimated 0 kbytes needed
Sep 28, 2012 7:12:56 PM - started process bpbrm (pid=22810)
Sep 28, 2012 7:12:57 PM - connecting
Sep 28, 2012 7:12:57 PM - connected; connect time: 0:00:00
Sep 28, 2012 7:13:05 PM - begin writing
Sep 28, 2012 7:36:44 PM - Error bpbrm (pid=22810) socket read failed: errno = 62 - Timer expired
Sep 28, 2012 7:36:47 PM - Error bptm (pid=22819) media manager terminated by parent process
Sep 28, 2012 7:37:10 PM - Info master server(pid=22819) StorageServer=PureDisk:media server; Report=PDDO Stats for (media server): scanned: 15374886 KB, stream rate: 23.82 MB/sec, CR sent: 3057 KB, dedup: 100.0%, cache hits: 0 (0.0%)
Sep 28, 2012 7:37:11 PM - end writing; write time: 0:24:06
file read failed (13)

 

Created all logs directories as per your suggestion.

revaroo's picture

create bptm and bpbrm logs on media server too.

Marianne's picture

Sep 28, 2012 7:13:05 PM - begin writing
Sep 28, 2012 7:36:44 PM - Error bpbrm (pid=22810) socket read failed: errno = 62 - Timer expired

This looks like Client Read Timeout. Media server received no data for X amount of seconds specified in this parameter on the media server.

As a start, increase Client Read Timeout on media server. The default is 300 (5 minutes). If so, try 900 (15 minutes).

If that does not solve the problem, please collect all the logs that I've mentioned above, rename to reflect process name (bpbkar.txt, bpbrm.txt, bptm.txt) and post as File attachments. 

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

V P S's picture

Thanks Marianne..

Increased client read time out on media server and initiate backup. Will let you know the status.

 

V P S's picture

Hello Marianne.

Increased the client read time out as you said but still fails after writing same Kb. of data.

 

PFA bpbkar logs

AttachmentSize
bpbkar.gz 407.06 KB
Patrick Whelan 2's picture

Are any of the mount points full?

Have you tired ls -R > /tmp/somefile 2>&1 &

to see if that fails.

When I have seen similar problems in the past there has usually been something wrong with the file system.

Patrick Whelan

Senior NetBackup Specialist

Marianne's picture

It alsmost seems as if bpbkar on the client simplied died...

File were being transferred and then just nothing after last file entry. No error, no normal termination.
Anything abnormal in /var/adm/messages at roundabout 16:07?

We need media bpbrm and bptm logs on media server as well, please.

 

PS: You really need to upgrade your environment ASAP....

 

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

V P S's picture

Thanks Marianne.

 

Will upgrade to 7. Thanks for your suggestion