Error starting 0.13.3 Headless on Linux

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.
vOrT4x
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sun Jul 03, 2016 10:06 am
Contact:

Error starting 0.13.3 Headless on Linux

Post by vOrT4x »

Hi,
i get following error when starting the Headless on my Qnap nas:

0.008 2016-07-03 12:03:46; Factorio 0.13.3 (build 22991, linux64, headless)
0.008 Operating system: Linux
0.008 Program arguments: "./factorio" "--start-server" "HEADLESS.zip"
0.008 Read data path: /share/MD0_DATA/FACTORIO/factorio/data
0.008 Write data path: /share/MD0_DATA/FACTORIO/factorio
0.008 Binaries path: /share/MD0_DATA/FACTORIO/factorio/bin
0.133 Running in headless mode
0.156 Loading mod core 0.0.0 (data.lua)
0.183 Loading mod base 0.13.3 (data.lua)
0.908 Checksum for core: 714099156
0.909 Checksum for mod base: 3065127710
2.492 Custom inputs active: 0
2.493 Factorio initialised
2.497 Info Router.cpp:557: Router peerID(65535) shutting down.
2.497 Info Router.cpp:588: Router state -> Disconnected
2.498 Error Util.cpp:57: multiplayer.invalid-address("pingpong1.factorio.com:34197", "Name or service not known")
vOrT4x
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sun Jul 03, 2016 10:06 am
Contact:

Re: Error starting 0.13.3 Headless on Linux

Post by vOrT4x »

hello,
i updated to 13.4.
now i get this error:

[/share/FACTORIO/factorio/bin/x64] # ./factorio --start-server /share/FACTORIO/factorio/saves/SAVE.zip
0.000 2016-07-05 18:59:32; Factorio 0.13.4 (build 23025, linux64, headless)
0.000 Operating system: Linux
0.000 Program arguments: "./factorio" "--start-server" "/share/FACTORIO/factorio/saves/SAVE.zip"
0.000 Read data path: /share/MD0_DATA/FACTORIO/factorio/data
0.000 Write data path: /share/MD0_DATA/FACTORIO/factorio
0.001 Binaries path: /share/MD0_DATA/FACTORIO/factorio/bin
0.035 Running in headless mode
0.041 Loading mod core 0.0.0 (data.lua)
0.054 Loading mod base 0.13.4 (data.lua)
0.355 Checksum for core: 714099156
0.355 Checksum for mod base: 3065127710
1.685 Custom inputs active: 0
1.686 Factorio initialised
1.690 Info Router.cpp:558: Router peerID(65535) shutting down.
1.690 Info Router.cpp:594: Router state -> Disconnected
1.691 Info MultiplayerManager.cpp:996: networkTick(0) mapTick(-1) changing state from(Ready) to(PreparedToHostGame)
1.691 Info MultiplayerManager.cpp:996: networkTick(0) mapTick(-1) changing state from(PreparedToHostGame) to(CreatingGame)
1.691 Loading map /share/FACTORIO/factorio/saves/SAVE.zip
1.732 Info Scenario.cpp:129: Map version 0.13.4-1
2.477 Checksum for script /share/MD0_DATA/FACTORIO/factorio/temp/currently-playing/control.lua: 900459546
2.496 Info PosixUDPSocket.cpp:50: Opening socket at port 34197
2.497 Warning PosixUDPSocket.cpp:120: Failed to open IPv6 socket (Address family not supported by protocol), continuing with IPv4 only
2.497 Info Router.cpp:594: Router state -> Connected
2.497 Info Synchronizer.cpp:56: NetworkTick(0) initialized Synchronizer local peer(0) latency(6).
2.497 Hosting game at port 34197, peerID 0, session magic 616
2.497 Info HttpSharedState.cpp:39: Downloading https://auth.factorio.com/generate-server-padlock
2.499 Info HttpSharedState.cpp:85: Status code: 0
2.499 Info AuthServerConnector.cpp:15: Downloading from auth server failed: Couldn't resolve host name -- Couldn't resolve host 'auth.factorio.com'
2.499 Error MultiplayerManager.cpp:129: MultiplayerManager failed: "Couldn't reach the auth server."
2.499 Info MultiplayerManager.cpp:996: networkTick(0) mapTick(-1) changing state from(CreatingGame) to(InitializationFailed)
^C 12.951 Received SIGINT, shutting down
12.951 Info MainLoop.cpp:698: Saving map as /share/FACTORIO/factorio/saves/SAVE.zip
^C

but if i do an nslookup:


[/share/FACTORIO/factorio/bin/x64] # nslookup auth.factorio.com
*** Unknown host

Name: elb015090-916257026.us-east-1.elb.amazonaws.com
Addresses: 54.204.46.30, 75.101.151.33, 50.16.251.99


can anyone please help me?
xavizus
Burner Inserter
Burner Inserter
Posts: 10
Joined: Fri Jul 15, 2016 7:27 pm
Contact:

Re: Error starting 0.13.3 Headless on Linux

Post by xavizus »

Usually, Qnap delivery Linux in ARM - and the Headless does not work for ARM architectures :(

To your latest update:

Your server does not seem to find a DNS server.
To fix this:

Code: Select all

vi /etc/resolve.conf
And in the file, add the following:

Code: Select all

nameserver 8.8.8.8
When you are done, press ESC and then type ZZ and press enter and it will save the file.

Try to start the server again and it should find the right DNS :)
Post Reply

Return to “Technical Help”