[1.1.101] Error starting headless server after second 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
JaShof
Manual Inserter
Manual Inserter
Posts: 1
Joined: Tue Jan 30, 2024 3:02 am
Contact:

[1.1.101] Error starting headless server after second launch

Post by JaShof »

I rebuilt an out dated server from my office to run Windows Server 2016. I installed steam, followed the Wiki and got the game to launch a dedicated server. I closed the terminal (Maybe there is an escape sequence to close the server?) and proceeded to configure the firewall. I set up the fire wall and created a server-settings.json file.

What I can tell there is a problem deleting the player-data.json. More specifically it looks like there may be an exception from the function? Here is the output.

Also, I couldn't locate a logfile, so I used this command in PowerShell (Admin mode)

.\bin\x64\factorio.exe --start-server-load-latest "C:\Users\Administrator\AppData\Roaming\Factorio\saves\SE_Server.zip" --server-settings .\server-settings.json | Out-File Log.log

Any ideas would be helpfull.

Code: Select all

  0.002 2024-01-29 18:59:34; Factorio 1.1.101 (build 62011, win64, steam)
   0.002 Operating system: Windows 10 (version 1607) 
   0.003 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\factorio.exe" "--start-server-load-latest" "C:\Users\Administrator\AppData\Roaming\Factorio\saves\SE_Server.zip" "--server-settings" ".\server-settings.json" 
   0.003 Config path: C:/Users/Administrator/AppData/Roaming/Factorio/config/config.ini
   0.003 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
   0.003 Write data path: C:/Users/Administrator/AppData/Roaming/Factorio [7605347/7625007MB]
   0.008 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
   0.033 System info: [CPU:        Intel(R) Xeon(R) CPU E5-2407 0 @ 2.20GHz, 8 cores, RAM: 4249/24547 MB, page: 4109/28515 MB, virtual: 136/134217727 MB, extended virtual: 0 MB]
   0.142 Memory info:
   0.142  [0]: Hynix Semiconductor HMT351R7CFR4C-PB 4096 MB 1066 MHz 
   0.142  [1]: Hynix Semiconductor HMT351R7CFR4C-H9 4096 MB 1066 MHz 
   0.142  [2]: Hynix Semiconductor HMT351R7CFR4C-H9 4096 MB 1066 MHz 
   0.142  [3]: Hynix Semiconductor HMT351R7CFR4C-H9 4096 MB 1066 MHz 
   0.142  [4]: Hynix Semiconductor HMT351R7CFR4C-H9 4096 MB 1066 MHz 
   0.142  [5]: Hynix Semiconductor HMT351R7CFR4C-H9 4096 MB 1066 MHz 
   0.143 Running in headless mode
   0.158 Loading mod core 0.0.0 (data.lua)
   0.243 Loading mod base 1.1.101 (data.lua)
   0.750 Loading mod base 1.1.101 (data-updates.lua)
   1.047 Checksum for core: 905122912
   1.047 Checksum of base: 1054619811
   1.546 Prototype list checksum: 3034860339
   1.636 Info PlayerData.cpp:78: Local player-data.json unavailable
   1.636 Info PlayerData.cpp:83: Cloud player-data.json unavailable
   1.639 Factorio initialised
   1.640 Info AuthServerConnector.cpp:631: Performing TLS check.
   1.640 Info HttpSharedState.cpp:58: Downloading https://auth.factorio.com/tls-check/success
   1.807 Info AuthServerConnector.cpp:656: TLS check success.
   1.807 Info HttpSharedState.cpp:58: Downloading https://auth.factorio.com/api-login?api_version=6
   2.528 Info AuthServerConnector.cpp:189: Got token from auth server for username(JaShof).
   3.045 Warning WriteFileGuard.cpp:56: Writing C:\Users\Administrator\AppData\Roaming\Factorio\player-data.json failed; previous version (if any) should still be available
   3.045 Error FileUtil.cpp:469: Couldn't remove C:\Users\Administrator\AppData\Roaming\Factorio\player-data.tmp.json: Incorrect function.


   3.046 Error PlayerData.cpp:421: Failed to save player data: Couldn't remove C:\Users\Administrator\AppData\Roaming\Factorio\player-data.bak.json: Incorrect function.

.
   3.052 Error CommandLineMultiplayer.cpp:191: require_user_verification must be enabled for public games.
   3.060 Info ServerMultiplayerManager.cpp:154: Quitting multiplayer connection.
   3.060 Info ServerMultiplayerManager.cpp:816: updateTick(4294967295) changing state from(Ready) to(Closed)
   3.574 Warning WriteFileGuard.cpp:56: Writing C:\Users\Administrator\AppData\Roaming\Factorio\player-data.json failed; previous version (if any) should still be available
   3.575 Error FileUtil.cpp:469: Couldn't remove C:\Users\Administrator\AppData\Roaming\Factorio\player-data.tmp.json: Incorrect function.


   3.575 Error PlayerData.cpp:421: Failed to save player data: Couldn't remove C:\Users\Administrator\AppData\Roaming\Factorio\player-data.bak.json: Incorrect function.

.
   3.677 Goodbye
   

Bilka
Factorio Staff
Factorio Staff
Posts: 3139
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: [1.1.101] Error starting headless server after second launch

Post by Bilka »

You need to update your windows installation. See 66635 69534 67276

(Ctrl + C in the terminal where you are running the server will prompt it to save and quit.)
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

Post Reply

Return to “Technical Help”