Hi Valentin, My reply is a bit late, so you may have already solved this issue. However, I think this is caused by a mismatch of "maximum concurrent jobs" configuration between your director and storage daemon. Please make sure the director and storage daemon have the same value for this setting.
There's some more information here - https://docs.bareos.org/Appendix/Troubleshooting.html?highlight=concurrent . Cheers, Anthony On Fri, Jan 10, 2020 at 5:42 PM Valentin Dzhorov <[email protected]> wrote: > Hey guys! So, I am running Bareos experimentally in a test environment. I > am backing up 10 clients on a remote storage server. The issue I am facing > is that sometimes when doing scheduled backups (incremental or full), some > of the backup jobs fail with the error message "Fatal error: Failed to > authenticate Storage daemon.". However, when re-running the same job via > WebUI, the job runs without any issue. One thing to mention is that I am > backing up to disk and my setup is done according to the documentation for > running concurrent backup jobs on a disk. I am running 5 concurrent backup > jobs at the moment. Also, the authorization between client->dir and > client->storage is done via a password. Any hints on what may be wrong are > welcome! Here is the log from a failed backup job: > > 2020-01-10 00:00:06 client1 JobId 112: Fatal error: Authorization key > rejected client1. > 2020-01-10 00:00:06 client1 JobId 112: Fatal error: Failed to > authenticate Storage daemon. > 2020-01-10 00:00:06 bareos-dir JobId 112: Fatal error: Bad response to > Storage command: wanted 2000 OK storage > , got 2902 Bad storage > > 2020-01-10 00:00:06 bareos-dir JobId 112: Error: Bareos bareos-dir > 19.2.4~rc1 (19Dec19): > Build OS: Linux-5.3.14-200.fc30.x86_64 redhat CentOS Linux release > 7.7.1908 (Core) > JobId: 112 > Job: client1.2020-01-10_00.00.00_48 > Backup Level: Incremental, since=2020-01-09 00:00:01 > Client: "client1" 19.2.4~rc1 (19Dec19) > Linux-5.3.14-200.fc30.x86_64,redhat,CentOS Linux release 7.7.1908 (Core) > FileSet: "LinuxAllwithSQL_EL" 2020-01-08 00:00:00 > Pool: "client1" (From Job resource) > Catalog: "MyCatalog" (From Client resource) > Storage: "remote_storage_public_1" (From Pool resource) > Scheduled time: 10-Jan-2020 00:00:00 > Start time: 10-Jan-2020 00:00:00 > End time: 10-Jan-2020 00:00:06 > Elapsed time: 6 secs > Priority: 20 > FD Files Written: 0 > SD Files Written: 0 > FD Bytes Written: 0 (0 B) > SD Bytes Written: 0 (0 B) > Rate: 0.0 KB/s > Software Compression: None > VSS: no > Encryption: no > Accurate: no > Volume name(s): > Volume Session Id: 22 > Volume Session Time: 1578498212 > Last Volume Bytes: 0 (0 B) > Non-fatal FD errors: 2 > SD Errors: 0 > FD termination status: Fatal Error > SD termination status: Waiting on FD > Bareos binary info: pre-release version: Get official binaries and vendor > support on bareos.com > Termination: *** Backup Error *** > > 2020-01-10 00:00:01 bareos-dir JobId 112: Using Device "FileStorage5" to > write. > 2020-01-10 00:00:01 bareos-dir JobId 112: Connected Client: client1 at > 79.98.111.69:9102, encryption: None > 2020-01-10 00:00:01 bareos-dir JobId 112: Handshake: Cleartext > 2020-01-10 00:00:01 bareos-dir JobId 112: Encryption: None > 2020-01-10 00:00:00 bareos-dir JobId 112: Start Backup JobId 112, > Job=client1.2020-01-10_00.00.00_48 > 2020-01-10 00:00:00 bareos-dir JobId 112: Connected Storage daemon at > 185.55.228.135:9103, encryption: None > > -- > You received this message because you are subscribed to the Google Groups > "bareos-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/bareos-users/8a5aec1b-091f-4365-807f-e723c86bcd5c%40googlegroups.com > <https://groups.google.com/d/msgid/bareos-users/8a5aec1b-091f-4365-807f-e723c86bcd5c%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/CAB_keXO-%2BQUxa4AYNjzvAYj-2r7dQJ%3DQUh6vJd31HwG4n6dgWg%40mail.gmail.com.
