jvaiguade Posted August 19 Share Posted August 19 Hi, I have created a server without problems. But last week with a systemctl stop zomboid.service and starting again it stops with these last messages: Aug 19 13:46:04 zomboid sh[3325]: LOG : Network , 1692445564163> 2,662,747> [19-08-23 13:46:04.163] > ZNet: SZombienet -> SRakN Aug 19 13:46:04 zomboid sh[3325]: LOG : Network , 1692445564163> 2,662,747> RakNet.Startup() return code: 0 (0 means success) Aug 19 13:46:04 zomboid sh[3325]: LOG : Network , 1692445564165> 2,662,749> *** SERVER STARTED **** Aug 19 13:46:04 zomboid sh[3325]: LOG : Network , 1692445564166> 2,662,750> *** Steam is enabled Aug 19 13:46:04 zomboid sh[3325]: LOG : Network , 1692445564166> 2,662,750> Server is listening on port 16261 (for Steam connec t connection) Aug 19 13:46:04 zomboid sh[3325]: LOG : Network , 1692445564166> 2,662,750> Clients should use 16261 port for connections Aug 19 13:46:04 zomboid sh[3325]: LOG : General , 1692445564167> 2,662,751> LuaNet: Initializing... Aug 19 13:46:04 zomboid sh[3325]: LOG : General , 1692445564167> 2,662,751> LuaNet: Registering server listener... Aug 19 13:46:04 zomboid sh[3325]: LOG : General , 1692445564167> 2,662,751> LuaNet: Initialization [DONE], triggering events fo Aug 19 13:46:04 zomboid sh[3325]: LOG : Network , 1692445564167> 2,662,751> DISCORD: token not configured Aug 19 13:46:04 zomboid sh[3325]: LOG : Network , 1692445564167> 2,662,751> *** DISCORD DISABLED **** Aug 19 13:46:04 zomboid sh[3325]: LOG : General , 1692445564168> 2,662,752> ########## Aug 19 13:46:04 zomboid sh[3325]: Server Steam ID xxxxxxxxxxx Aug 19 13:46:04 zomboid sh[3325]: ########## Aug 19 13:46:04 zomboid sh[3325]: LOG : Multiplayer , 1692445564191> 2,662,775> [MPStatistics] mem usage notification threshold=8,1 Aug 19 13:46:05 zomboid sh[3325]: LOG : Network , 1692445565998> 2,664,582> [19-08-23 13:46:05.997] > ZNet: SSteamSDK -> SZombi Aug 19 13:46:05 zomboid sh[3325]: LOG : Network , 1692445565999> 2,664,583> [19-08-23 13:46:05.999] > ZNet: OnPolicyResponse Aug 19 13:46:06 zomboid sh[3325]: LOG : Network , 1692445566000> 2,664,584> [19-08-23 13:46:06.000] > ZNet: SZombienet -> SStea Aug 19 13:46:06 zomboid sh[3325]: LOG : Network , 1692445566001> 2,664,585> [19-08-23 13:46:06.001] > ZNet: Zomboid Server is V Aug 19 13:46:06 zomboid sh[3325]: LOG : General , 1692445566003> 2,664,587> command entered via server console (System.in): "qu Aug 19 13:46:06 zomboid sh[3325]: DEBUG: Multiplayer , 1692445566103> 2,664,687> QuitCommand.Command > cmd="quit" us ction" Aug 19 13:46:06 zomboid sh[3325]: LOG : Multiplayer , 1692445566104> 2,664,687> java.base/java.lang.Thread.getStackTrace(Un Aug 19 13:46:06 zomboid sh[3325]: LOG : Multiplayer , 1692445566104> 2,664,688> zombie.debug.DebugLogStream.printStackTrace Aug 19 13:46:06 zomboid sh[3325]: LOG : Multiplayer , 1692445566104> 2,664,688> zombie.debug.DebugLogStream.printStackTrace Aug 19 13:46:06 zomboid sh[3325]: LOG : Multiplayer , 1692445566104> 2,664,688> zombie.network.ServerMap.QueueQuit(ServerMa Aug 19 13:46:06 zomboid sh[3325]: LOG : Multiplayer , 1692445566105> 2,664,689> zombie.commands.serverCommands.QuitCommand. Aug 19 13:46:06 zomboid sh[3325]: LOG : Multiplayer , 1692445566105> 2,664,689> zombie.commands.CommandBase.Execute(Command Aug 19 13:46:06 zomboid sh[3325]: LOG : Multiplayer , 1692445566105> 2,664,689> zombie.network.GameServer.handleServerComma Aug 19 13:46:06 zomboid sh[3325]: LOG : Multiplayer , 1692445566105> 2,664,689> zombie.network.GameServer.main(GameServer.j Aug 19 13:46:06 zomboid sh[3325]: LOG : General , 1692445566106> 2,664,690> Quit Aug 19 13:46:06 zomboid sh[3325]: LOG : General , 1692445566113> 2,664,697> Unknown command process-status@eof Aug 19 13:46:06 zomboid sh[3325]: LOG : General , 1692445566258> 2,664,842> SaveAll took 79.370536 ms Aug 19 13:46:06 zomboid sh[3325]: LOG : General , 1692445566291> 2,664,875> reanimate: saved 31 zombies Aug 19 13:46:06 zomboid sh[3325]: LOG : General , 1692445566338> 2,664,922> Saving GlobalModData Aug 19 13:46:06 zomboid sh[3325]: LOG : General , 1692445566340> 2,664,924> Saving finish Aug 19 13:46:06 zomboid sh[3325]: LOG : General , 1692445566341> 2,664,925> Saving took 162.245109 ms Aug 19 13:46:12 zomboid sh[3325]: LOG : General , 1692445572625> 2,671,209> waiting for UdpEngine thread termination Aug 19 13:46:12 zomboid sh[3325]: LOG : Network , 1692445572635> 2,671,219> [19-08-23 13:46:12.635] > ZNet: [-> CZombienet: Rak Aug 19 13:46:12 zomboid sh[3325]: LOG : Network , 1692445572636> 2,671,220> [19-08-23 13:46:12.636] > ZNet: SZombienet -> SZomb Aug 19 13:46:12 zomboid sh[3325]: LOG : Network , 1692445572636> 2,671,220> [19-08-23 13:46:12.636] > ZNet: Shutting down Steam Aug 19 13:46:12 zomboid sh[3325]: LOG : Network , 1692445572636> 2,671,220> [19-08-23 13:46:12.636] > ZNet: SZombienet -> SStea Aug 19 13:46:12 zomboid sh[3325]: LOG : Network , 1692445572636> 2,671,220> [19-08-23 13:46:12.636] > ZNet: SZombienet -> SStea Aug 19 13:46:14 zomboid sh[3325]: dlmopen steamservice.so failed: steamservice.so: cannot open shared object file: No such file or d Aug 19 13:46:29 zomboid systemd[1]: zomboid.service: Succeeded. If I try to execute manually it runs well. Here the service config: [Unit] Description=Project Zomboid Server After=network.target [Service] PrivateTmp=true Type=simple User=pzuser WorkingDirectory=/opt/pzserver/ ExecStart=/bin/sh -c "exec /opt/pzserver/start-server.sh </opt/pzserver/zomboid.control" ExecStop=/bin/sh -c "echo save > /opt/pzserver/zomboid.control; sleep 15; echo quit > /opt/pzserver/zomboid.control" Sockets=zomboid.socket KillSignal=SIGCONT [Install] WantedBy=multi-user.target Here the socket: [Unit] BindsTo=zomboid.service [Socket] ListenFIFO=/opt/pzserver/zomboid.control FileDescriptorName=control RemoveOnStop=true SocketMode=0660 SocketUser=pzuser I don't know why it stops the service at the end. Many thanks for your help Link to comment Share on other sites More sharing options...
jvaiguade Posted August 21 Author Share Posted August 21 ok many thanks Link to comment Share on other sites More sharing options...
Beard Posted August 19 Share Posted August 19 Did you follow this section in the Wiki? Additionally, we do not recommend running it as a service at this point, this specific Wiki part was done by another player. Link to comment Share on other sites More sharing options...
jvaiguade Posted August 19 Author Share Posted August 19 Yes i followed all these steps from the wiki. First week it worked well Link to comment Share on other sites More sharing options...
Beard Posted August 20 Share Posted August 20 As said, the server isn’t built to be run as a service. We can’t recommend or support doing so. There may be various issues with it running as a service and we do not officially support it at the moment. Link to comment Share on other sites More sharing options...
Question
jvaiguade
Hi,
I have created a server without problems.
But last week with a systemctl stop zomboid.service and starting again it stops with these last messages:
Aug 19 13:46:04 zomboid sh[3325]: LOG : Network , 1692445564163> 2,662,747> RakNet.Startup() return code: 0 (0 means success)
Aug 19 13:46:04 zomboid sh[3325]: LOG : Network , 1692445564165> 2,662,749> *** SERVER STARTED ****
Aug 19 13:46:04 zomboid sh[3325]: LOG : Network , 1692445564166> 2,662,750> *** Steam is enabled
Aug 19 13:46:04 zomboid sh[3325]: LOG : Network , 1692445564166> 2,662,750> Server is listening on port 16261 (for Steam connec
t connection)
Aug 19 13:46:04 zomboid sh[3325]: LOG : Network , 1692445564166> 2,662,750> Clients should use 16261 port for connections
Aug 19 13:46:04 zomboid sh[3325]: LOG : General , 1692445564167> 2,662,751> LuaNet: Initializing...
Aug 19 13:46:04 zomboid sh[3325]: LOG : General , 1692445564167> 2,662,751> LuaNet: Registering server listener...
Aug 19 13:46:04 zomboid sh[3325]: LOG : General , 1692445564167> 2,662,751> LuaNet: Initialization [DONE], triggering events fo
Aug 19 13:46:04 zomboid sh[3325]: LOG : Network , 1692445564167> 2,662,751> DISCORD: token not configured
Aug 19 13:46:04 zomboid sh[3325]: LOG : Network , 1692445564167> 2,662,751> *** DISCORD DISABLED ****
Aug 19 13:46:04 zomboid sh[3325]: LOG : General , 1692445564168> 2,662,752> ##########
Aug 19 13:46:04 zomboid sh[3325]: Server Steam ID xxxxxxxxxxx
Aug 19 13:46:04 zomboid sh[3325]: ##########
Aug 19 13:46:04 zomboid sh[3325]: LOG : Multiplayer , 1692445564191> 2,662,775> [MPStatistics] mem usage notification threshold=8,1
Aug 19 13:46:05 zomboid sh[3325]: LOG : Network , 1692445565998> 2,664,582> [19-08-23 13:46:05.997] > ZNet: SSteamSDK -> SZombi
Aug 19 13:46:05 zomboid sh[3325]: LOG : Network , 1692445565999> 2,664,583> [19-08-23 13:46:05.999] > ZNet: OnPolicyResponse
Aug 19 13:46:06 zomboid sh[3325]: LOG : Network , 1692445566000> 2,664,584> [19-08-23 13:46:06.000] > ZNet: SZombienet -> SStea
Aug 19 13:46:06 zomboid sh[3325]: LOG : Network , 1692445566001> 2,664,585> [19-08-23 13:46:06.001] > ZNet: Zomboid Server is V
Aug 19 13:46:06 zomboid sh[3325]: LOG : General , 1692445566003> 2,664,587> command entered via server console (System.in): "qu
Aug 19 13:46:06 zomboid sh[3325]: DEBUG: Multiplayer , 1692445566103> 2,664,687> QuitCommand.Command > cmd="quit" us
ction"
Aug 19 13:46:06 zomboid sh[3325]: LOG : Multiplayer , 1692445566104> 2,664,687> java.base/java.lang.Thread.getStackTrace(Un
Aug 19 13:46:06 zomboid sh[3325]: LOG : Multiplayer , 1692445566104> 2,664,688> zombie.debug.DebugLogStream.printStackTrace
Aug 19 13:46:06 zomboid sh[3325]: LOG : Multiplayer , 1692445566104> 2,664,688> zombie.debug.DebugLogStream.printStackTrace
Aug 19 13:46:06 zomboid sh[3325]: LOG : Multiplayer , 1692445566104> 2,664,688> zombie.network.ServerMap.QueueQuit(ServerMa
Aug 19 13:46:06 zomboid sh[3325]: LOG : Multiplayer , 1692445566105> 2,664,689> zombie.commands.serverCommands.QuitCommand.
Aug 19 13:46:06 zomboid sh[3325]: LOG : Multiplayer , 1692445566105> 2,664,689> zombie.commands.CommandBase.Execute(Command
Aug 19 13:46:06 zomboid sh[3325]: LOG : Multiplayer , 1692445566105> 2,664,689> zombie.network.GameServer.handleServerComma
Aug 19 13:46:06 zomboid sh[3325]: LOG : Multiplayer , 1692445566105> 2,664,689> zombie.network.GameServer.main(GameServer.j
Aug 19 13:46:06 zomboid sh[3325]: LOG : General , 1692445566106> 2,664,690> Quit
Aug 19 13:46:06 zomboid sh[3325]: LOG : General , 1692445566113> 2,664,697> Unknown command process-status@eof
Aug 19 13:46:06 zomboid sh[3325]: LOG : General , 1692445566258> 2,664,842> SaveAll took 79.370536 ms
Aug 19 13:46:06 zomboid sh[3325]: LOG : General , 1692445566291> 2,664,875> reanimate: saved 31 zombies
Aug 19 13:46:06 zomboid sh[3325]: LOG : General , 1692445566338> 2,664,922> Saving GlobalModData
Aug 19 13:46:06 zomboid sh[3325]: LOG : General , 1692445566340> 2,664,924> Saving finish
Aug 19 13:46:06 zomboid sh[3325]: LOG : General , 1692445566341> 2,664,925> Saving took 162.245109 ms
Aug 19 13:46:12 zomboid sh[3325]: LOG : General , 1692445572625> 2,671,209> waiting for UdpEngine thread termination
Aug 19 13:46:12 zomboid sh[3325]: LOG : Network , 1692445572635> 2,671,219> [19-08-23 13:46:12.635] > ZNet: [-> CZombienet: Rak
Aug 19 13:46:12 zomboid sh[3325]: LOG : Network , 1692445572636> 2,671,220> [19-08-23 13:46:12.636] > ZNet: SZombienet -> SZomb
Aug 19 13:46:12 zomboid sh[3325]: LOG : Network , 1692445572636> 2,671,220> [19-08-23 13:46:12.636] > ZNet: Shutting down Steam
Aug 19 13:46:12 zomboid sh[3325]: LOG : Network , 1692445572636> 2,671,220> [19-08-23 13:46:12.636] > ZNet: SZombienet -> SStea
Aug 19 13:46:12 zomboid sh[3325]: LOG : Network , 1692445572636> 2,671,220> [19-08-23 13:46:12.636] > ZNet: SZombienet -> SStea
Aug 19 13:46:14 zomboid sh[3325]: dlmopen steamservice.so failed: steamservice.so: cannot open shared object file: No such file or d
Aug 19 13:46:29 zomboid systemd[1]: zomboid.service: Succeeded.
Here the socket:
I don't know why it stops the service at the end.
Many thanks for your help
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.