Bacula - 치명적인 오류: 저장소 데몬이 인증 키를 거부했습니다.

Bacula - 치명적인 오류: 저장소 데몬이 인증 키를 거부했습니다.

OS: Debian 9, bacula dir, fd, sd: 모두 동일한 버전 7.4.4+dfsg-6 일부 파일(전체 세트 아님)의 복원을 수행하려고 하면 FD에서 오류가 발생합니다.

4-Nov 12:20 host-dir JobId 273: Start Restore Job RestoreFiles.2017-11-24_12.20.32_48 24-Nov 12:20 host-dir JobId 273: Using Device "FileChgr1-Dev1" to read. 24-Nov 12:20 host-remote-fd JobId 273: Fatal error: Authorization key rejected by Storage daemon. For help, please see http://www.bacula.org/rel-manual/en/problems/Bacula_Frequently_Asked_Que.html 24-Nov 12:20 host-dir JobId 273: Fatal error: Bad response to Storage command: wanted 2000 OK storage , got 2902 Bad storage

디렉터 오류:

24-Nov 12:20 host-dir JobId 273: Error: Bacula host-dir 7.4.4 (202Sep16): Build OS: x86_64-pc-linux-gnu debian 9.0 JobId: 273 Job: RestoreFiles.2017-11-24_12.20.32_48 Restore Client: host-remote-fd Start time: 24-Nov-2017 12:20:34 End time: 24-Nov-2017 12:20:46 Files Expected: 3 Files Restored: 0 Bytes Restored: 0 Rate: 0.0 KB/s FD Errors: 2 FD termination status:
SD termination status: Waiting on FD Termination: *** Restore Error ***

SD 오류: host-remote-sd: bnet.c:566-0 who=client host=127.0.0.1 port=9103 host-remote-sd: hello.c:134-0 Conn: Hello Bacula SD: Start Job RestoreFiles.2017-11-24_12.20.32_48 213 host-remote-sd: hello.c:147-0 Client connect failed: Job name not found: RestoreFiles.2017-11-24_12.20.32_48 host-remote-sd: hello.c:148-0 **** Job "RestoreFiles.2017-11-24_12.20.32_48" not found.

답변1

문제 해결됨. 해결 방법은 간단합니다. 디렉터에서는 2개의 SD, 로컬을 로컬 호스트(디렉터 호스트의 127.0.0.1)로 정의하고 IP를 사용하여 원격을 정의했습니다. 로컬 스토리지에서 원격 FD로 복원하려고 했을 때 원격 FD가 localhost에 연결을 시도했는데 키가 잘못되었습니다. Director는 구성된 대로 SD IP를 사용하여 FD에 작업을 보냅니다. localhost 대신 공용 IP를 사용하여 로컬 SD 구성(Director와 동일한 호스트)을 변경하면 원격 FD가 적절한 호스트에 연결하여 복원할 파일을 가져올 수 있습니다.

관련 정보