Hi Kern
Sorry , i didn't see the download url provided on bacula site for the
libs3, it compiles without errors now , but i have a problem when try to
list volumes on s3 storage the bacula-sd process dies returning a
"Segmentation Violation" as shown below , i 'm using CentOS 7 but i
also tried on Debian 9 installed the binary packages from Bacula
Community oficial repo but got the same thing . I'm posting the output
of bacula-sd running until die . Any suggestion ?
Best Regards
Dante Colò
root@debian9VM01:/opt/bacula/bin# ./bacula-sd -d100 -dt -v -f
09-Jan-2019 13:30:33 bacula-sd: address_conf.c:274-0 Initaddr 0.0.0.0:9103
09-Jan-2019 13:30:33 am-pdc-sd: jcr.c:131-0 read_last_jobs seek to 192
09-Jan-2019 13:30:33 am-pdc-sd: jcr.c:138-0 Read num_items=0
09-Jan-2019 13:30:33 am-pdc-sd: plugins.c:97-0 load_plugins
09-Jan-2019 13:30:33 am-pdc-sd: plugins.c:133-0 Rejected plugin:
want=-sd.so name=bacula-sd-cloud-driver-9.4.1.so len=31
09-Jan-2019 13:30:33 am-pdc-sd: plugins.c:133-0 Rejected plugin:
want=-sd.so name=bpipe-fd.so len=11
09-Jan-2019 13:30:33 am-pdc-sd: plugins.c:133-0 Rejected plugin:
want=-sd.so name=bacula-sd-aligned-driver-9.4.1.so len=33
09-Jan-2019 13:30:33 am-pdc-sd: plugins.c:121-0 Failed to find any
plugins in /opt/bacula/plugins
09-Jan-2019 13:30:33 am-pdc-sd: stored.c:608-0 calling init_dev
volume_local_1
09-Jan-2019 13:30:33 am-pdc-sd: init_dev.c:152-0 Num drivers=15
09-Jan-2019 13:30:33 am-pdc-sd: init_dev.c:165-0 loadable=0 type=1
loaded=1 name=file handle=0
09-Jan-2019 13:30:33 am-pdc-sd: init_dev.c:391-0 init_dev: tape=0
dev_name=/backup/bacula/data
09-Jan-2019 13:30:33 am-pdc-sd: stored.c:610-0 SD init done volume_local_1
09-Jan-2019 13:30:33 am-pdc-sd: acquire.c:663-0 Attach 0xc001df8 to dev
"volume_local_1" (/backup/bacula/data)
09-Jan-2019 13:30:33 am-pdc-sd: stored.c:608-0 calling init_dev wasabi_s3_1
09-Jan-2019 13:30:33 am-pdc-sd: init_dev.c:152-0 Num drivers=15
09-Jan-2019 13:30:33 am-pdc-sd: init_dev.c:165-0 loadable=1 type=14
loaded=0 name=cloud handle=0
09-Jan-2019 13:30:33 am-pdc-sd: init_dev.c:430-0 loadable=1 type=14
loaded=0 name=cloud handle=0
09-Jan-2019 13:30:33 am-pdc-sd: init_dev.c:435-0 Open SD driver at
/opt/bacula/plugins/bacula-sd-cloud-driver-9.4.1.so
09-Jan-2019 13:30:33 am-pdc-sd: bnet_server.c:86-0 Addresses 0.0.0.0:9103
09-Jan-2019 13:30:33 am-pdc-sd: init_dev.c:438-0 Driver=cloud
handle=7ff00c001f90
09-Jan-2019 13:30:33 am-pdc-sd: init_dev.c:440-0 Lookup "BaculaSDdriver"
in driver=cloud
09-Jan-2019 13:30:33 am-pdc-sd: init_dev.c:442-0 Driver=cloud entry
point=7ff012d4ddd0
09-Jan-2019 13:30:33 am-pdc-sd: init_dev.c:391-0 init_dev: tape=0
dev_name=/backup/bacula/cloud
09-Jan-2019 13:30:33 am-pdc-sd: stored.c:610-0 SD init done wasabi_s3_1
09-Jan-2019 13:30:33 am-pdc-sd: acquire.c:663-0 Attach 0xc003e28 to dev
"wasabi_s3_1" (/backup/bacula/cloud)
09-Jan-2019 13:30:53 am-pdc-sd: bsock.c:851-0 socket=6 who=client
host=172.17.198.11 port=47292
09-Jan-2019 13:30:53 am-pdc-sd: dircmd.c:188-0 Got a DIR connection at
09-Jan-2019 13:30:53
09-Jan-2019 13:30:53 am-pdc-sd: cram-md5.c:69-0 send: auth cram-md5
challenge <2043907137.1547047853@am-pdc-sd> ssl=0
09-Jan-2019 13:30:53 am-pdc-sd: cram-md5.c:133-0 cram-get received: auth
cram-md5 <1199549957.1547047853@am-pdc-dir> ssl=0
09-Jan-2019 13:30:53 am-pdc-sd: cram-md5.c:157-0 sending resp to
challenge: 9U+ADnlRBG5TBWd4T8YocA
09-Jan-2019 13:30:53 am-pdc-sd: dircmd.c:214-0 Message channel init
completed.
09-Jan-2019 13:30:53 am-pdc-sd: dircmd.c:1167-0 Found device wasabi_s3_1
09-Jan-2019 13:30:53 am-pdc-sd: dircmd.c:1211-0 Found device wasabi_s3_1
09-Jan-2019 13:30:53 am-pdc-sd: acquire.c:663-0 Attach 0xc004148 to dev
"wasabi_s3_1" (/backup/bacula/cloud)
*Bacula interrupted by signal 11: Segmentation violation*
Kaboom! bacula-sd, am-pdc-sd got signal 11 - Segmentation violation at
09-Jan-2019 13:30:53. Attempting traceback.
Kaboom! exepath=/opt/bacula/bin/
Calling: /opt/bacula/bin/btraceback /opt/bacula/bin/bacula-sd 1244
/var/bacula/working
On 31/12/18 17:47, Kern Sibbald wrote:
Hello,
Sven's libs3 is surely perfectly OK, but if you want the one that
Bacula uses, please read the 9.4.1 release notes,
as you might want to download the Bacula version which is in the
downloads directory on bacula.org. Link provided
in the release notes.
Best regards,
Kern
On 12/28/18 7:07 PM, Dante F. B. Colò wrote:
Hi Sven
Thanks for your reply,
In my case m using CentOS 7 , i tried compiled Bacula with libs3
available on epel repository which is even older than this branch
you mencioned but it fails to build , i''l try with the version
available on your repo. Thank you !
On 27/12/18 18:18, Sven Hartge wrote:
On 27.12.18 20:50, Dante F. B. Colò wrote:
I'm trying to setup a s3 cloud storage on Bacula Storage Daemon, is
there any extra dependencies necessary on the system to build Bacula
with the S3 plugin ? I already compiled and installed but the
bacula-sd process dies when Bacula tries to connect and list a cloud
volume from bconsole.
I dug into this extensivley while trying (note my wording here) to
enable this feature for Debian.
First, you need Bacula 9.4.1, because 9.4.0 was missing a crucial bit in
the configure script, skipping detection of libs3.
Then, as it turns out, you need a very specific version of libs3 for
this, namely the GIT version 06a4683 from 2016-12-14. Any older or newer
and Bacula won't even compile.
To get this ancient version to compile with todays compilers, you need
to add two patches, I've isolated them here
https://salsa.debian.org/hartge-guest/libs3/tree/master/debian/patches.
You need the fix-buffer-sizes.patch and support-newer-curl.patch.
Beware: I just tested successful compilation of Bacula with this version
of the library, I didn't test if it works at all and if it works, it
does so correctly.
There is a thread in bacula-devel going over the whole ordeal, if you
are interested, I suggest reading it as well.
Grüße,
Sven.
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users