在我的虚拟 CentOS Linux 版本 7.3.1611 上配置 Bacula Server 以执行基本的本地备份工作时,我试图保持理智。
我在 conf 文件中准备了所有我认为必要的配置,并相应地准备了 mysql 数据库。
当我想开始工作(现在是本地备份)时,我在 bconsole 中输入以下命令:
*Connecting to Director 127.0.0.1:9101
1000 OK: bacula-dir Version: 5.2.13 (19 February 2013)
Enter a period to cancel a command.
*label
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
Automatically selected Storage: File
Enter new Volume name: MyVolume
Defined Pools:
1: Default
2: File
3: Scratch
Select the Pool (1-3): 2
这返回
Connecting to Storage daemon File at 127.0.0.1:9101 ...
Failed to connect to Storage daemon.
Do not forget to mount the drive!!!
You have messages.
消息在哪里:
12-Sep 12:05 bacula-dir JobId 0: Fatal error: authenticate.c:120 Director unable to authenticate with Storage daemon at "127.0.0.1:9101". Possible causes:
Passwords or names not the same or
Maximum Concurrent Jobs exceeded on the SD or
SD networking messed up (restart daemon).
Please see http://www.bacula.org/en/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION00260000000000000000 for help.
我仔细检查了所有 conf 文件的完整性以及名称和密码。我不知道在哪里进一步寻找错误。
我很乐意发布 conf 文件的任何部分,但如果可能没有必要,我不想立即解决这个问题。谢谢你的任何提示。