Hello Erick

I guess I've discovered the problem.
I had to remove the libs cache "rm /etc/ld.so.cache" and just
run "ldconfig" to create a new cache and then running command "s3" worked
fine.

I guess my bacula configuration (director and storage are OK), I've made a
backup and it worked.

Thanks

Best regards

*Wanderlei Hüttel*



Em qua., 16 de jun. de 2021 às 12:02, Eric Bollengier via Bacula-users <
bacula-users@lists.sourceforge.net> escreveu:

> Hello,
>
> I would suggest to play with ld.so.conf and LD_LIBRARY_PATH, it seems that
> new
> systems are not very fan of having things in /usr/local.
>
> Best Regards,
>
> Eric
>
> On 16.06.21 14:01, Wanderlei Huttel wrote:
> > Hello
> >
> > Finally I'm trying to run Bacula with S3 Cloud (Wasabi), but I'm not
> getting
> > to configure.
> > In the Whitepaper and Manual is not so clear (would be interesting have
> more
> > information  and examples about it).
> >
> > What I'm doing wrong?
> >
> > I followed this bacula video:
> > https://www.youtube.com/watch?v=WCsgtl--ZHA
> > <https://www.youtube.com/watch?v=WCsgtl--ZHA>
> >
> > root@debian:/usr/src/libs3-20200523# DESTDIR=/usr/local make clean
> > build: Cleaning
> >
> > root@debian:/usr/src/libs3-20200523# DESTDIR=/usr/local make
> > build/obj/bucket.do: Compiling dynamic object
> > build/obj/bucket_metadata.do: Compiling dynamic object
> > build/obj/error_parser.do: Compiling dynamic object
> > build/obj/general.do: Compiling dynamic object
> > build/obj/object.do: Compiling dynamic object
> > build/obj/request.do: Compiling dynamic object
> > build/obj/request_context.do: Compiling dynamic object
> > build/obj/response_headers_handler.do: Compiling dynamic object
> > build/obj/service_access_logging.do: Compiling dynamic object
> > build/obj/service.do: Compiling dynamic object
> > build/obj/simplexml.do: Compiling dynamic object
> > build/obj/util.do: Compiling dynamic object
> > build/obj/multipart.do: Compiling dynamic object
> > build/lib/libs3.so.4: Building shared library
> > build/obj/bucket.o: Compiling object
> > build/obj/bucket_metadata.o: Compiling object
> > build/obj/error_parser.o: Compiling object
> > build/obj/general.o: Compiling object
> > build/obj/object.o: Compiling object
> > build/obj/request.o: Compiling object
> > build/obj/request_context.o: Compiling object
> > build/obj/response_headers_handler.o: Compiling object
> > build/obj/service_access_logging.o: Compiling object
> > build/obj/service.o: Compiling object
> > build/obj/simplexml.o: Compiling object
> > build/obj/util.o: Compiling object
> > build/obj/multipart.o: Compiling object
> > build/lib/libs3.a: Building static library
> > build/obj/s3.o: Compiling object
> > build/bin/s3: Building executable
> > build/include/libs3.h: Linking header
> > build/obj/testsimplexml.o: Compiling object
> > build/bin/testsimplexml: Building executable
> >
> >
> > root@debian:/usr/src/libs3-20200523# DESTDIR=/usr/local make install
> > /usr/local/bin/s3: Installing executable
> > /usr/local/lib/libs3.so.4.1.bac: Installing shared library
> > /usr/local/lib/libs3.so.4: Linking shared library
> > /usr/local/lib/libs3.so: Linking shared library
> > /usr/local/lib/libs3.a: Installing static library
> > install: AVISO: ignorando a opção --strip-program, pois a opção -s não
> foi
> > especificada
> > /usr/local/include/libs3.h: Installing header
> > install: AVISO: ignorando a opção --strip-program, pois a opção -s não
> foi
> > especificada
> >
> >
> > When I run S3 I've receive this error.
> > root@debian:/usr/src/libs3-20200523# s3
> > s3: error while loading shared libraries: libs3.so.4: cannot open shared
> > object file: No such file or directory
> >
> >
> > --------------------------------------------
> > bacula-sd.conf
> > --------------------------------------------
> > Storage{
> >   Name = bacula-sd
> >   SDPort = 9103
> >   WorkingDirectory = "/etc/bacula/working"
> >   Pid Directory = "/etc/bacula/working"
> >   Maximum Concurrent Jobs = 50
> >   Heartbeat Interval = 300 seconds
> >   PluginDirectory = "/etc/bacula/plugins"
> > }
> >
> > Cloud {
> >   Name = "Wasabi"
> >   Driver = "S3"
> >   HostName = "s3.wasabisys.com <http://s3.wasabisys.com>"
> >   Region = "us-east-1"
> >   BucketName = "my-bucket-name"
> >   AccessKey = "MY_KEY"
> >   SecretKey = "MY_SECRET_KEY"
> >   Protocol = HTTPS
> >   UriStyle = path
> >   Truncate Cache = No #AfterUpload
> >   Upload = EachPart
> >   # MaximumUploadBandwidth = 5MB/s # Optional
> > }
> >
> > Device {
> >   Name = "RemoteBucket"
> >   Device Type = Cloud
> >   Cloud = "Wasabi"
> >   Archive Device = "/backup/wasabi" # local volume cache
> >   Maximum Part Size = 500 MB # important: it is the object upload
> granularity
> >   Media Type = Cloud
> >   LabelMedia = yes
> >   Random Access = yes
> >   AutomaticMount = yes
> >   RemovableMedia = no
> >   AlwaysOpen = no
> > }
> >
> >
> > --------------------------------------------
> > bacula-dir.conf
> > --------------------------------------------
> > Storage {
> >   Name = "Wasabi"
> >   Address = 192.168.1.87
> >   SDPort = 9103
> >   Password = "XXXXXXXXXXXXXXXXXXXXXXX"
> >   Device = "RemoteBucket"
> >   Media Type = Cloud
> >   Maximum Concurrent Jobs = 1
> >   Heartbeat Interval = 300 seconds
> > #  Autochanger = "Wasabi"
> > }
> >
> >
> > Best regards
> >
> > *Wanderlei Hüttel*
> >
> >
> >
> > _______________________________________________
> > 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

Reply via email to