Can't restore to client

46 views
Skip to first unread message

Igor

unread,
Dec 10, 2019, 4:40:10 AM12/10/19
to bareos-users
Client and Director version 18.2.5-144.1 both Ubuntu 18.04

I have default Director config and default Client config.

So when I try to restore to Client i get:



2019-12-10 12:02:05bareos-dir JobId 75: Error: Bareos bareos-dir 18.2.5 (30Jan19):
Build OS: Linux-4.4.92-6.18-default ubuntu Ubuntu 18.04 LTS
JobId: 75
Job: RestoreFiles.2019-12-10_11.59.08_13
Restore Client: redmine-fd
Start time: 10-Dec-2019 11:59:10
End time: 10-Dec-2019 12:02:05
Elapsed time: 2 mins 55 secs
Files Expected: 5,324
Files Restored: 1,260
Bytes Restored: 1,356,666,962
Rate: 7752.4 KB/s
FD Errors: 1
FD termination status: Fatal Error
SD termination status: Fatal Error
Bareos binary info: bareos.org build: Get official binaries and vendor support on bareos.com
Termination: *** Restore Error ***

2019-12-10 12:02:05bareos-dir JobId 75: Begin pruning Files.
2019-12-10 12:02:05bareos-dir JobId 75: No Files found to prune.
2019-12-10 12:02:05bareos-dir JobId 75: End auto prune.

2019-12-10 12:02:02bareos-sd JobId 75: Error: lib/bsock_tcp.cc:417 Wrote 63161 bytes to client:10.0.0.55:9103, but only 49152 accepted.
2019-12-10 12:02:02bareos-sd JobId 75: Fatal error: stored/read.cc:164 Error sending to File daemon. ERR=Connection reset by peer
2019-12-10 12:02:02bareos-sd JobId 75: Error: lib/bsock_tcp.cc:457 Socket has errors=1 on call to client:10.0.0.55:9103
2019-12-10 12:02:02bareos-sd JobId 75: Releasing device "redmineDev" (/var/lib/bareos/storage/redmine).
2019-12-10 12:01:08redmine-fd JobId 75: Fatal error: TLS read/write failure.: ERR=error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac
2019-12-10 12:01:08redmine-fd JobId 75: Fatal error: filed/restore.cc:523 Data record error. ERR=No data available

The thing is every time it restores different amount of data before failing:
443.57 MB
1.36 GB
etc.

If I execute openssl s_client -connect 10.0.0.55:9102 -state -nbio on server side i got this, actually dunno if this ok or not:

CONNECTED(00000005)
Turned on non blocking io
SSL_connect:before SSL initialization
SSL_connect:SSLv3/TLS write client hello
SSL_connect:error in SSLv3/TLS write client hello
write R BLOCK
SSL3 alert read:fatal:handshake failure
SSL_connect:error in error
140131374576064:error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:../ssl/record/rec_layer_s3.c:1528:SSL alert number 40
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 7 bytes and written 311 bytes
Verification: OK
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
Early data was not sent
Verify return code: 0 (ok)
---

Also tryed it on other client, same error.

Here is the Fileset options:

Include {
    Options {
      Signature = MD5
      Compression = LZ4
      noatime = yes
    }

Need some help (


Reply all
Reply to author
Forward
0 new messages