Bisa / factorio-init

Factorio init script
MIT License
415 stars 82 forks source link

"Waiting for child process to exit" #146

Closed Hovel87 closed 5 years ago

Hovel87 commented 5 years ago

After trying to manual update from 0.16.51 to latest 0.17, I can't get my server to work again. After starting the service I get this:

thomas@tfdserver:/opt/factorio-init$ service factorio status ● factorio.service - Factorio Server Loaded: loaded (/etc/systemd/system/factorio.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since di 2019-04-09 11:00:56 CEST; 2s ago Process: 22072 ExecStop=/opt/factorio-init/factorio stop (code=exited, status=0/SUCCESS) Process: 22043 ExecStart=/opt/factorio-init/factorio start (code=exited, status=0/SUCCESS) Main PID: 22063 (code=exited, status=1/FAILURE)

apr 09 11:00:56 tfdserver systemd[1]: factorio.service: Unit entered failed state. apr 09 11:00:56 tfdserver systemd[1]: factorio.service: Failed with result 'exit-code'.

factorio-init log doesn't help me either:

   0.000 2019-04-09 11:04:04; Factorio 0.17.25 (build 44302, linux64, headless)
   0.052 Operating system: Linux (Ubuntu 16.04)
   0.052 Program arguments: "/opt/factorio/bin/x64/factorio" "--config" "/opt/factorio/config/config.ini" "--port" "34197" "--start-server-load-latest" "--server-settings" "/opt/factorio/data/server-settings.json" "--start-server-load-latest" "--port" "34197" "--server-settings" "/opt/factorio/data/server-settings.json" "--map-settings" "/opt/factorio/data/map-settings.json"
   0.052 Read data path: /opt/factorio/data
   0.052 Write data path: /opt/factorio [172747/218601MB]
   0.052 Binaries path: /opt/factorio/bin
   0.061 System info: [CPU: Intel(R) Core(TM) i5-4460  CPU @ 3.20GHz, 4 cores, RAM: 15919 MB]
   0.061 Environment: DISPLAY=<unset> WAYLAND_DISPLAY=<unset> DESKTOP_SESSION=<unset> XDG_SESSION_DESKTOP=<unset> XDG_CURRENT_DESKTOP=<unset>
   0.061 Running in headless mode
   0.064 Loading mod core 0.0.0 (data.lua)
   0.110 Loading mod base 0.17.25 (data.lua)
   0.266 Loading mod base 0.17.25 (data-updates.lua)
   0.339 Checksum for core: 848209068
   0.339 Checksum of base: 2472862601
   0.784 Info PlayerData.cpp:67: Local player-data.json available, timestamp 1554800624
   0.784 Info PlayerData.cpp:74: Cloud player-data.json unavailable
   0.785 Custom inputs active: 0
   0.786 Factorio initialised
   0.786 Info GlobalContext.cpp:684: Waiting for child processes to exit:
                                                                                   1,4           Top
Hovel87 commented 5 years ago

Issues is solved. Log file server.out in factorio folder pointed to unexpected parameter in server-settings.json file line 62. Turnout I forgot to use quotes for assigning admins.