[0.17.17] Headless server unable to parse rcon password argument

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
User avatar
Azias
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sat Mar 23, 2019 8:39 am
Contact:

[0.17.17] Headless server unable to parse rcon password argument

Post by Azias »

Hello,

I was trying to experiment with the headless server on a centOS machine and while trying to set the rcon password I encountered a small problem, the server doesn't seem to parse the argument correctly.

I'm using the following script to run it:

Code: Select all

#! /bin/bash

rconport='mypassword'
rconpassword='27015'
save='saves/Save01.zip'
settings='data/server-settings.json'

/opt/glibc-2.18/lib/ld-2.18.so --library-path /opt/glibc-2.18/lib ./bin/x64/factorio --start-server $save --rcon-port $rconport --rcon-password $rconpassword --server-settings $settings --executable-path ./bin/x64/factorio
When I run it I only get the following message:

Code: Select all

Argument ‘mypassword’ failed to parse

[The whole usage help text...]
And I still get same error when I don't use the variables too.


Am I missing something or should I post this in the bugs section since it may be a problem with the experimental version that I'm running ?

orzelek
Smart Inserter
Smart Inserter
Posts: 3911
Joined: Fri Apr 03, 2015 10:20 am
Contact:

Re: [0.17.17] Headless server unable to parse rcon password argument

Post by orzelek »

If you are really using it as you wrote.. you have password and port reversed.

Post Reply

Return to “Technical Help”