Page 1 of 1

[0.14.19][Headless] Kills it self on startup

Posted: Sat Sep 24, 2016 10:56 pm
by PlasmatikSteak
I'm trying my luck with a headless linux server.

Everytime I try to start factorio it loads and then kills it self.

I'm starting the server with this command
/opt/factorio/bin/x64/factorio --start-server Multi.zip --server-settings /opt/factorio/data/server
-settings.json
This is what it writes
0.000 2016-09-24 22:39:39; Factorio 0.14.9 (build 24809, linux64, headless)
0.067 Operating system: Linux (Ubuntu 16.04)
0.068 Program arguments: "/opt/factorio/bin/x64/factorio" "--start-server" "Multi.zip" "--server-settings" "/opt/factorio/data/server-settings.json"
0.068 Read data path: /opt/factorio/data
0.068 Write data path: /opt/factorio
0.068 Binaries path: /opt/factorio/bin
0.078 System info: [CPU: Intel(R) Xeon(R) CPU E5-2630L v2 @ 2.40GHz, 1 core, RAM: 488MB]
0.078 Running in headless mode
0.081 Loading mod core 0.0.0 (data.lua)
0.085 Loading mod base 0.14.9 (data.lua)
0.195 Checksum for core: 1620335853
0.196 Checksum for mod base: 1378211439
0.585 Info PlayerData.cpp:47: Local player-data.json unavailable
0.585 Info PlayerData.cpp:52: Cloud player-data.json unavailable
0.586 Custom inputs active: 0
0.587 Factorio initialised
0.588 Warning FileUtil.cpp:424: Multi.zip not found; using /opt/factorio/saves/Multi.zip
0.589 Info ServerSynchronizer.cpp:27: nextHeartbeatSequenceNumber(0) initialized Synchronizer nextTickClosureTick(0).
0.589 Info ServerMultiplayerManager.cpp:636: mapTick(-1) changing state from(Ready) to(PreparedToHostGame)
0.589 Info ServerMultiplayerManager.cpp:636: mapTick(-1) changing state from(PreparedToHostGame) to(CreatingGame)
0.589 Loading map /opt/factorio/saves/Multi.zip
0.633 Info Scenario.cpp:152: Map version 0.14.9-1
Killed
I have attached the map as well.

Anybody know what I might be missing or I'm doing wrong?

Couldn't find anything about this problem when searching google :(

Re: [0.14.19][Headless] Kills it self on startup

Posted: Sun Sep 25, 2016 7:37 am
by prg
0.078 System info: [CPU: Intel(R) Xeon(R) CPU E5-2630L v2 @ 2.40GHz, 1 core, RAM: 488MB]
Might want to invest in more RAM. Check dmesg for OOM killer messages.

Re: [0.14.19][Headless] Kills it self on startup

Posted: Sun Sep 25, 2016 8:16 am
by PlasmatikSteak
prg wrote:
0.078 System info: [CPU: Intel(R) Xeon(R) CPU E5-2630L v2 @ 2.40GHz, 1 core, RAM: 488MB]
Might want to invest in more RAM. Check dmesg for OOM killer messages.
Ahh you are right.

It's a Digital Ocean $5 droplet. Had to make it an $10 to be able to run my map.

Re: [0.14.19][Headless] Kills it self on startup

Posted: Fri Sep 30, 2016 5:26 pm
by Ninja_Dog81
Hey man,

Glad you got this sorted. I have a q if I may, could you please post the contents of your settings file? I can't get the experimental to load as a dedicated server at all. Would Windows make a diff?

Thanks!