Hi everyone,
I’m trying to configure Bacula and connect it to Webmin to manage my backup jobs graphically, I have installed and configured bacula and webmin successfully, but when I click on “Bacula backup system” on webmin , it returns this error: Failed to connect to the Bacula database : Failed to load the database DBI driver mysql at ./bacula-backup-lib.pl line 45. Maybe it is not set up, or the module configuration is incorrect. However, I’ve selected the bacula module configuration as follow:
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
I’m using Ubuntu 16.04.4 LTS and for me the fix was:
In the webmin, Select others->Perl Modules-> suggested modules install DBD::mysql. This works for me.
To fix go to Webmin -> Others -> Perl Modules, and install the DBD::mysql Perl module, or just install all suggested modules.
If any libwrap error, then run from bash
sudo apt-get install libwrap0 libwrap0-dev
Then try install again in webmin