[Samba] CTDB: Failed to connect client socket to daemon.
steve
steve at steve-ss.com
Tue Aug 19 04:19:07 MDT 2014
On Tue, 2014-08-19 at 12:14 +0200, Achim Gottinger wrote:
> Am 19.08.2014 10:35, schrieb steve:
> > On Mon, 2014-08-18 at 21:44 +0200, Achim Gottinger wrote:
> >> Am 18.08.2014 16:59, schrieb steve:
> >>>
> >> If you take an look at the 50.samba script
> >>
> >> .................................
> >>
> >> list_samba_ports ()
> >> {
> >> testparm_cat --parameter-name="smb ports" |
> >> sed -e 's@,@ @g'
> >> }
> >>
> >> .................................
> >>
> >> monitor)
> >> testparm_foreground_update 10
> >> ret=$?
> >>
> >> smb_ports="$CTDB_SAMBA_CHECK_PORTS"
> >> if [ -z "$smb_ports" ] ; then
> >> smb_ports=$(list_samba_ports)
> >> [ -n "$smb_ports" ] || die "Failed to set smb ports"
> >> fi
> >> ctdb_check_tcp_ports $smb_ports || exit $?
> >>
> >> if [ "$CTDB_SAMBA_SKIP_SHARE_CHECK" != "yes" ] ; then
> >> list_samba_shares | ctdb_check_directories || exit $?
> >> fi
> >>
> >> if [ $ret -ne 0 ] ; then
> >> testparm_background_update 10
> >> fi
> >> ;;
> >>
> >>
> >>
> >> there is an check for these tcp ports
> >>
> >> testparm -v --parameter-name="smb ports"
> >>
> >> On my side these are 139 and 445. In my test environment samba starts
> >> and stops fine via ctdb and it does listen on port 445.
> >> It does not allow me to access the server from an client because i just
> >> disabled all addc stuff and did not enable any password mechanisms.
> >>
> >> Seems you have an kerberos problem on your machine because i found this
> >> in your smbd -i -d3 logs. I'd increase the loglevel in smb.conf restart
> >> via ctdb and if it's not an easy fix use an simpler password backend first.
> >>
> >> ads_krb5_mk_req: krb5_cc_get_principal failed (No such file or
> >> directory)
> >> ads_cleanup_expired_creds: Ticket in ccache[MEMORY:prtpub_cache]
> > Hi
> > We can't reproduce that I'm afraid. As we have this working out of the
> > box (or as close you can get with ctdb out of the box) with openSUSE,
> > we're gonna have to go with that. Just to say thanks for your time. We
> > really did want to go with Ubuntu but. . .
> > Cheers,
> > Steve
> I see it became an lengthy project. I filed an bug report for debians
> ctdb package about the odd socket standard path /var/lib/run/ctdb
> instead of /var/run/ctdb meanwhile.
>
>
Thank you for that and also your patience with us. We were trying to
show that Ubuntu was the way to go. But with Ubuntu samba being shipped
without cluster support and the ctdb mess we were just laughed out of
hand:(
More information about the samba
mailing list