cancel
Showing results for 
Search instead for 
Did you mean: 

Backup failed with error code 13

V_P_S
Level 4

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

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Marianne
Level 6
Partner    VIP    Accredited Certified

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.

View solution in original post

10 REPLIES 10

revarooo
Level 6
Employee

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
Level 6
Partner    VIP    Accredited Certified

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.

V_P_S
Level 4

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.

revarooo
Level 6
Employee

create bptm and bpbrm logs on media server too.

Marianne
Level 6
Partner    VIP    Accredited Certified

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. 

V_P_S
Level 4

Thanks Marianne..

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

 

V_P_S
Level 4

Hello Marianne.

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

 

PFA bpbkar logs

Marianne
Level 6
Partner    VIP    Accredited Certified

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....

 

Patrick_Whelan_
Level 6

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.

V_P_S
Level 4

Thanks Marianne.

 

Will upgrade to 7. Thanks for your suggestion