[0.16.51] Unable to start dedicated server

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
Post Reply
Milly999
Manual Inserter
Manual Inserter
Posts: 4
Joined: Tue Dec 11, 2018 10:47 pm
Contact:

[0.16.51] Unable to start dedicated server

Post by Milly999 »

I'm using centOS 7, First I was getting this error:

Code: Select all

   0.000  Error Util.cpp:49: Error configuring paths: There is no package core in /usr/share/factorio. Deduced executable directory: /opt/glibc-2.18/lib, read data: __PATH__system-read-data__, write data: __PATH__system-write-data__
by using the command:

Code: Select all

/opt/glibc-2.18/lib/ld-2.18.so --library-path /opt/glibc-2.18/lib /opt/factorio/bin/x64/factorio --start-server 1TINC.zip
so i added --executable-path and the /opt path at the end:

Code: Select all

/opt/glibc-2.18/lib/ld-2.18.so --library-path /opt/glibc-2.18/lib /opt/factorio/bin/x64/factorio --start-server 1TINC.zip --executable-path /opt/factorio/bin/x64/factorio
But now i'm getting this error:

Code: Select all

 0.000 2018-12-11 22:45:48; Factorio 0.16.51 (build 36654, linux64, headless)
   0.001 Operating system: Linux
   0.001 Program arguments: "/opt/factorio/bin/x64/factorio" "--start-server" "1TINC.zip" "--executable-path" "/opt/factorio/bin/x64/factorio"
   0.001 Read data path: /opt/factorio/data
   0.001 Write data path: /opt/factorio [12165/39277MB]
   0.001 Binaries path: /opt/factorio/bin
   0.025 System info: [CPU: QEMU Virtual CPU version 2.5+, 4 cores, RAM: 1838 MB]
   0.025 Environment: DISPLAY=<unset>, WAYLAND_DISPLAY=<unset>
   0.026 Running in headless mode
   0.037 Loading mod core 0.0.0 (data.lua)
   0.068 Loading mod base 0.16.51 (data.lua)
   0.208 Loading mod base 0.16.51 (data-updates.lua)
   0.242 Checksum for core: 840319042
   0.242 Checksum of base: 3323233190
   0.341 Info PlayerData.cpp:65: Local player-data.json available, timestamp 1544566326
   0.341 Info PlayerData.cpp:72: Cloud player-data.json unavailable
   0.343 Custom inputs active: 0
   0.343 Factorio initialised
   0.343 Info ServerSynchronizer.cpp:29: nextHeartbeatSequenceNumber(0) initialized Synchronizer nextTickClosureTick(0).
   0.343 Info ServerMultiplayerManager.cpp:699: mapTick(4294967295) changing state from(Ready) to(PreparedToHostGame)
   0.343 Info ServerMultiplayerManager.cpp:699: mapTick(4294967295) changing state from(PreparedToHostGame) to(CreatingGame)
   0.343 Loading map /opt/factorio/1TINC.zip: 681244 bytes.
   0.344 Error ServerMultiplayerManager.cpp:96: MultiplayerManager failed: "filesystem error: create_directories "/opt/factorio/temp/currently-playing" failed: Permission denied [/opt/factorio/temp/currently-playing]"
   0.344 Info ServerMultiplayerManager.cpp:699: mapTick(4294967295) changing state from(CreatingGame) to(InitializationFailed)
   0.344 Info GlobalContext.cpp:696: Waiting for child processes to exit:
   0.344 Info ServerMultiplayerManager.cpp:142: Quitting multiplayer connection.
   0.344 Info ServerMultiplayerManager.cpp:699: mapTick(4294967295) changing state from(InitializationFailed) to(Closed)
   0.351 Error ModManager.cpp:145: writeModlist threw an exception: Permission denied
   0.353 Info UDPSocket.cpp:206: Closing socket
   0.353 Goodbye
and tbh, i have no clue what i'm doing..

Milly999
Manual Inserter
Manual Inserter
Posts: 4
Joined: Tue Dec 11, 2018 10:47 pm
Contact:

Re: [0.16.51] Unable to start dedicated server

Post by Milly999 »

UPDATE:

Code: Select all

   0.000 2018-12-12 00:12:06; Factorio 0.16.51 (build 36654, linux64, headless)
   0.000 Operating system: Linux
   0.000 Program arguments: "/opt/factorio/bin/x64/factorio" "--start-server" "1TINC.zip" "--executable-path" "/opt/factorio/bin/x64/factorio"
   0.000 Read data path: /opt/factorio/data
   0.000 Write data path: /opt/factorio [12164/39277MB]
   0.000 Binaries path: /opt/factorio/bin
   0.023 System info: [CPU: QEMU Virtual CPU version 2.5+, 4 cores, RAM: 1838 MB]
   0.023 Environment: DISPLAY=<unset>, WAYLAND_DISPLAY=<unset>
   0.024 Running in headless mode
   0.034 Loading mod core 0.0.0 (data.lua)
   0.066 Loading mod base 0.16.51 (data.lua)
   0.173 Loading mod base 0.16.51 (data-updates.lua)
   0.206 Checksum for core: 840319042
   0.206 Checksum of base: 3323233190
   0.309 Info PlayerData.cpp:65: Local player-data.json available, timestamp 1544573523
   0.309 Info PlayerData.cpp:72: Cloud player-data.json unavailable
   0.310 Custom inputs active: 0
   0.311 Factorio initialised
   0.311 Info ServerSynchronizer.cpp:29: nextHeartbeatSequenceNumber(0) initialized Synchronizer nextTickClosureTick(0).
   0.311 Info ServerMultiplayerManager.cpp:699: mapTick(4294967295) changing state from(Ready) to(PreparedToHostGame)
   0.311 Info ServerMultiplayerManager.cpp:699: mapTick(4294967295) changing state from(PreparedToHostGame) to(CreatingGame)
   0.311 Loading map /opt/factorio/bin/x64/saves/1TINC.zip: 565322 bytes.
   0.325 Loading Level.dat: 990521 bytes.
   0.329 Info Scenario.cpp:136: Map version 0.16.51-0
   0.361 Loading script.dat: 176 bytes.
   0.363 Checksum for script /opt/factorio/temp/currently-playing/control.lua: 950616531
   0.364 Info UDPSocket.cpp:27: Opening socket at (IP ADDR:({0.0.0.0:34197}))
   0.364 Hosting game at IP ADDR:({0.0.0.0:34197})
   0.364 Info HttpSharedState.cpp:54: Downloading https://auth.factorio.com/generate-server-padlock-2
   0.794 Info HttpSharedState.cpp:145: Status code: 200
   0.794 Info AuthServerConnector.cpp:109: Obtained serverPadlock for serverHash (q53KspAtggKiuyzNeVqFvUwnTksf2NiU) from the auth server.
   0.794 Info ServerMultiplayerManager.cpp:699: mapTick(114) changing state from(CreatingGame) to(InGame)

2018-12-12 00:16:07 [CHAT] <server>: 0.000 2018-12-12 00:12:06; Factorio 0.16.51 (build 36654, linux64, headless)
2018-12-12 00:16:07 [CHAT] <server>: 0.000 Operating system: Linux
2018-12-12 00:16:07 [CHAT] <server>: 0.000 Program arguments: "/opt/factorio/bin/x64/factorio" "--start-server" "1TINC.zip" "--executable-path" "/opt/factorio/bin/x64/factorio"
2018-12-12 00:16:07 [CHAT] <server>: 0.000 Read data path: /opt/factorio/data
2018-12-12 00:16:07 [CHAT] <server>: 0.000 Write data path: /opt/factorio [12164/39277MB]
2018-12-12 00:16:07 [CHAT] <server>: 0.000 Binaries path: /opt/factorio/bin
2018-12-12 00:16:07 [CHAT] <server>: 0.023 System info: [CPU: QEMU Virtual CPU version 2.5+, 4 cores, RAM: 1838 MB]
2018-12-12 00:16:07 [CHAT] <server>: 0.023 Environment: DISPLAY=<unset>, WAYLAND_DISPLAY=<unset>
2018-12-12 00:16:07 [CHAT] <server>: 0.024 Running in headless mode
2018-12-12 00:16:07 [CHAT] <server>: 0.034 Loading mod core 0.0.0 (data.lua)
2018-12-12 00:16:07 [CHAT] <server>: 0.066 Loading mod base 0.16.51 (data.lua)
2018-12-12 00:16:07 [CHAT] <server>: 0.173 Loading mod base 0.16.51 (data-updates.lua)
2018-12-12 00:16:07 [CHAT] <server>: 0.206 Checksum for core: 840319042
2018-12-12 00:16:07 [CHAT] <server>: 0.206 Checksum of base: 3323233190
2018-12-12 00:16:07 [CHAT] <server>: 0.309 Info PlayerData.cpp:65: Local player-data.json available, timestamp 1544573523
2018-12-12 00:16:07 [CHAT] <server>: 0.309 Info PlayerData.cpp:72: Cloud player-data.json unavailable
2018-12-12 00:16:07 [CHAT] <server>: 0.310 Custom inputs active: 0
2018-12-12 00:16:07 [CHAT] <server>: 0.311 Factorio initialised
2018-12-12 00:16:07 [CHAT] <server>: 0.311 Info ServerSynchronizer.cpp:29: nextHeartbeatSequenceNumber(0) initialized Synchronizer nextTickClosureTick(0).
2018-12-12 00:16:07 [CHAT] <server>: 0.311 Info ServerMultiplayerManager.cpp:699: mapTick(4294967295) changing state from(Ready) to(PreparedToHostGame)
2018-12-12 00:16:07 [CHAT] <server>: 0.311 Info ServerMultiplayerManager.cpp:699: mapTick(4294967295) changing state from(PreparedToHostGame) to(CreatingGame)
2018-12-12 00:16:07 [CHAT] <server>: 0.311 Loading map /opt/factorio/bin/x64/saves/1TINC.zip: 565322 bytes.
2018-12-12 00:16:07 [CHAT] <server>: 0.325 Loading Level.dat: 990521 bytes.
2018-12-12 00:16:07 [CHAT] <server>: 0.329 Info Scenario.cpp:136: Map version 0.16.51-0
2018-12-12 00:16:07 [CHAT] <server>: 0.361 Loading script.dat: 176 bytes.
2018-12-12 00:16:07 [CHAT] <server>: 0.363 Checksum for script /opt/factorio/temp/currently-playing/control.lua: 950616531
2018-12-12 00:16:07 [CHAT] <server>: 0.364 Info UDPSocket.cpp:27: Opening socket at (IP ADDR:({0.0.0.0:34197}))
2018-12-12 00:16:07 [CHAT] <server>: 0.364 Hosting game at IP ADDR:({0.0.0.0:34197})
2018-12-12 00:16:07 [CHAT] <server>: 0.364 Info HttpSharedState.cpp:54: Downloading https://auth.factorio.com/generate-server-padlock-2
2018-12-12 00:16:07 [CHAT] <server>: 0.794 Info HttpSharedState.cpp:145: Status code: 200
2018-12-12 00:16:07 [CHAT] <server>: 0.794 Info AuthServerConnector.cpp:109: Obtained serverPadlock for serverHash (q53KspAtggKiuyzNeVqFvUwnTksf2NiU) from the auth server.
2018-12-12 00:16:07 [CHAT] <server>: 0.794 Info ServerMultiplayerManager.cpp:699: mapTick(114) changing state from(CreatingGame) to(InGame)
Its stuck on the last part

Code: Select all

 0.794 Info ServerMultiplayerManager.cpp:699: mapTick(114) changing state from(CreatingGame) to(InGame)

Loewchen
Global Moderator
Global Moderator
Posts: 8308
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.16.51] Unable to start dedicated server

Post by Loewchen »

Milly999 wrote:
Wed Dec 12, 2018 12:20 am
Its stuck on the last part

Code: Select all

 0.794 Info ServerMultiplayerManager.cpp:699: mapTick(114) changing state from(CreatingGame) to(InGame)
That's not being stuck, that's simply being in game.

Milly999
Manual Inserter
Manual Inserter
Posts: 4
Joined: Tue Dec 11, 2018 10:47 pm
Contact:

Re: [0.16.51] Unable to start dedicated server

Post by Milly999 »

figured it out, had to fix the ownerships and reload the firewall after I opened the port. You can close this mods.

Milly999
Manual Inserter
Manual Inserter
Posts: 4
Joined: Tue Dec 11, 2018 10:47 pm
Contact:

Re: [0.16.51] Unable to start dedicated server

Post by Milly999 »

Loewchen wrote:
Wed Dec 12, 2018 12:42 am
Milly999 wrote:
Wed Dec 12, 2018 12:20 am
Its stuck on the last part

Code: Select all

 0.794 Info ServerMultiplayerManager.cpp:699: mapTick(114) changing state from(CreatingGame) to(InGame)
That's not being stuck, that's simply being in game.
it almost was, couldn't connect :P I had opened the port but i had to run the firewall-cmd --reload command for it to work.

Post Reply

Return to “Technical Help”