[Samba] winbindd - mutex grab failed for adserver1.MYDOMAINLAB.bts.lab

peter knezel peter.knezel at gmail.com
Tue Oct 12 13:00:56 UTC 2021


Hello All,

after update from wheeze to jessie i am having problem to logon as AD user
to our fileserver:

cd /var/log/samba/
 tail -n 40 log.winbindd

[2021/10/12 14:51:02,  0] ../source3/winbindd/winbindd.c:1549(main)
  winbindd version 4.2.14-Debian started.
  Copyright Andrew Tridgell and the Samba Team 1992-2014
[2021/10/12 14:51:02.655326,  0]
../source3/winbindd/winbindd_cache.c:3235(initialize_winbindd_cache)
  initialize_winbindd_cache: clearing cache and re-creating with version
number 2
[2021/10/12 14:51:02.759701,  0]
../lib/util/become_daemon.c:124(daemon_ready)
  STATUS=daemon 'winbindd' finished starting up and ready to serve
connections
[2021/10/12 14:51:50.775078,  0]
../source3/lib/util_tdb.c:493(tdb_chainlock_with_timeout_internal)
  tdb_chainlock_with_timeout_internal: alarm (40) timed out for key
adserver1.MYDOMAINLAB.bts.lab in tdb /var/run/samba/mutex.tdb
[2021/10/12 14:51:50.775312,  0]
../source3/winbindd/winbindd_cm.c:918(cm_prepare_connection)
  cm_prepare_connection: mutex grab failed for adserver1.MYDOMAINLAB.bts.lab
[2021/10/12 14:52:36.782190,  0]
../source3/lib/util_tdb.c:493(tdb_chainlock_with_timeout_internal)
  tdb_chainlock_with_timeout_internal: alarm (40) timed out for key
adserver1.MYDOMAINLAB.bts.lab in tdb /var/run/samba/mutex.tdb
[2021/10/12 14:52:36.782390,  0]
../source3/winbindd/winbindd_cm.c:918(cm_prepare_connection)
  cm_prepare_connection: mutex grab failed for adserver1.MYDOMAINLAB.bts.lab
[2021/10/12 14:53:22.788797,  0]
../source3/lib/util_tdb.c:493(tdb_chainlock_with_timeout_internal)
  tdb_chainlock_with_timeout_internal: alarm (40) timed out for key
adserver1.MYDOMAINLAB.bts.lab in tdb /var/run/samba/mutex.tdb
[2021/10/12 14:53:22.788994,  0]
../source3/winbindd/winbindd_cm.c:918(cm_prepare_connection)
  cm_prepare_connection: mutex grab failed for adserver1.MYDOMAINLAB.bts.lab

# dpkg -l|grep samba
ii  python-samba                   2:4.2.14+dfsg-0+deb8u13            amd64
       Python bindings for Samba
ii  samba                          2:4.2.14+dfsg-0+deb8u13            amd64
       SMB/CIFS file, print, and login server for Unix
ii  samba-common                   2:4.2.14+dfsg-0+deb8u13            all
       common files used by both the Samba server and client
ii  samba-common-bin               2:4.2.14+dfsg-0+deb8u13            amd64
       Samba common files used by both the server and the client
ii  samba-dsdb-modules             2:4.2.14+dfsg-0+deb8u13            amd64
       Samba Directory Services Database
ii  samba-libs:amd64               2:4.2.14+dfsg-0+deb8u13            amd64
       Samba core libraries
ii  samba-vfs-modules              2:4.2.14+dfsg-0+deb8u13            amd64
       Samba Virtual FileSystem plugins
#

Following steps from:
https://linuxconfig.org/how-to-upgrade-debian-8-jessie-to-debian-9-stretch
I am at step:

# apt list --upgradable
# apt list --upgradable|grep samba

WARNING: apt does not have a stable CLI interface yet. Use with caution in
scripts.

python-samba/oldoldstable 2:4.5.16+dfsg-1+deb9u4 amd64 [upgradable from:
2:4.2.14+dfsg-0+deb8u13]
samba/oldoldstable 2:4.5.16+dfsg-1+deb9u4 amd64 [upgradable from:
2:4.2.14+dfsg-0+deb8u13]
samba-common/oldoldstable 2:4.5.16+dfsg-1+deb9u4 all [upgradable from:
2:4.2.14+dfsg-0+deb8u13]
samba-common-bin/oldoldstable 2:4.5.16+dfsg-1+deb9u4 amd64 [upgradable
from: 2:4.2.14+dfsg-0+deb8u13]
samba-dsdb-modules/oldoldstable 2:4.5.16+dfsg-1+deb9u4 amd64 [upgradable
from: 2:4.2.14+dfsg-0+deb8u13]
samba-libs/oldoldstable 2:4.5.16+dfsg-1+deb9u4 amd64 [upgradable from:
2:4.2.14+dfsg-0+deb8u13]
samba-vfs-modules/oldoldstable 2:4.5.16+dfsg-1+deb9u4 amd64 [upgradable
from: 2:4.2.14+dfsg-0+deb8u13]
#

Will simple upgrade to stretch solve my problem?
Thanks and kind regards,
Peter


More information about the samba mailing list