Hello! I'm trying to get the MySQL plugin (bareos_mysql_dump) to work but I get the error noted on the subject when trying to load it.
Environment:
# mysql --version
mysql Ver 8.0.44 for Linux on x86_64 (MySQL Community Server - GPL)
# bareos-fd --version
25.0.2~pre13.add249aa9
Mysql plugin downloaded from
Installed Packages from Bareos repo (on Mysql FD client):
i | bareos-common
i+ | bareos-filedaemon
i | bareos-filedaemon-python-plugins-common
i+ | bareos-filedaemon-python3-plugin
i+ | python3-bareos
Debug:
sudo -u bareos /usr/sbin/bareos-fd -d 150 -f
bareos-fd (10): lib/parse_conf.h:460-0 ConfigResourcesContainer: new configuration_resources_ 0x55eafe45ab20
bareos-fd (100): lib/parse_conf.cc:181-0 config file = /etc/bareos/bareos-fd.d/*/*.conf
bareos-fd (100): lib/lex.cc:295-0 glob /etc/bareos/bareos-fd.d/*/*.conf: 4 files
bareos-fd (100): lib/lex.cc:194-0 open config file: /etc/bareos/bareos-fd.d/client/mysql-fd.conf
bareos-fd (100): lib/lex.cc:194-0 open config file: /etc/bareos/bareos-fd.d/director/bareos-dir.conf
bareos-fd (100): lib/lex.cc:194-0 open config file: /etc/bareos/bareos-fd.d/director/bareos-mon.conf
bareos-fd (100): lib/lex.cc:194-0 open config file: /etc/bareos/bareos-fd.d/messages/Standard.conf
bareos-fd (100): lib/lex.cc:295-0 glob /etc/bareos/bareos-fd.d/*/*.conf: 4 files
bareos-fd (100): lib/lex.cc:194-0 open config file: /etc/bareos/bareos-fd.d/client/mysql-fd.conf
bareos-fd (100): lib/lex.cc:194-0 open config file: /etc/bareos/bareos-fd.d/director/bareos-dir.conf
bareos-fd (100): lib/lex.cc:194-0 open config file: /etc/bareos/bareos-fd.d/director/bareos-mon.conf
bareos-fd (100): lib/lex.cc:194-0 open config file: /etc/bareos/bareos-fd.d/messages/Standard.conf
mysql-fd-client (100): lib/bsys.cc:616-0 ReadStateFile seek to 192
mysql-fd-client (100): lib/recent_job_results_list.cc:57-0 Read num_items=10
mysql-fd-client (50): lib/plugins.cc:211-0 LoadPlugins
mysql-fd-client (50): lib/plugins.cc:290-0 Found plugin: name=python3-fd.so len=13
mysql-fd-client (150): filed/fd_plugins.cc:1823-0 IsPluginCompatible called
mysql-fd-client (50): lib/plugins.cc:286-0 Rejected plugin: want=-fd.so name=BareosFdMySQLclass.py len=21
mysql-fd-client (150): filed/fd_plugins.cc:1800-0 Loaded plugin: python3-fd.so
mysql-fd-client (10): filed/socket_server.cc:122-0 filed: listening on port 9102
mysql-fd-client (10): filed/socket_server.cc:122-0 filed: listening on port 9102
mysql-fd-client (100): lib/bnet_server_tcp.cc:141-0 Addresses host[ipv4;0.0.0.0;9102] host[ipv6;::;9102]
Can I make the debug more verbose to see why it's being rejected?
Permissions for the plugins are:
# ll
total 44
-rw-r--r-- 1 bareos bareos 9945 Dec 19 19:40 BareosFdMySQLclass.py
-rwxr-xr-x 1 bareos bareos 31632 Dec 16 05:44 python3-fd.so
Thanks in advance!
MfG.