registry config not being updated on one of my clusters ... how do I troubleshoot this

Richard Sharpe realrichardsharpe at gmail.com
Wed Dec 10 12:23:28 MST 2014


On Wed, Dec 10, 2014 at 10:48 AM, ronnie sahlberg
<ronniesahlberg at gmail.com> wrote:
> On Wed, Dec 10, 2014 at 1:45 PM, Richard Sharpe
>> Why is the process ctdb_reco holding on to the registry tdb?
>
> It is the recovery daemon. It has all tdbs open in case it need to
> read/write it during a recovery.
>
> Pick one of the smbd processes and check with
> ls -l /proc/<smbd-pid/fd
> that it too has /var/lib/ctdb/persistent/registry.tdb.1  open
> (and that it does not have a different  registry.tdb file open)

On node 1, which is not the recovery master, and is the node I am
having problems with:

smbd has this file open:

lrwx------ 1 root root 64 Dec 10 10:29 3 -> /var/lib/samba/registry.tdb

ctdb has this file open:

lrwx------ 1 root root 64 Dec 10 10:31 19 ->
/var/lib/ctdb/persistent/registry.tdb.1

an strace of net conf list does not show it accessing the ctdb socket
and does not show it opening registry.tdb.1

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)


More information about the samba-technical mailing list