[Samba] CTDB: Failed to connect client socket to daemon. [SOLVED]

steve steve at steve-ss.com
Fri Aug 22 05:08:03 MDT 2014


On Fri, 2014-08-22 at 02:08 +0200, Achim Gottinger wrote:
> Am 22.08.2014 00:16, schrieb steve:

> >
> > I _think_ we should change /var/run/samba to /usr/local/samba/var/run
> You can change the pid directory in smb.conf to the dircetory create by 
> the upstart script. If you did not specify otherwise during configure 
> /usr/local/samba/var/run is the default.
> 
> [global]
> .....
> pid dirctory = /var/run/samba

Yep, thanks. One error fewer:)
The edited files are here if anyone wants to subject themselves to this
on Ubuntu:
http://linuxcostablanca.blogspot.com.es/2014/08/ubuntu-cluster-with-sssd.html

One worrying thing is that the ctdb package on 14.04 is rw'ing dbs at
both:
/var/ctdb
drwxr-xr-x 2 root root 4096 ago 22 12:03 failcount
-rw-r--r-- 1 root root    0 ago 21 16:12 iptables-ctdb.flock
drwxr-xr-x 2 root root 4096 ago 22 12:02 managed_history
drwxr-xr-x 2 root root 4096 ago 21 16:11 persistent
drwxr-xr-x 6 root root 4096 ago 22 12:03 state

and 
var/lib/lib/ctdb
-rw-r--r-- 1 root root 1204224 ago 22 12:02 brlock.tdb.0
-rw------- 1 root root 1507328 ago 22 12:03 dbwrap_watchers.tdb.0
-rw------- 1 root root 1507328 ago 22 12:03 g_lock.tdb.0
-rw-r--r-- 1 root root 1204224 ago 22 12:02 locking.tdb.0
-rw-r--r-- 1 root root 1204224 ago 22 12:02 notify_index.tdb.0
drwx------ 2 root root    4096 ago 21 19:17 persistent
-rw-r--r-- 1 root root 1507328 ago 22 12:52 printer_list.tdb.0
-rw-r--r-- 1 root root  503808 ago 22 12:52 serverid.tdb.0
-rw------- 1 root root 1204224 ago 22 12:02 smbXsrv_open_global.tdb.0
-rw------- 1 root root 1204224 ago 22 12:02 smbXsrv_session_global.tdb.0
-rw------- 1 root root 1204224 ago 22 12:02 smbXsrv_tcon_global.tdb.0
-rw------- 1 root root 1310720 ago 22 12:03 smbXsrv_version_global.tdb.0
drwx------ 2 root root    4096 ago 22 09:46 state

/var/ctdb I could believe. /var/lib/ctdb I could also believe.
But /var/lib/lib/ctdb?

Version: 2.5.1+debian0-1

We tried with 2.5.3 but that is the version with the broken sockets.

Any comments most welcome.
Cheers,
Steve



More information about the samba mailing list