Benedikt Kaleß
2019-May-16 10:07 UTC
[Samba] CTDB node stucks in " ctdb-eventd[13184]: 50.samba: samba not listening on TCP port 445"
Hi Martin,> Does a useful ps command (e.g. ps auxww) show smbd running? What do > the smbd logs say?no, root at ctdb-<HOST>:~# ps auxwww | grep smbd root 13192 0.0 0.0 12780 940 pts/0 S+ 13:05 0:00 grep smbd There is no smbd, nmbd is running. Ahh, but the log says: [2019/05/16 11:26:38.702593, 0] ../source3/smbd/server.c:1519(smbd_claim_version) smbd_claim_version: smbd 4.9.4-SerNet-Debian-11.stretch already running, refusing to start version 4.9.8-SerNet-Debian-13.stretch I think I will reinstall the Sernet-Packages. Best Bene -- forumZFD Entschieden für Frieden|Committed to Peace Benedikt Kaleß Leiter Team IT|Head team IT Forum Ziviler Friedensdienst e.V.|Forum Civil Peace Service Am Kölner Brett 8 | 50825 Köln | Germany Tel 0221 91273233 | Fax 0221 91273299 | http://www.forumZFD.de Vorstand nach § 26 BGB, einzelvertretungsberechtigt|Executive Board: Oliver Knabe (Vorsitz|Chair), Sonja Wiekenberg-Mlalandle, Alexander Mauz VR 17651 Amtsgericht Köln Spenden|Donations: IBAN DE37 3702 0500 0008 2401 01 BIC BFSWDE33XXX
Martin Schwenke
2019-May-16 10:26 UTC
[Samba] CTDB node stucks in " ctdb-eventd[13184]: 50.samba: samba not listening on TCP port 445"
Hi Benedikt, On Thu, 16 May 2019 12:07:23 +0200, Benedikt Kaleß via samba <samba at lists.samba.org> wrote:> > Does a useful ps command (e.g. ps auxww) show smbd running? What do > > the smbd logs say? > > no, > > root at ctdb-<HOST>:~# ps auxwww | grep smbd > root 13192 0.0 0.0 12780 940 pts/0 S+ 13:05 0:00 grep smbd > > There is no smbd, nmbd is running. > > Ahh, but the log says: > > [2019/05/16 11:26:38.702593, 0] > ../source3/smbd/server.c:1519(smbd_claim_version) > smbd_claim_version: smbd 4.9.4-SerNet-Debian-11.stretch already > running, refusing to start version 4.9.8-SerNet-Debian-13.stretchThis means that a different version of smbd is running on another node. Different smbd versions may put incompatible data into TDB records, so are not allowed to run concurrently. You need a short moment of downtime for the whole cluster to do the upgrade. peace & happiness, martin
Benedikt Kaleß
2019-May-16 10:27 UTC
[Samba] CTDB node stucks in " ctdb-eventd[13184]: 50.samba: samba not listening on TCP port 445"
Unfortunatelly that doesn't help: I did: apt install --reinstall sernet-samba-ctdb Two different versions of smbd continue to appear in the log tail -f /var/log/samba/log.smbd [...] cluster fatal event: ctdbd died - exiting immediately [2019/05/16 13:19:37.165554, 0] ../source3/smbd/server.c:1519(smbd_claim_version) smbd_claim_version: smbd 4.9.4-SerNet-Debian-11.stretch already running, refusing to start version 4.9.8-SerNet-Debian-13.stretch [2019/05/16 13:21:45.967771, 0] ../source3/smbd/server.c:1519(smbd_claim_version) smbd_claim_version: smbd 4.9.4-SerNet-Debian-11.stretch already running, refusing to start version 4.9.8-SerNet-Debian-13.stretch I assume the update failed, right? Best Bene Am 16.05.19 um 12:07 schrieb Benedikt Kaleß via samba:> Hi Martin, > > > > Does a useful ps command (e.g. ps auxww) show smbd running? What do > > the smbd logs say? > > no, > > root at ctdb-<HOST>:~# ps auxwww | grep smbd > root 13192 0.0 0.0 12780 940 pts/0 S+ 13:05 0:00 grep smbd > > There is no smbd, nmbd is running. > > Ahh, but the log says: > > [2019/05/16 11:26:38.702593, 0] > ../source3/smbd/server.c:1519(smbd_claim_version) > smbd_claim_version: smbd 4.9.4-SerNet-Debian-11.stretch already > running, refusing to start version 4.9.8-SerNet-Debian-13.stretch > > I think I will reinstall the Sernet-Packages. > > Best > > Bene >-- forumZFD Entschieden für Frieden|Committed to Peace Benedikt Kaleß Leiter Team IT|Head team IT Forum Ziviler Friedensdienst e.V.|Forum Civil Peace Service Am Kölner Brett 8 | 50825 Köln | Germany Tel 0221 91273233 | Fax 0221 91273299 | http://www.forumZFD.de Vorstand nach § 26 BGB, einzelvertretungsberechtigt|Executive Board: Oliver Knabe (Vorsitz|Chair), Sonja Wiekenberg-Mlalandle, Alexander Mauz VR 17651 Amtsgericht Köln Spenden|Donations: IBAN DE37 3702 0500 0008 2401 01 BIC BFSWDE33XXX
Benedikt Kaleß
2019-May-16 10:33 UTC
[Samba] CTDB node stucks in " ctdb-eventd[13184]: 50.samba: samba not listening on TCP port 445"
Ah!!! thank you. I thought I could first update the first node and afterwards the second node. Stopping the other one, updating it and restarting the service solves my mistake. Best regards Bene Am 16.05.19 um 12:26 schrieb Martin Schwenke:> This means that a different version of smbd is running on another > node. Different smbd versions may put incompatible data into TDB > records, so are not allowed to run concurrently.-- forumZFD Entschieden für Frieden|Committed to Peace Benedikt Kaleß Leiter Team IT|Head team IT Forum Ziviler Friedensdienst e.V.|Forum Civil Peace Service Am Kölner Brett 8 | 50825 Köln | Germany Tel 0221 91273233 | Fax 0221 91273299 | http://www.forumZFD.de Vorstand nach § 26 BGB, einzelvertretungsberechtigt|Executive Board: Oliver Knabe (Vorsitz|Chair), Sonja Wiekenberg-Mlalandle, Alexander Mauz VR 17651 Amtsgericht Köln Spenden|Donations: IBAN DE37 3702 0500 0008 2401 01 BIC BFSWDE33XXX