It looks like the bacula-fd has the wrong key. Are you restoring to the
correct client machine?
On 8/6/21 7:30 AM, Robert Earl wrote:
Greetings, Bacula User Types! Long time no see!
Because I am in the throes of doing many dangerous maintenance tasks
on my server, I took the liberty of testing a few restores of critical
files. I was unsurprised to find that they all failed.
aten-sd JobId 3746: Ready to read from volume "Vol0160" on File device
"FileStorage" (/backup).
aten-sd JobId 3746: Forward spacing Volume "Vol0160" to addr=7999614780
aten-sd JobId 3746: Elapsed time=00:00:01, Transfer rate=2.608 K
Bytes/second
aten-fd JobId 3746: Error: openssl.c:68 Encryption session provided an
invalid symmetric key: ERR=error:0407109F:rsa
routines:RSA_padding_check_PKCS1_type_2:pkcs decoding error
aten-fd JobId 3746: Error: openssl.c:68 Encryption session provided an
invalid symmetric key: ERR=error:04065072:rsa
routines:rsa_ossl_private_decrypt:padding check failed
aten-fd JobId 3746: Error: openssl.c:68 Encryption session provided an
invalid symmetric key: ERR=error:0607A082:digital envelope
routines:EVP_CIPHER_CTX_set_key_length:invalid key length
aten-fd JobId 3746: Error: restore.c:764 Failed to initialize
decryption context for /tmp/restore/etc/bind/bind.keys
Now, the configuration docs say nothing about me needing to modify
config, as long as I have not lost keys, zorched the whole system, etc.
The troubleshooting docs, I must remark, are wafer-thin compared to
the complexity of this enterprise software application. I did a simple
Ctrl-F "crypt" and found no mention at all, not even in this section
<https://www.bacula.org/9.6.x-manuals/en/problems/Testing_Your_Tape_Drive_Wit.html#SECTION00431000000000000000>...
I cranked up verbosity and debugging on bacula-dir and ran it in the
foreground as prescribed, but there is no extra logging anywhere that
I can find (since Bacula refuses to conform to the FHS Filesystem
Hierarchy Standard, and I had old versions from Ubuntu's repos, Bacula
and its disused detritus is spreadeagled all over my filesystem like a
drunken octopus.)
So I must throw myself upon the mercy of the community to debug this.
Thanks.
Robert
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users