{"id":249,"date":"2012-06-28T22:58:07","date_gmt":"2012-06-28T22:58:07","guid":{"rendered":"http:\/\/rglinuxtech.com\/?p=249"},"modified":"2012-06-28T22:58:07","modified_gmt":"2012-06-28T22:58:07","slug":"the-minor-curse-of-bacula","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=249","title":{"rendered":"The (Minor) Curse of Bacula&#8230;"},"content":{"rendered":"<p><strong><em>Bacula<\/em><\/strong> is great for Linux &#8211; to &#8211; LTO tape backups, but the YUM updates can &#8211; at least on my system &#8211; sometimes leave it in an unusable state..<\/p>\n<p>For some reason, the update tends to leave the libraries in \/usr\/lib64 in a mess, with some pointing to postgresql instead of mysql, and some still in place from the &#8216;old&#8217; version&#8230;\u00a0\u00a0 A massive clue is when you see postgresql-related errors, when in fact you have Bacula configured to use MySql!<\/p>\n<p>Running <strong>bacula-dir<\/strong> from the command line, in &#8216;foreground&#8217; mode with the appropriate debug parameters, helps to track down the actual cause of the errors..<\/p>\n<p>For Bacula with MySql, on an x86_64 system, the appropriate libraries &#8211; in \/usr\/lib64 &#8211; should look like this:<\/p>\n<address>lrwxrwxrwx 1 root root\u00a0\u00a0\u00a0 25 Jun 28 23:28 libbaccats-5.2.8.so -&gt; libbaccats-mysql-5.2.8.so<br \/>\n-rwxr-xr-x 1 root root\u00a0\u00a0 928 Jun 11 10:41 libbaccats.la<br \/>\n-rwxr-xr-x 1 root root 26984 Jun 11 10:41 libbaccats-mysql-5.2.8.so<br \/>\n-rwxr-xr-x 1 root root\u00a0\u00a0 997 Jun 11 10:41 libbaccats-mysql.la<br \/>\nlrwxrwxrwx 1 root root\u00a0\u00a0\u00a0 25 Jun 13 14:04 libbaccats-mysql.so -&gt; libbaccats-mysql-5.2.8.so<\/address>\n<address>\u00a0<\/address>\n<div id=\"attachment_253\" style=\"width: 610px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/d1507750.u268.pipeten.co.uk\/wp_rglinuxtech\/wp-content\/uploads\/2012\/06\/bacula_webmin1.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-253\" class=\"size-full wp-image-253\" title=\"Bacula Webmin Module\" src=\"http:\/\/d1507750.u268.pipeten.co.uk\/wp_rglinuxtech\/wp-content\/uploads\/2012\/06\/bacula_webmin1.jpg\" alt=\"\" width=\"600\" height=\"416\" srcset=\"https:\/\/rglinuxtech.com\/wp_rglinuxtech\/wp-content\/uploads\/2012\/06\/bacula_webmin1.jpg 750w, https:\/\/rglinuxtech.com\/wp_rglinuxtech\/wp-content\/uploads\/2012\/06\/bacula_webmin1-300x208.jpg 300w, https:\/\/rglinuxtech.com\/wp_rglinuxtech\/wp-content\/uploads\/2012\/06\/bacula_webmin1-624x433.jpg 624w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><p id=\"caption-attachment-253\" class=\"wp-caption-text\">Bacula Webmin Module<\/p><\/div>\n<p>&#8211; and then <strong>bacula-dir<\/strong> should run OK!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bacula is great for Linux &#8211; to &#8211; LTO tape backups, but the YUM updates can &#8211; at least on my system &#8211; sometimes leave it in an unusable state.. For some reason, the update tends to leave the libraries in \/usr\/lib64 in a mess, with some pointing to postgresql instead of mysql, and some still in <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=249\"><span class=\"more-msg\">Continue reading &rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[4,10,17,20],"tags":[96,145,154,161,241,242,250,379,431],"class_list":["post-249","post","type-post","status-publish","format-standard","hentry","category-bacula","category-fedora","category-lto","category-performance-2","tag-bacula-2","tag-errors","tag-fedora-2","tag-fix","tag-libraries","tag-linux","tag-lto-2","tag-update","tag-yum"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/249","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=249"}],"version-history":[{"count":0,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/249\/revisions"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=249"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=249"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=249"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}