Hi.

09-Feb 13:38 core-prod-bkp-3-sd JobId 170: Fatal error: read.c:176 Error
sending data to Client. ERR=Broken pipe

You check comunications (persistent conections) on you firewall or switch
layer 3.

You view parameter:   Heartbeat Interval = 60



On file-daemon, Storage-daemon and dir


ref:
http://wiki.bacula.org/doku.php?id=bacula_manual:configuring_the_director#heartbeat_interval_time-interval


On Fri, Feb 9, 2018 at 8:01 PM, Kenneth Garges <gar...@ucsc.edu> wrote:

> Running Bacula 9.0.6 on FreeBSD 10.3-RELEASE-p24 and Bacula 7.4.4 on
> Windows 2012R2 server.
>
> Backups work fine. Restores work fine if the file I restore is small (I
> have done 192 byte files as a test.) But if the file is bigger (20MB) then
> I get a broken pipe error.
>
> Log from a successful restore of a small file:
>
> 09-Feb 13:10 core-prod-bkp-3.ucsc.edu-dir JobId 169: Start Restore Job
> RestoreFiles.2018-02-09_13.10.36_22
> 09-Feb 13:10 core-prod-bkp-3.ucsc.edu-dir JobId 169: Using Device
> "FileChgr1-Dev2" to read.
> 09-Feb 13:10 core-prod-bkp-3-sd JobId 169: Ready to read from volume
> "Vol-0003" on File device "FileChgr1-Dev2" (/backups).
> 09-Feb 13:10 core-prod-bkp-3-sd JobId 169: Forward spacing Volume
> "Vol-0003" to addr=20704536097
> 09-Feb 13:10 core-prod-bkp-3-sd JobId 169: Elapsed time=00:00:01, Transfer
> rate=344  Bytes/second
> 09-Feb 13:10 core-prod-bkp-3.ucsc.edu-dir JobId 169: Bacula
> core-prod-bkp-3.ucsc.edu-dir 9.0.6 (20Nov17):
>   Build OS:               x86_64-unknown-freebsd10.3 freebsd
> 10.3-RELEASE-p24
>   JobId:                  169
>   Job:                    RestoreFiles.2018-02-09_13.10.36_22
>   Restore Client:         bac-test-12r2
>   Start time:             09-Feb-2018 13:10:39
>   End time:               09-Feb-2018 13:10:42
>   Files Expected:         1
>   Files Restored:         1
>   Bytes Restored:         192
>   Rate:                   0.1 KB/s
>   FD Errors:              0
>   FD termination status:  OK
>   SD termination status:  OK
>   Termination:            Restore OK
>
>
> Log from a failed restore of a larger file:
>
> 09-Feb 13:32 core-prod-bkp-3.ucsc.edu-dir JobId 170: Start Restore Job
> RestoreFiles.2018-02-09_13.32.35_24
> 09-Feb 13:32 core-prod-bkp-3.ucsc.edu-dir JobId 170: Using Device
> "FileChgr1-Dev2" to read.
> 09-Feb 13:32 core-prod-bkp-3-sd JobId 170: Ready to read from volume
> "Vol-0003" on File device "FileChgr1-Dev2" (/backups).
> 09-Feb 13:32 core-prod-bkp-3-sd JobId 170: Forward spacing Volume
> "Vol-0003" to addr=17704728433 <(770)%20472-8433>
> 09-Feb 13:38 core-prod-bkp-3-sd JobId 170: Error: bsock.c:649 Write error
> sending 32772 bytes to client:128.114.115.72:9103: ERR=Broken pipe
> 09-Feb 13:38 core-prod-bkp-3-sd JobId 170: Fatal error: read.c:176 Error
> sending data to Client. ERR=Broken pipe
> 09-Feb 13:38 core-prod-bkp-3-sd JobId 170: Elapsed time=00:05:13, Transfer
> rate=209  Bytes/second
> 09-Feb 13:38 core-prod-bkp-3-sd JobId 170: Error: bsock.c:537 Socket has
> errors=1 on call to client:128.114.115.72:9103
> 09-Feb 13:51 bac-test-12r2 JobId 170: Error: lib/bsock.c:918 Read error
> from Storage daemon:core-prod-bkp-3.ucsc.edu:9103: ERR=Input/output error
> 09-Feb 13:51 bac-test-12r2 JobId 170: Fatal error: filed/restore.c:479
> Data record error. ERR=Input/output error
> 09-Feb 13:53 core-prod-bkp-3.ucsc.edu-dir JobId 170: Error: Bacula
> core-prod-bkp-3.ucsc.edu-dir 9.0.6 (20Nov17):
>   Build OS:               x86_64-unknown-freebsd10.3 freebsd
> 10.3-RELEASE-p24
>   JobId:                  170
>   Job:                    RestoreFiles.2018-02-09_13.32.35_24
>   Restore Client:         bac-test-12r2
>   Start time:             09-Feb-2018 13:32:37
>   End time:               09-Feb-2018 13:53:42
>   Files Expected:         1
>   Files Restored:         1
>   Bytes Restored:         0
>   Rate:                   0.0 KB/s
>   FD Errors:              1
>   FD termination status:  Error
>   SD termination status:  Error
>   Termination:            *** Restore Error ***
>
>
> The bacula-sd.conf file on the Windows client:
>
> #
> # UCSC Bacula File Daemon Configuration file
> #
> #  For Bacula release 7 -- Windows
> #
> # Change here except perhaps the File daemon Name to
> # the fully qualified name of the host
> #
> # Copyright (C) 2000-2015 Kern Sibbald
> # License: BSD 2-Clause; see file LICENSE-FOSS
> # Modified for UCSC 12 Dec 2017 Kenneth Garges
>
> #
> # List Directors who are permitted to contact this File daemon
> #
> Director {
>   Name = core-prod-bkp-3.ucsc.edu-dir
>   Password = “****"
> }
>
> #
> # "Global" File daemon configuration specifications
> #
> FileDaemon {                          # this is me
>   Name = bac-tst-12r2.ucsc.edu
>   FDport = 9102                  # where we listen for the director
>   WorkingDirectory = C:\WINDOWS\TEMP
>   Pid Directory = C:\WINDOWS\TEMP
>   Maximum Concurrent Jobs = 20
>   Maximum Network Buffer Size = 32768
> }
>
> # Send all messages except skipped files back to Director
> Messages {
>   Name = Standard
>   director = core-prod-bkp-3-dir = all, !skipped, !restored
> }
>
>
> I’ve tried it with "Maximum Network Buffer Size" set to 32768, 32700, and
> not set at all.
>
> Any ideas?
>
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>


-- 
#############################
#   Sistema Operativo: Debian      #
#        Caracas, Venezuela          #
#############################
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to