Hello All, >> The error in bacula-sd I am getting is the following: >> > my-sd: init_dev.c:488-0 Driver=cloud entry point=800d4fe60 >> > my-sd: cloud_dev.c:876-0 Open SD driver at >> > /usr/local/lib/bacula-sd-cloud-s3-driver-11.0.5.so >> > my-sd: cloud_dev.c:879-0 Driver=s3 handle=800d19408 >> > my-sd: cloud_dev.c:881-0 Lookup "BaculaCloudDriver" in driver=s3 >> > my-sd: cloud_dev.c:883-0 Driver=s3 entry point=0 >> > my-sd: cloud_dev.c:889-0 Lookup of symbol "BaculaCloudDriver" >> > driver=/usr/local/lib/bacula-sd-cloud-s3-driver-11.0.5.so failed: >> > ERR=Undefined symbol "BaculaCloudDriver"
> This line above ... >> > my-sd: message.c:1831-0 cloud_dev.c:1001 Could not open Cloud driver >> > type=1 for Device=CloudStorage. >> > my-sd: message.c:1831-0 cloud_dev.c:1032 Cloud driver initialization >> > error Cloud driver not properly loaded >> > my-sd: htable.c:67-0 malloc buf=801c71ae8 size=1000000 rem=999976 >> > my-sd: init_dev.c:235-0 init_dev allocated: 801c1cc28 >> > my-sd: init_dev.c:437-0 init_dev: tape=0 >> > dev_name=/backup/backupdisk1/bacula-storage >> > my-sd: dev.c:1143-0 DEVICE::register_metrics called. 0x801c1cc28 >> > collector=0x80101c938 >> > my-sd: stored.c:706-0 SD init done CloudStorage (0x801c1cc28) >> I comppiled the cloud-driver and the cloud-s3-driver with the following >> commands: >> > $ /usr/ports/sysutils/bacula11-server/work/bacula-11.0.5/src/stored >> > > make install-cloud >> > LT Compiling cloud_parts.c >> > LT Compiling cloud_transfer_mgr.c >> > LT Compiling cloud_dev.c >> > cloud_dev.c:1818:17: warning: address of array 'tpkt->m_hash64' will >> > always evaluate to 'true' [-Wpointer-bool-conversion] >> > if (tpkt->m_hash64) { >> > ~~ ~~~~~~^~~~~~~~ >> > 1 warning generated. >> > LT Compiling file_driver.c >> > /usr/ports/sysutils/bacula11-server/work/bacula-11.0.5/libtool >> > --silent --tag=CXX --mode=link /usr/bin/c++ -L/usr/local/lib >> > -L/usr/local/lib -L/usr/local/lib -fstack-protector-strong -shared >> > cloud_parts.lo cloud_transfer_mgr.lo cloud_dev.lo file_driver.lo -o >> > bacula-sd-cloud-driver.la -R /usr/local/lib -rpath /usr/local/lib >> > -module -export-dynamic -release 11.0.5 >> > /usr/ports/sysutils/bacula11-server/work/bacula-11.0.5/autoconf/mkinstalldirs >> > /usr/local/lib >> > /usr/ports/sysutils/bacula11-server/work/bacula-11.0.5/libtool >> > --silent --tag=CXX --mode=install /usr/bin/install -c -m 755 >> > bacula-sd-cloud-driver.la /usr/local/lib >> > /bin/rm -f /usr/local/lib/bacula-sd-cloud-driver.la >> > $ /usr/ports/sysutils/bacula11-server/work/bacula-11.0.5/src/stored >> > > make install-s3-cloud >> > /usr/ports/sysutils/bacula11-server/work/bacula-11.0.5/autoconf/mkinstalldirs >> > /usr/local/lib >> > /usr/ports/sysutils/bacula11-server/work/bacula-11.0.5/libtool >> > --silent --tag=CXX --mode=install /usr/bin/install -c -m 755 >> > bacula-sd-cloud-driver.la /usr/local/lib >> > /bin/rm -f /usr/local/lib/bacula-sd-cloud-driver.la >> > LT Compiling s3_driver.c >> > /usr/ports/sysutils/bacula11-server/work/bacula-11.0.5/libtool >> > --silent --tag=CXX --mode=link /usr/bin/c++ -L/usr/local/lib >> > -L/usr/local/lib -L/usr/local/lib -fstack-protector-strong -shared >> > cloud_parts.lo cloud_transfer_mgr.lo s3_driver.lo -o >> > bacula-sd-cloud-s3-driver.la -R /usr/local/lib -rpath /usr/local/lib >> > -module -export-dynamic -release 11.0.5 >> > /usr/ports/sysutils/bacula11-server/work/bacula-11.0.5/autoconf/mkinstalldirs >> > /usr/local/lib >> > /usr/ports/sysutils/bacula11-server/work/bacula-11.0.5/libtool >> > --silent --tag=CXX --mode=install /usr/bin/install -c -m 755 >> > bacula-sd-cloud-s3-driver.la /usr/local/lib >> > /bin/rm -f /usr/local/lib/bacula-sd-cloud-s3-driver.la >> But when I start bacula-sd with bacula-sd -d 255, I am getting the above >> > ERR=Undefined symbol "BaculaCloudDriver" >> error message. > Matches this line. My thoughts: don't try to start bacula-sd until that > compile > time error is fixed. I reported a similar bug in the 11.0.2 version for CentOS. Maybe is the FreeBSD part not fixed. If you are feeling adventurous you can try to fix it from the thread information <https://bugs.bacula.org/view.php?id=2615>. Regards, -- MSc Heitor Faria (Miami/USA) Bacula LATAM CEO mobile1: + 1 909 655-8971 mobile2: + 55 61 98268-4220 [ https://www.linkedin.com/in/msc-heitor-faria-5ba51b3 ] [ http://www.bacula.com.br/ ] América Latina [ http://bacula.lat/ | bacula.lat ] | [ http://www.bacula.com.br/ | bacula.com.br ]
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users