Bug 13798 - "clustering = yes" makes testparm and smbclient fail if ctdb is not running
"clustering = yes" makes testparm and smbclient fail if ctdb is not running
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Clustering
4.8.9
All All
: P5 normal
: ---
Assigned To: Volker Lendecke
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-02-20 17:33 UTC by Michael Thalmann
Modified: 2019-02-20 17:33 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Thalmann 2019-02-20 17:33:23 UTC
When "clustering = yes" is set in smb.conf, smbclient and testparm are failing with:

root@c69-2:~# smbclient //server/data 
connect(/var/run/ctdb/ctdbd.socket) failed: Connection refused
ctdbd_connect failed: Connection refused
ctdbd_init_connection: ctdbd_init_connection_internal failed (Connection refused)
Unable to initialize messaging context!
root@c69-2:~#
root@c69-2:~# testparm
connect(/var/run/ctdb/ctdbd.socket) failed: Connection refused
ctdbd_connect failed: Connection refused
ctdbd_init_connection: ctdbd_init_connection_internal failed (Connection refused)
Unable to initialize messaging context!


After commenting out "clustering = yes" while NOT starting up samba nor ctdb (obviously) the tools are working again as expected.