[Solved] [0.15.40] Headless Server not starting

Anything that prevents you play the game properly. Do you have issues with paying for the game, downloading it or properly running it on your computer? Let us know here.

[Solved] [0.15.40] Headless Server not starting

Postby stormsh » Wed Dec 06, 2017 9:52 pm

Hello there fellow factorians. I run a factorio headless server. The last version was 0.15.37 and it was working perfekt. After the update, I replaces all files with the new ones put when I try to start the server with "sudo -H -u factorio /opt/factorio/bin/x64/factorio --start-server /opt/factorio/saves/Multiplayer.zip" I just get an error msg "command not found".
Did the commands for managing (start etc) the server change?

Thx 4 F1
Last edited by stormsh on Sun Dec 10, 2017 11:47 am, edited 1 time in total.
stormsh
Burner Inserter
Burner Inserter
 
Posts: 5
Joined: Wed Dec 06, 2017 9:44 pm

Re: Headless Server 0.15.40 not starting

Postby Zavian » Wed Dec 06, 2017 10:23 pm

I assume you have already checked that /opt/factorio/bin/x64/factorio exists and that its permissions (and the permissions of all parent directories) are correct?

Because "command not found" makes me think that's where your error is.
Zavian
Filter Inserter
Filter Inserter
 
Posts: 313
Joined: Thu Mar 02, 2017 2:57 am

Re: Headless Server 0.15.40 not starting

Postby stormsh » Thu Dec 07, 2017 9:14 am

Yes. First thing I checked. Twice. All files and folders have the same owner and group "factorio".
I run the server in a screen called "factorio-server". With "screen -S factorio_server" I create that screen. Does a screen need to have the same permissions as the process its running? I can't remember messing with screen permissions!?
Create screen, run commend, done, thank you, thats how I did it last time.
I just replaced the factorio server files (deleted the old ones, copied the new, no overrighting), changed the permissions (because I copy the files as a different user) and tried to start it in the screen. Hmmmmmmm.
Where else can there a problem?
stormsh
Burner Inserter
Burner Inserter
 
Posts: 5
Joined: Wed Dec 06, 2017 9:44 pm

Re: Headless Server 0.15.40 not starting

Postby Bilka » Thu Dec 07, 2017 9:23 am

I'm a linux noob but dont you have to specify the exe file extension instead of the just the name of the file in the path for the first sudo? so ".../x64/factorio.exe" ?
Bilka
Filter Inserter
Filter Inserter
 
Posts: 393
Joined: Sat Aug 13, 2016 9:20 am

Re: Headless Server 0.15.40 not starting

Postby stormsh » Thu Dec 07, 2017 9:29 am

the factorio file has no extension. its name is just "factorio"
stormsh
Burner Inserter
Burner Inserter
 
Posts: 5
Joined: Wed Dec 06, 2017 9:44 pm

Re: Headless Server 0.15.40 not starting

Postby inick » Thu Dec 07, 2017 3:47 pm

stormsh wrote:Hello there fellow factorians. I run a factorio headless server. The last version was 0.15.37 and it was working perfekt. After the update, I replaces all files with the new ones put when I try to start the server with "sudo -H -u factorio /opt/factorio/bin/x64/factorio --start-server /opt/factorio/saves/Multiplayer.zip" I just get an error msg "command not found".
Did the commands for managing (start etc) the server change?


Check on this.
https://forums.factorio.com/viewtopic.php?f=49&t=34445&p=299832#p299832

Been a sneaky devil and the devs appropriately cleared my assumption it is a bug, it's a "feature" in Linux. Blame Linux.
inick
Inserter
Inserter
 
Posts: 28
Joined: Thu Jun 16, 2016 7:36 pm

Re: Headless Server 0.15.40 not starting

Postby stormsh » Thu Dec 07, 2017 9:38 pm

Ok. I am not that good around linux to see through and pinpoint the post straight to a solution.
I still don't understand why the headless 0.15.37 ran just fine and the 0.15.40 doesn't. I didn't restart the server hardware in over a year. And it is 64bit or the 0.15.37 couldn't have worked.
Can you help me with the solution? Please?

Thx 4 F1.

st.
stormsh
Burner Inserter
Burner Inserter
 
Posts: 5
Joined: Wed Dec 06, 2017 9:44 pm

Re: Headless Server 0.15.40 not starting

Postby stormsh » Sun Dec 10, 2017 11:46 am

Hello there again. First: Server works again!

A friend helped me with the symlink thing, but it didn't work. That is not the problem. I uploaded the files from the 0.15.40 server again and now I get a different error msg:

0.000 Error Util.cpp:62: There is no package core in /usr/share/factorio

After a quick look this had to do with the cfg wich was overwritten. Still don't know the reason for the command not found.
stormsh
Burner Inserter
Burner Inserter
 
Posts: 5
Joined: Wed Dec 06, 2017 9:44 pm


Return to Technical Help

Who is online

Users browsing this forum: No registered users and 5 guests