connect(/var/lib/ctdb/ctdb.socket) failed: Connection refused
martin at meltin.net
Wed Jul 9 04:48:23 MDT 2014
On Wed, 09 Jul 2014 11:33:14 +0200, steve <steve at steve-ss.com> wrote:
> Sorry to post here but I got nothing on either the samba or my ha-distro
> list. TIA. Steve
> - - -
> 2-node cluster:
> We cannot start smbd:
> params.c:pm_process() - Processing configuration file
> Processing section "[global]"
> connect(/var/lib/ctdb/ctdb.socket) failed: Connection refused
> messaging_ctdbd_init failed: NT_STATUS_CONNECTION_REFUSED
> 2 node drbd cluster with ocfs2.
> both nodes:
> openSUSE 4.1.9 with drbd 8.4 and ctdbd 2.3, also tried with 2.5.3
> All seems OK with ctdb:
> ctdb status
> Number of nodes:2
> pnn:0 192.168.0.10 OK (THIS NODE)
> pnn:1 192.168.0.11 OK
> hash:0 lmaster:0
> hash:1 lmaster:1
> Recovery mode:NORMAL (0)
> Recovery master:0
> realm = HH3.SITE
> security = ADS
> kerberos method = system keytab
> netbios name = smbcluster
> clustering = Yes
Weird! smbd looks like it wants to use the same socket that is
configured for CTDB, so it looks like is should work.
* The default compile-time socket location
is /var/run/ctdb/ctdbd.socket. Although not what is configured,
in /etc/sysconfig/ctdb, is that what ctdbd is listening on?
netstat -xlnp | grep ctdb
tell you anything about which socket ctdbd is listening on?
* Permissions? If both are indeed trying to use the same socket, what
are the permissions on the socket and the directories containing it?
If it looks OK, is there some SELinux weirdness? AppArmor?
peace & happiness,
More information about the samba-technical