[Samba] ctdb samba and winbind event problem

Björn Baumbach bb at sernet.de
Fri Jan 27 11:10:25 UTC 2023


Hi Stefan,

On 1/27/23 08:57, Stefan Kania via samba wrote:
> Am 26.01.23 um 22:57 schrieb Martin Schwenke:
>> winbindd and smbd are only started during the CTDB startup event, so
>> you have to enable the event scripts before you start CTDB.
>>
> That's what I did and that's where the problem starts 😉 As soon as I 
> enable one of the two events the cluster chrashes 🙁

you described, that you startup the cluster and wait until the nodes are 
"OK". Then you enabled the winbind script, which detects that the 
winbind is not running, because it is running in the "monitor" mode. The 
node goes "UNHEALTHY". This is expected.
The monitor script does not try to start the winbind service in this 
case (monitor mode).

CTDB only tries to start the enabled services when the node is in the 
"startup" run state.

Best regards,
Björn

-- 
SerNet GmbH - Bahnhofsallee 1b - 37081 Goettingen
phone: +49.551.370000.0 - web: https://sernet.com
http://www.sernet.com - mailto:contact at sernet.com
AG Goettingen HRB2816, CEO: J.Loxen, CFO: R. Jung
data privacy policy https://www.sernet.de/privacy




More information about the samba mailing list