Benedikt Kaleß
2019-May-16 08:32 UTC
[Samba] CTDB node stucks in " ctdb-eventd[13184]: 50.samba: samba not listening on TCP port 445"
Hi everybody, I just updated my ctdb node from Samba version 4.9.4-SerNet-Debian-11.stretch to Samba version 4.9.8-SerNet-Debian-13.stretch. After restarting the sernet-samba-ctdbd service the node doesn't come back and remains in state "UNHEALTHY". I can find that in the syslog: May 16 11:25:40 ctdb-lbn1 ctdb-eventd[13184]: 50.samba: samba not listening on TCP port 445 May 16 11:25:40 ctdb-lbn1 ctdb-eventd[13184]: monitor event failed May 16 11:25:42 ctdb-lbn1 ctdb-eventd[13184]: 50.samba: samba not listening on TCP port 445 May 16 11:25:42 ctdb-lbn1 ctdb-eventd[13184]: monitor event failed May 16 11:25:46 ctdb-lbn1 ctdb-eventd[13184]: 50.samba: samba not listening on TCP port 445 May 16 11:25:46 ctdb-lbn1 ctdb-eventd[13184]: monitor event failed May 16 11:25:50 ctdb-lbn1 ctdb-recoverd[13293]: ../ctdb/server/ctdb_client.c:678 control timed out. reqid:2147483471 opcode:80 dstnode:1 May 16 11:25:50 ctdb-lbn1 ctdb-recoverd[13293]: ../ctdb/server/ctdb_client.c:791 ctdb_control_recv failed May 16 11:25:50 ctdb-lbn1 ctdb-recoverd[13293]: Async operation failed with state 3, opcode:80 May 16 11:25:50 ctdb-lbn1 ctdb-recoverd[13293]: Async wait failed - fail_count=1 May 16 11:25:50 ctdb-lbn1 ctdb-recoverd[13293]: ../ctdb/server/ctdb_client.c:1931 Failed to read node capabilities. May 16 11:25:50 ctdb-lbn1 ctdb-recoverd[13293]: ../ctdb/server/ctdb_recoverd.c:370 Failed to get node capabilities May 16 11:25:50 ctdb-lbn1 ctdb-recoverd[13293]: ../ctdb/server/ctdb_recoverd.c:2757 Unable to update node capabilities. May 16 11:25:50 ctdb-lbn1 ctdb-recoverd[13293]: Initial interface fetched May 16 11:25:50 ctdb-lbn1 ctdb-recoverd[13293]: Trigger takeoverrun May 16 11:25:50 ctdb-lbn1 ctdb-recoverd[13293]: Disabling takeover runs for 60 seconds May 16 11:25:50 ctdb-lbn1 ctdb-recoverd[13293]: Reenabling takeover runs May 16 11:25:54 ctdb-lbn1 ctdb-eventd[13184]: 50.samba: samba not listening on TCP port 445 May 16 11:25:54 ctdb-lbn1 ctdb-eventd[13184]: monitor event failed May 16 11:26:10 ctdb-lbn1 ctdb-eventd[13184]: 50.samba: samba not listening on TCP port 445 May 16 11:26:10 ctdb-lbn1 ctdb-eventd[13184]: monitor event failed May 16 11:26:20 ctdb-lbn1 ctdb-recoverd[13293]: ../ctdb/server/ctdb_client.c:623 reqid 2147483471 not found May 16 11:26:25 ctdb-lbn1 ctdb-eventd[13184]: 50.samba: samba not listening on TCP port 445 May 16 11:26:25 ctdb-lbn1 ctdb-eventd[13184]: monitor event failed Do you have any hint for me? Except the update I didn't change anything. There is no firewall on the machine: root at ctdb-<HOST>:~# iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination Best regards 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 09:46 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 10:32:51 +0200, Benedikt Kaleß via samba <samba at lists.samba.org> wrote:> Hi everybody, > > I just updated my ctdb node from Samba version > 4.9.4-SerNet-Debian-11.stretch to Samba version > 4.9.8-SerNet-Debian-13.stretch. > > After restarting the sernet-samba-ctdbd service the node doesn't come > back and remains in state "UNHEALTHY". > > I can find that in the syslog: > > May 16 11:25:40 ctdb-lbn1 ctdb-eventd[13184]: 50.samba: samba not > listening on TCP port 445 > May 16 11:25:40 ctdb-lbn1 ctdb-eventd[13184]: monitor event failed > May 16 11:25:42 ctdb-lbn1 ctdb-eventd[13184]: 50.samba: samba not > listening on TCP port 445 > May 16 11:25:42 ctdb-lbn1 ctdb-eventd[13184]: monitor event failed > May 16 11:25:46 ctdb-lbn1 ctdb-eventd[13184]: 50.samba: samba not > listening on TCP port 445 > May 16 11:25:46 ctdb-lbn1 ctdb-eventd[13184]: monitor event failed > May 16 11:25:50 ctdb-lbn1 ctdb-recoverd[13293]: > ../ctdb/server/ctdb_client.c:678 control timed out. reqid:2147483471 > opcode:80 dstnode:1 > May 16 11:25:50 ctdb-lbn1 ctdb-recoverd[13293]: > ../ctdb/server/ctdb_client.c:791 ctdb_control_recv failed > May 16 11:25:50 ctdb-lbn1 ctdb-recoverd[13293]: Async operation failed > with state 3, opcode:80 > May 16 11:25:50 ctdb-lbn1 ctdb-recoverd[13293]: Async wait failed - > fail_count=1 > May 16 11:25:50 ctdb-lbn1 ctdb-recoverd[13293]: > ../ctdb/server/ctdb_client.c:1931 Failed to read node capabilities. > May 16 11:25:50 ctdb-lbn1 ctdb-recoverd[13293]: > ../ctdb/server/ctdb_recoverd.c:370 Failed to get node capabilities > May 16 11:25:50 ctdb-lbn1 ctdb-recoverd[13293]: > ../ctdb/server/ctdb_recoverd.c:2757 Unable to update node capabilities. > May 16 11:25:50 ctdb-lbn1 ctdb-recoverd[13293]: Initial interface fetched > May 16 11:25:50 ctdb-lbn1 ctdb-recoverd[13293]: Trigger takeoverrun > May 16 11:25:50 ctdb-lbn1 ctdb-recoverd[13293]: Disabling takeover runs > for 60 seconds > May 16 11:25:50 ctdb-lbn1 ctdb-recoverd[13293]: Reenabling takeover runs > May 16 11:25:54 ctdb-lbn1 ctdb-eventd[13184]: 50.samba: samba not > listening on TCP port 445 > May 16 11:25:54 ctdb-lbn1 ctdb-eventd[13184]: monitor event failed > May 16 11:26:10 ctdb-lbn1 ctdb-eventd[13184]: 50.samba: samba not > listening on TCP port 445 > May 16 11:26:10 ctdb-lbn1 ctdb-eventd[13184]: monitor event failed > May 16 11:26:20 ctdb-lbn1 ctdb-recoverd[13293]: > ../ctdb/server/ctdb_client.c:623 reqid 2147483471 not found > May 16 11:26:25 ctdb-lbn1 ctdb-eventd[13184]: 50.samba: samba not > listening on TCP port 445 > May 16 11:26:25 ctdb-lbn1 ctdb-eventd[13184]: monitor event failedDoes a useful ps command (e.g. ps auxww) show smbd running? What do the smbd logs say? Thanks... peace & happiness, martin
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