I'm having the same problem on TrinityCore 3.3.5.
I tried almost everything, even changing the machine i was using but i have the same problem.
I'm on Debian 9.3, i'm using IpTables as firewall and i run the server with this restarter on sh in a tmux session.
I can't find a solution !