On Monday, February 16, 2015 at 9:28:56 PM UTC+1, Stephan Duehr wrote: > no, but to see what's happening, it's always a good idea to first > try to run bareos-sd in foreground with a debug-level >= 100 > for example: > > chsh -s /bin/bash bareos > service bareos-sd stop > su - bareos > /usr/sbin/bareos-sd -f -d 100
Thanks for the tip. I now ran bareos-sd in debugging mode as recommended and here would be the output: bareos-srv-sd: jcr.c:141-0 read_last_jobs seek to 192 bareos-srv-sd: jcr.c:148-0 Read num_items=1 bareos-srv-sd: crypto_cache.c:55-0 Could not open crypto cache file. /var/lib/bareos/bareos-sd.9103.cryptoc ERR=No such file or directory bareos-srv-sd: bnet_server_tcp.c:166-0 Addresses host[ipv4;0.0.0.0;9103] bareos-srv-sd: stored.c:609-0 calling init_dev /var/lib/bareos/storage bareos-srv-sd: dev.c:377-0 init_dev: tape=0 dev_name=/var/lib/bareos/storage bareos-srv-sd: dev.c:379-0 dev=/var/lib/bareos/storage dev_max_bs=0 max_bs=0 bareos-srv-sd: stored.c:611-0 SD init done /var/lib/bareos/storage bareos-srv-sd: block.c:127-0 created new block of blocksize 64512 (dev->device->label_block_size) as dev->max_block_size is zero bareos-srv-sd: stored.c:609-0 calling init_dev gluster://192.168.10.198/backup/bareos bareos-srv-sd: sd_backends.c:111-0 init_backend_dev: testing backend /usr/lib/bareos/backends/libbareossd-gfapi.so 17-Feb 10:50 bareos-srv-sd ABORTING due to ERROR Unable to load any shared library for libbareossd-gfapi.so BAREOS forced SEG FAULT to obtain traceback. BAREOS interrupted by signal 11: Segmentation violation Kaboom! bareos-sd, bareos-srv-sd got signal 11 - Segmentation violation. Attempting traceback. Kaboom! exepath=/usr/sbin/ Calling: /usr/sbin/btraceback /usr/sbin/bareos-sd 8335 /var/lib/bareos It looks like the traceback worked... Looks like a shared library issue... just in case here is the content of the bareos backends lib directory: $ ls -la /usr/lib/bareos/backends/ total 96 drwxr-xr-x 2 root root 4096 Feb 16 17:45 . drwxr-xr-x 6 root root 4096 Feb 16 17:39 .. -rw-r--r-- 1 root root 32848 Dec 31 19:17 libbareoscats-postgresql-14.2.2.so lrwxrwxrwx 1 root root 34 Dec 31 19:16 libbareoscats-postgresql.so -> libbareoscats-postgresql-14.2.2.so -rwxr-xr-x 1 root root 51377 Feb 16 17:44 libbareossd-gfapi-14.2.2.so lrwxrwxrwx 1 root root 27 Feb 16 17:45 libbareossd-gfapi.so -> libbareossd-gfapi-14.2.2.so -- You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
