[Samba] Upgrading a ctdb cluster: samba not listening on TCP port 445
n.zuber at physik.uni-stuttgart.de
Thu Feb 1 09:57:59 UTC 2018
I try to update two clustered samba file servers. Right now samba 4.7.0
with ctdb is running on both of them. To update samba I stopped ctdb on
one of the servers, and compiled and installed samba 4.7.1 with:
./configure --with-cluster-support --with-shared-modules=idmap_tdb2,idmap_ad,vfs_glusterfs --with-systemd
Trying to start ctdb on the updated server fails with "
ctdb-eventd: 50.samba: samba not listening on TCP port 445" in
the ctdb.log. Trying to update directly to 4.7.3 or 4.7.4 shows the same
Removing the "clustered = yes" from the smb.conf file and starting smbd
by hand works fine and the smbd process listens on port 445. Downgrading
again to 4.7.0 worked without any problems and ctdb and smbd are running
again without any problems, but this is only a temporary solution.
Any help in how to debug this problem will be appreciated.
# Do NOT run CTDB without a recovery lock file unless you know exactly
# what you are doing.
# List of public addresses for providing NAS services. No default.
# List of nodes in the cluster.
# What services should CTDB manage? Default is none.
# Default is to use the log file below instead of syslog.
testparm output excluding the shared folders:
netbios name = FILE
realm = PI5.MYDOMAIN
workgroup = PI5
log file = /var/log/samba/tmp/samba_%I.log
clustering = Yes
registry shares = Yes
load printers = No
security = ADS
deadtime = 10
template homedir = /gluster/mnt/users/%U
template shell = /bin/bash
winbind refresh tickets = Yes
winbind use default domain = Yes
idmap config pi5:range = 20000-1999999
idmap config pi5:backend = rid
idmap config *:range = 10000-19999
idmap config * : backend = tdb
store dos attributes = Yes
map acl inherit = Yes
inherit acls = Yes
vfs objects = acl_xattr
More information about the samba