mysql plugin errors

38 views
Skip to first unread message

Dan Broscoi

unread,
Jan 28, 2020, 11:03:55 AM1/28/20
to bareos-users
HI, 

I'm starting to get used with the mysql dump plugin and I have successfully configured a host, everything works.

Now, on the second host I did the same configs and i have errors: 

28-Jan 17:43 bareos-dir JobId 136: Start Backup JobId 136, Job=xxxx-backup.2020-01-28_17.43.00_17
28-Jan 17:43 bareos-dir JobId 136: Connected Storage daemon at bareos:9103, encryption: PSK-AES256-CBC-SHA
28-Jan 17:43 bareos-dir JobId 136: Using Device "FileStorage" to write.
28-Jan 17:43 bareos-dir JobId 136: Connected Client: xxxx at xxxxx:9102, encryption: PSK-AES256-CBC-SHA
28-Jan 17:43 bareos-dir JobId 136:  Handshake: Immediate TLS 28-Jan 17:43 bareos-dir JobId 136:  Encryption: PSK-AES256-CBC-SHA
28-Jan 17:43 analytics-fd JobId 136: Connected Storage daemon at bareos:9103, encryption: PSK-AES256-CBC-SHA
28-Jan 17:43 analytics-fd JobId 136: Extended attribute support is enabled
28-Jan 17:43 analytics-fd JobId 136: ACL support is enabled
28-Jan 17:43 bareos-sd JobId 136: Volume "Full-0084" previously written, moving to end of data.
28-Jan 17:43 bareos-sd JobId 136: Ready to append to end of Volume "Full-0084" size=36051267782
28-Jan 17:46 analytics-fd JobId 136: Fatal error: filed/fd_plugins.cc:666 Command plugin "python:module_path=/usr/lib64/bareos/plugins:module_name=bareos-fd-percona:mycnf=/root/.my.cnf" requested, but is not loaded.
28-Jan 17:46 bareos-sd JobId 136: Error: lib/bsock_tcp.cc:638 Read expected 65554 got 47612 from client:xxxxx:9103
28-Jan 17:46 bareos-sd JobId 136: Releasing device "FileStorage" (/var/lib/bareos/storage).
28-Jan 17:46 bareos-dir JobId 136: Fatal error: Director's comm line to SD dropped.
28-Jan 17:46 bareos-dir JobId 136: Error: Bareos bareos-dir 18.2.5 (30Jan19):
  Build OS:               Linux-4.4.92-6.18-default redhat Red Hat Enterprise Linux Server release 7.0 (Maipo)

If I run the "manual" backup, it works: 
xtrabackup --defaults-extra-file=/root/.my.cnf  --backup --stream=xbstream --extra-lsndir=/tmp/tmpBWsG5


Entry in fileset(server side): 

    Plugin = "python:module_path=/usr/lib64/bareos/plugins:module_name=bareos-fd-percona:mycnf=/root/.my.cnf"

Files in : /usr/lib64/bareos/plugins

BareosFdPercona.py
bareos-fd-percona.py
bpipe-fd.so

Entry in : /etc/bareos/bareos-fd.d/client/myself.conf (client side)

   Plugin Directory = "/usr/lib64/bareos/plugins"
   Plugin Names = "python"

What i'm doing wrong ?

Andreas Rogge

unread,
Jan 29, 2020, 3:59:47 AM1/29/20
to bareos...@googlegroups.com
Hi Dan,

quick guess: you didn't install the python plugin (i.e. the
python-fd.so) so your fd cannot load python plugins.

Best Regards,
Andreas

Am 28.01.20 um 17:03 schrieb Dan Broscoi:
> --
> You received this message because you are subscribed to the Google
> Groups "bareos-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to bareos-users...@googlegroups.com
> <mailto:bareos-users...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/bareos-users/5781d3d3-bf10-443f-8f20-8aaedb833aee%40googlegroups.com
> <https://groups.google.com/d/msgid/bareos-users/5781d3d3-bf10-443f-8f20-8aaedb833aee%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
Andreas Rogge andrea...@bareos.com
Bareos GmbH & Co. KG Phone: +49 221-630693-86
http://www.bareos.com

Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
Komplementär: Bareos Verwaltungs-GmbH
Geschäftsführer: S. Dühr, M. Außendorf, J. Steffens, Philipp Storz

signature.asc

Andrei Brezan

unread,
Jan 29, 2020, 7:19:30 AM1/29/20
to bareos-users
One option would be to run bareos-fd with the debug flags "-d nn -dt -f". I've found that debug level 100-150 suffices most of the times.

--
Andrei

Dan Broscoi

unread,
Jan 30, 2020, 9:33:59 AM1/30/20
to bareos-users
you where right, I was missing the python rpm. Maybe make the error more explanatory ?
Reply all
Reply to author
Forward
0 new messages