[Samba] smbstatus no longer working after upgrade to 4.13.14

Julian Einwag julian.einwag at marcapo.com
Wed Dec 8 08:37:16 UTC 2021



> On 6. Dec 2021, at 12:11, Julian Einwag via samba <samba at lists.samba.org> wrote:
>
>
>
>> On 6. Dec 2021, at 11:41, Rowland Penny via samba <samba at lists.samba.org> wrote:
>>> : config_file = /etc/ceph/ceph.conf
>>> ceph: user_id = admin
>>> map acl inherit = yes
>>> store dos attributes = yes
>>
>> Not an expert on clustering by any means, but is ctdb running ?
>> Also you do not seem to to have 'vfs objects = ceph' set, but you are
>> using Samba 'ceph' parameters, have you read 'man vfs_ceph’ ?
>
> You are correct, our cluster is ceph backed, though we’re not using vfs_ceph, but a kernel mount instead.
> Removing the parameters doesn’t change anything on our test cluster, which is running the same samba issue and experiences the same issue.
>
> We did initially test vfs_ceph, but decided not to use it.
>
> I posted a debug (smbstatus -a -d10) here: https://gist.github.com/jeinwag/e5831526749226a4c710a0c60b572ebf
>
> Looks like it's trying to communicate with ctdbd, but is failing?
> Part of the log:
>
> messaging_dgm_ref: messaging_dgm_get_unique returned Success
> messaging_dgm_ref: unique = 12399100214177679836
> messaging_ctdb_ref: messaging_ctdb_init returned Device or resource busy
> messaging_ctdb_init failed: Device or resource busy
> messaging_init_internal: messaging_ctdb_ref failed: Device or resource busy
> msg_dgm_ref_destructor: refs=0x55f744cbc0e0
> db_open: Failed to initialize messaging

Ok, it looks like this was some bug in the Ubuntu package. Smbstatus compiled from upstream source worked fine and now there’s an updated and fixed package from Ubuntu.

Regards,
Julian



More information about the samba mailing list