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

문제가 해결되었습니다. 해결책은 간단합니다. 두 개의 SD가 디렉터에 정의되어 있으며 로컬 SD는 localhost(디렉터 호스트의 127.0.0.1)이고 원격 SD는 IP입니다. 로컬 스토리지에서 원격 FD로 복원하려고 하면 원격 FD가 localhost에 연결을 시도하는데 키가 잘못되었습니다. 컨트롤러는 구성된 SD IP를 사용하여 FD에 작업을 보냅니다. 로컬 호스트 대신 공용 IP를 사용하여 로컬 SD 구성(Director와 동일한 호스트에서)을 변경하면 원격 FD가 올바른 호스트에 연결하여 복원할 파일을 가져올 수 있습니다.

관련 정보