[0.16.22] headless server crash

This subforum contains all the issues which we already resolved.
Post Reply
Chriz
Inserter
Inserter
Posts: 23
Joined: Thu Jan 26, 2017 3:47 pm
Contact:

[0.16.22] headless server crash

Post by Chriz »

Hi idk why but it crash when i play the map in singleplayer all is fine.

Code: Select all

  37.799 Info ServerMultiplayerManager.cpp:696: mapTick(15620577) changing state from(InGame) to(InGameSavingMap)
  37.849 Info ServerMultiplayerManager.cpp:792: mapTick(15620577) received stateChanged peerID(1) oldState(Ready) newState(ConnectedWaitingForMap)
  39.742 Info ServerMultiplayerManager.cpp:852: MapTick(15620577) Serving map(/home/factorio/server/temp/mp-save-0.zip) for peer(1) size(19106185) crc(2402755493)
  39.742 Info ServerMultiplayerManager.cpp:696: mapTick(15620577) changing state from(InGameSavingMap) to(InGame)
  39.820 Info ServerMultiplayerManager.cpp:792: mapTick(15620583) received stateChanged peerID(1) oldState(ConnectedWaitingForMap) newState(ConnectedDownloadingMap)
  75.175 Info ServerMultiplayerManager.cpp:792: mapTick(15622704) received stateChanged peerID(1) oldState(ConnectedDownloadingMap) newState(ConnectedLoadingMap)
  86.974 Info ServerMultiplayerManager.cpp:792: mapTick(15623412) received stateChanged peerID(1) oldState(ConnectedLoadingMap) newState(TryingToCatchUp)
  96.842 Info AppManager.cpp:260: Saving to _autosave4 (blocking).
  98.759 Info AppManagerStates.cpp:1593: Saving finished
 529.112 Info ServerMultiplayerManager.cpp:792: mapTick(15649819) received stateChanged peerID(1) oldState(TryingToCatchUp) newState(WaitingForCommandToStartSendingTickClosures)
 529.112 Info GameActionHandler.cpp:3400: MapTick (15649819) processed PlayerJoinGame peerID(1) playerIndex(1) mode(connect ) 
 529.187 Info ServerMultiplayerManager.cpp:792: mapTick(15649824) received stateChanged peerID(1) oldState(WaitingForCommandToStartSendingTickClosures) newState(InGame)
 698.800 Info AppManager.cpp:260: Saving to _autosave5 (blocking).
Attachments
factorio-current.log
(169.63 KiB) Downloaded 86 times
factorio-previous.log
(166.57 KiB) Downloaded 93 times

Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: [0.16.22] headless server crash

Post by Oxyd »

Hi. There is no crash in either of your logs. Can you describe exactly what happens?

Chriz
Inserter
Inserter
Posts: 23
Joined: Thu Jan 26, 2017 3:47 pm
Contact:

Re: [0.16.22] headless server crash

Post by Chriz »

yes i see there is no crash in the logs but it does crash. I just connect try 300 sek to keep up than im connected and the server trys to save and just close

[EDIT: I will update now to 0.16.23 and update the mods maybe that will help]

Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: [0.16.22] headless server crash

Post by Oxyd »

That could very well be caused by many other things, like your network connection dropping. Is the server still running after you get disconnected?

Chriz
Inserter
Inserter
Posts: 23
Joined: Thu Jan 26, 2017 3:47 pm
Contact:

Re: [0.16.22] headless server crash

Post by Chriz »

yes its still running since i upgraded stuff, but i noticed when i start the server over cron sometimes it doesnt start.

Chriz
Inserter
Inserter
Posts: 23
Joined: Thu Jan 26, 2017 3:47 pm
Contact:

Re: [0.16.22] headless server crash

Post by Chriz »

it still happening :/ no crash in the logs server shuts down itself
Attachments
factorio-current.log
(56.39 KiB) Downloaded 99 times

Chriz
Inserter
Inserter
Posts: 23
Joined: Thu Jan 26, 2017 3:47 pm
Contact:

Re: [0.16.22] headless server crash

Post by Chriz »

So i figured out when i start the server over the cron manager in webmin at boot up it will start run and than just stops (at random times) without a crash or any sign that it got closed. When i start the server with:

screen /home/factorio/server/bin/x64/factorio --start-server-load-latest --server-settings "/home/factorio/server/data/server-settings.json"

with putty

it works without any problems.

So now is the question how can i get the factorio server to auto start when my server reboots?

Chriz
Inserter
Inserter
Posts: 23
Joined: Thu Jan 26, 2017 3:47 pm
Contact:

Re: [0.16.22] headless server crash

Post by Chriz »

Problem solved can be closed.

i will avoid cron jobs for factorio.

Post Reply

Return to “Resolved Problems and Bugs”