On 7/15/2017 7:51 AM, Elias Pereira wrote:
hello kern,
How can I test to see, for example, if the two ends are connected?
Using the PID of the process that has the other end of the pipe open, use:
ls -l /proc/<pid>/fd
You are likely seeing a permissions problem. Is the pipe writable by the
user:group that bacula-sd is running as? Does the seLinux context allow
the bacula-sd user to write to the pipe?
On Thu, Jul 13, 2017 at 4:58 PM, Kern Sibbald <k...@sibbald.com
<mailto:k...@sibbald.com>> wrote:
Hello,
It appears to me that there is nothing on the other end of the
pipe -- i.e. the two ends are not connected.
Best regards,
Kern
On 07/13/2017 09:49 PM, Elias Pereira wrote:
hello,
I'm trying to perform a restore from a backup made through the
bpipe plugin, but errors below always occur.
2017-07-13 16:33:49 vamp-dir JobId 2710: Start Restore Job
RestoreFilesGenerico.2017-07-13_16.33.47_17
2017-07-13 16:33:49 vamp-dir JobId 2710: Using Device
"freenasDev" to read.
2017-07-13 16:33:49 vamp-sd JobId 2710: Ready to read from
volume "Sparta-fd.Semanal-NAS-7" on file device "freenasDev"
(/mnt/nas_storage).
2017-07-13 16:33:49 vamp-sd JobId 2710: Forward spacing Volume
"Sparta-fd.Semanal-NAS-7" to file:block 6:3323753675
<tel:%28332%29%20375-3675>.
2017-07-13 16:33:53 elias.pc-fd JobId 2710: Fatal error: Pipe
write error
2017-07-13 16:33:53 elias.pc-fd JobId 2710: Error:
restore.c:1320 Wrong write size error at byte=0 block=0
wanted=65536 wrote=0
2017-07-13 16:33:53 elias.pc-fd JobId 2710: Error: bpipe-fd:
Error closing for file /var/teste.xva: 268435457
2017-07-13 16:33:54 vamp-sd JobId 2710: Error: bsock.c:448
Write error sending 37 bytes to client:192.168.7.63:9103
<http://192.168.7.63:9103>: ERR=Connection reset by peer
2017-07-13 16:33:54 vamp-sd JobId 2710: Fatal error: read.c:138
Error sending header to Client. ERR=Connection reset by peer
2017-07-13 16:33:54 vamp-sd JobId 2710: Elapsed time=00:00:05,
Transfer rate=91.80 K Bytes/second
2017-07-13 16:33:54 vamp-sd JobId 2710: Error: bsock.c:375
Socket has errors=1 on call to client:192.168.7.63:9103
<http://192.168.7.63:9103>
2017-07-13 16:33:54 vamp-dir JobId 2710: Error: Bacula vamp-dir
7.4.1 (02May16):
Build OS: x86_64-unknown-linux-gnu debian 8.4
JobId: 2710
Job: RestoreFilesGenerico.2017-07-13_16.33.47_17
Restore Client: elias.pc-fd
Start time: 13-Jul-2017 16:33:49
End time: 13-Jul-2017 16:33:54
Files Expected: 1
Files Restored: 1
Bytes Restored: 0
Rate: 0.0 KB/s
FD Errors: 3
FD termination status: Error
SD termination status: Error
Termination: *** Restore Error ***
2017-07-13 16:33:54 vamp-dir JobId 2710: Begin pruning Jobs
older than 2 years .
2017-07-13 16:33:54 vamp-dir JobId 2710: No Jobs found to prune.
2017-07-13 16:33:54 vamp-dir JobId 2710: Begin pruning Files.
2017-07-13 16:33:54 vamp-dir JobId 2710: No Files found to prune.
2017-07-13 16:33:54 vamp-dir JobId 2710: End auto prune.
Any idea?
--
Elias Pereira
------------------------------------------------------------------------------
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
<mailto:Bacula-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/bacula-users
<https://lists.sourceforge.net/lists/listinfo/bacula-users>
--
Elias Pereira
------------------------------------------------------------------------------
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
------------------------------------------------------------------------------
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