15.16 headless failing to launch.

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
Prymal
Burner Inserter
Burner Inserter
Posts: 13
Joined: Tue Aug 02, 2016 11:28 am
Contact:

15.16 headless failing to launch.

Post by Prymal »

Edit:
Well, I swapped Arch out for Ubuntu; after the reinstall, Factorio just works. I'm not sure if it was my config or a problem with Arch, but I'll take the win.
____

I am having trouble getting the headless server to launch. There appears to be a problem opening the socket, should it have found the interface address by this point?

Code: Select all

   0.000 2017-05-28 02:15:14; Factorio 0.15.16 (build 30063, linux64, headless)
   0.000 Operating system: Linux
   0.000 Program arguments: "./bin/x64/factorio" "--start-server" "./saves/clean_shave.zip"
   0.000 Read data path: /opt/factorio/data
   0.000 Write data path: /opt/factorio
   0.000 Binaries path: /opt/factorio/bin
   0.009 System info: [CPU: Intel Core Processor (Haswell, no TSX), 2 cores, RAM: 7798MB]
   0.009 Running in headless mode
   0.015 Loading mod core 0.0.0 (data.lua)
   0.021 Loading mod base 0.15.16 (data.lua)
   0.160 Loading mod base 0.15.16 (data-updates.lua)
   0.248 Checksum for core: 2224076952
   0.248 Checksum of base: 2355693671
   0.373 Info PlayerData.cpp:56: Local player-data.json available, timestamp 1495951967
   0.373 Info PlayerData.cpp:63: Cloud player-data.json unavailable
   0.374 Custom inputs active: 0
   0.375 Factorio initialised
   0.375 Info ServerSynchronizer.cpp:27: nextHeartbeatSequenceNumber(0) initialized Synchronizer nextTickClosureTick(0).
   0.375 Info ServerMultiplayerManager.cpp:670: mapTick(-1) changing state from(Ready) to(PreparedToHostGame)
   0.375 Info ServerMultiplayerManager.cpp:670: mapTick(-1) changing state from(PreparedToHostGame) to(CreatingGame)
   0.381 Loading map /opt/factorio/./saves/clean_shave.zip: 736577 bytes.
   0.407 Loading Level.dat: 1000543 bytes.
   0.414 Info Scenario.cpp:134: Map version 0.15.16-1
   0.478 Info BlueprintLibrary.cpp:190: Loaded library shelves:
   0.478 Info BlueprintLibrary.cpp:679: Game shelf: playerIndex = 65535, nextRecordID = 0; timestamp = 1495951963; records:
   0.479 Info BlueprintLibrary.cpp:47: Loaded external blueprint storage: playerIndex = 65535, nextRecordID = 0; timestamp = 1495952115; records:
   0.488 Loading script.dat: 190 bytes.
   0.490 Checksum for script /opt/factorio/temp/currently-playing/control.lua: 282129324
   0.490 Info UDPSocket.cpp:27: Opening socket at (0.0.0.0:34197)
   0.490 Info UDPSocket.cpp:234: Socket closed
   0.491 Error ServerMultiplayerManager.cpp:94: MultiplayerManager failed: multiplayer.address-in-use("0.0.0.0:34197")
   0.491 Info ServerMultiplayerManager.cpp:670: mapTick(0) changing state from(CreatingGame) to(InitializationFailed)
  41.234 Received SIGINT, shutting down
Note:
The firewall should not be in the way, as it's currently set with a default ACCEPT policy on all three chains.
The headless server will launch on my home machine, but not on this VPS still. Also, it hangs on the VPS, requiring forcibly stopped process and manually removed .lock file.

lipe123
Burner Inserter
Burner Inserter
Posts: 13
Joined: Fri Sep 30, 2016 7:39 pm
Contact:

Re: 15.16 headless failing to launch.

Post by lipe123 »

multiplayer.address-in-use("0.0.0.0:34197")

I would guess "address in use" is just a bad way to say the port is in use already.

Maybe there is another process running already on the same port?

Post Reply

Return to “Technical Help”