File Daemon Crash with CephFS

34 views
Skip to first unread message

Kunesch

unread,
May 19, 2020, 4:44:46 AM5/19/20
to bareos-users
Hello everyone,

i want to backup a Ceph_FS filesystem, but the Bareos-FD service crashes during backup, i could only find the following message via debug log:

19-May-2020 10:39:15.463196 kmh-mb-001-fd (50): findlib/find.cc:172-3258 Verify=<VVpin5> Accurate=<Cmcs> BaseJob=<Jpmugcs5> flags=<-134135592>
19-May-2020 10:39:15.463225 kmh-mb-001-fd (450): findlib/find.cc:193-3258 PluginCommand: cephfs:conffile=/etc/ceph/ceph.conf:basedir=dovecot_fs:
19-May-2020 10:39:15.463254 kmh-mb-001-fd (150): filed/fd_plugins.cc:523-3258 plugin cmd=cephfs:conffile=/etc/ceph/ceph.conf:basedir=dovecot_fs:
19-May-2020 10:39:15.463269 kmh-mb-001-fd (100): lib/bsock.cc:89-0 Copy Contructor BareosSocket
19-May-2020 10:39:15.463274 kmh-mb-001-fd (150): filed/fd_plugins.cc:691-3258 plugin=python-fd.so plen=6 cmd=cephfs:conffile=/etc/ceph/ceph.conf:basedir=dovecot_fs: len=6
19-May-2020 10:39:15.463331 kmh-mb-001-fd (150): filed/fd_plugins.cc:226-3258 name=cephfs:conffile=/etc/ceph/ceph.conf:basedir=dovecot_fs: len=6 plugin=python-fd.so plen=6
19-May-2020 10:39:15.463361 kmh-mb-001-fd (150): filed/fd_plugins.cc:691-3258 plugin=bpipe-fd.so plen=5 cmd=cephfs:conffile=/etc/ceph/ceph.conf:basedir=dovecot_fs: len=6
19-May-2020 10:39:15.463393 kmh-mb-001-fd (150): filed/fd_plugins.cc:226-3258 name=cephfs:conffile=/etc/ceph/ceph.conf:basedir=dovecot_fs: len=6 plugin=bpipe-fd.so plen=5
19-May-2020 10:39:15.463421 kmh-mb-001-fd (150): filed/fd_plugins.cc:691-3258 plugin=cephfs-fd.so plen=6 cmd=cephfs:conffile=/etc/ceph/ceph.conf:basedir=dovecot_fs: len=6
19-May-2020 10:39:15.463453 kmh-mb-001-fd (150): filed/fd_plugins.cc:226-3258 name=cephfs:conffile=/etc/ceph/ceph.conf:basedir=dovecot_fs: len=6 plugin=cephfs-fd.so plen=6
19-May-2020 10:39:15.463320 19-May-2020 10:39:15.463463 kmh-mb-001-fd (100): lib/bsock.cc:89-0 Copy Contructor BareosSocket
kmh-mb-001-fd (150): filed/fd_plugins.cc:711-3258 Command plugin = cephfs:conffile=/etc/ceph/ceph.conf:basedir=dovecot_fs:
bareos-fd: symbol lookup error: /usr/lib/bareos/plugins/cephfs-fd.so: undefined symbol: ceph_create


The environment is:
OS: Debian 10.4 
Ceph: "ceph version 14.2.9 (2afdc1f644870fb6315f25a777f9e4126dacc32d) nautilus (stable)
Bareos: 19.2.7 (16Apr20) Linux-3.10.0-1062.18.1.el7.x86_64,debian,Debian GNU/Linux 10 (buster) 

Brock Palen

unread,
May 19, 2020, 9:29:18 AM5/19/20
to Kunesch, bareos-users
Don’t have any experience with this. But undefined symbol means a dynamic linker issue. The plunging looks like it can’t find some ceph library. 

Find what library provides ceph_create make sire it’s installed on the host with the fd. If it’s there check the environment that the fd starts in LD_LIBRARY_PATH env var includes that path. Might start the fd manually with that env to test before getting into init/systemd debugging. 

Sometime etc/ld.so.conf Is used In place of the variable. 

Sent from my iPhone
Brock Palen

On May 19, 2020, at 4:44 AM, 'Kunesch' via bareos-users <bareos...@googlegroups.com> wrote:


--
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 bareos-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/7290c49c-40ee-40c8-8b30-875f9954e39c%40googlegroups.com.

Kunesch

unread,
May 22, 2020, 12:37:33 AM5/22/20
to bareos-users
Hi Brock,

the needed library is installed, under "/usr/lib/libcephfs.so.2.0.0", the both variables have this directory included, but the filedaemon didn't find it. 
To unsubscribe from this group and stop receiving emails from it, send an email to bareos...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages