Tag Archives: corosync

[TOTEM ] knet_handle_new failed: File name too long (36)

corosync fails to start

Aug 01 11:32:30 ubu1 corosync[5546]: [TOTEM ] Initializing transport (Kronosnet).
Aug 01 11:32:30 ubu1 corosync[5546]: [TOTEM ] knet_handle_new failed: File name too long (36)
Aug 01 11:32:30 ubu1 corosync[5546]: [KNET ] transport: Failed to set socket buffer via force option 33: Operation not permitted
Aug 01 11:32:30 ubu1 corosync[5546]: [KNET ] transport: Unable to set local socketpair receive buffer: File name too long
Aug 01 11:32:30 ubu1 corosync[5546]: [KNET ] handle: Unable to initialize internal hostsockpair: File name too long
Aug 01 11:32:30 ubu1 corosync[5546]: [MAIN ] Can’t initialize TOTEM layer
Aug 01 11:32:30 ubu1 corosync[5546]: [MAIN ] Corosync Cluster Engine exiting with status 15 at main.c:1531.
Aug 01 11:32:30 ubu1 systemd[1]: corosync.service: Main process exited, code=exited, status=15/n/a
Aug 01 11:32:30 ubu1 systemd[1]: corosync.service: Failed with result ‘exit-code’.
Aug 01 11:32:30 ubu1 systemd[1]: Failed to start Corosync Cluster Engine.

sudo sysctl -w net.core.wmem_max=8388608
sudo sysctl -w net.core.rmem_max=8388608

sudo systemctl restart corosync.service