你好!
我有 Ubuntu 16.04.1 LTS
和我的 bacula 服务:
$ service --status-all | grep bacula
[ + ] bacula-director
[ + ] bacula-fd
[ + ] bacula-sd
Bacula 5.2.6 版(2012 年 2 月 21 日)——ubuntu 14.04
Bacula 导演配置:
Director { # define myself
Name = ubuntu-dir
DIRport = 9101 # where we listen for UA connections
QueryFile = "/etc/bacula/scripts/query.sql"
WorkingDirectory = "/var/lib/bacula"
PidDirectory = "/var/run/bacula"
Maximum Concurrent Jobs = 10
Password = "password-bacula-dir" # Console password
Messages = Daemon
DirAddress = localhost
# DirAddresses = {
# ip = { addr = 127.0.0.1; port = 9101; }
# ip = { addr = 10.0.5.71; port = 9101; }
# }
}
bconsole 配置:
Director {
Name = ubuntu-dir
DIRport = 9101
address = localhost
Password = "password-bacula-dir"
}
$ netstat -anp | 听听 | grep bacula
tcp 0 0 127.0.0.1:9101 0.0.0.0:* LISTEN 5532/bacula-dir
tcp 0 0 127.0.0.1:9102 0.0.0.0:* LISTEN 1091/bacula-fd
tcp 0 0 127.0.0.1:9103 0.0.0.0:* LISTEN 1072/bacula-sd
所以,当我使用
$ bconsole
得到错误:
Connecting to Director localhost:9101
Director authorization problem.
Most likely the passwords do not agree.
If you are using TLS, there may have been a certificate validation error during the TLS handshake.
Please see http://www.bacula.org/en/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION00260000000000000000 for help.
错误可能在哪里?
PS ufw 被禁用