connect(/var/lib/ctdb/ctdb.socket) failed: Connection refused

Martin Schwenke martin at
Sat Aug 9 03:25:53 MDT 2014

On Sun, 27 Jul 2014 13:26:56 +0200, steve <steve at> wrote:

> The strange thing is, ctdb seems to be working in 2 folders. /var/ctdb
> and /var/lib/lib/ctdb

Yeah, the way we set CTDB_VARDIR (if it is unset) is very weak.  We
really should do something smarter.

Try setting it in /etc/sysconfig/ctdb to point to wherever you expect it
to be. I guess that is probably "/var/lib/lib/ctdb".

peace & happiness,

More information about the samba-technical mailing list