Page 1 of 1

[Solved] Server modded - Starting issue on CentOS 7

Posted: Mon Feb 06, 2017 8:25 pm
by DigiZA
Hi there Guys and Girls,

Im having a issue with starting a headless server, I got the base install running happily but soon as I add mos its having issues.

I execute the server with this at the moment.

Code: Select all

./factorio --start-server-load-latest --mod-directory /home/steam/.factorio/mods/ --map-gen-settings /home/steam/.factorio/factorio/data/map-gen-settings.json --server-settings /home/steam/.factorio/factorio/data/server-settings.json
the steam user running this has full permissions even ran chown -R /home/steam/ as root again to make sure of it. but I keep having this come up when running the server.

Code: Select all

   0.000 2017-02-06 22:20:43; Factorio 0.14.22 (build 25342, linux64, headless)
   0.000 Operating system: Linux
   0.000 Program arguments: "./factorio" "--start-server-load-latest" "--mod-directory" "/home/steam/.factorio/mods/" "--map-gen-settings" "/home/steam/.factorio/factorio/data/map-gen-settings.json" "--server-settings" "/home/steam/.factorio/factorio/data/server-settings.json"
   0.000 Read data path: /home/steam/.factorio/factorio/data
   0.000 Write data path: /home/steam/.factorio/factorio
   0.000 Binaries path: /home/steam/.factorio/factorio/bin
   0.011 System info: [CPU:       Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz, 2 cores, RAM: 3931MB]
   0.011 Running in headless mode
   0.013 Error Util.cpp:57: Opening zip /home/steam/.factorio/mods/Additional-Turret_0.0.29.zip failed: Success
The files just to show im not mad are

Code: Select all

ls -alh /home/steam/.factorio/mods/
total 152K
drwxrwxr-x 2 steam steam 4.0K Feb  6 21:06 .
drwxrwxr-x 6 steam steam 4.0K Feb  6 19:23 ..
-rwxr-xr-x 1 steam steam 4.4K Feb  6 19:36 Additional-Turret_0.0.29.zip
-rwxr-xr-x 1 steam steam 4.4K Feb  6 19:38 advanced-logistics-system_0.4.0.zip
-rwxr-xr-x 1 steam steam 4.4K Feb  6 19:32 air-filtering_0.4.3.zip
-rwxr-xr-x 1 steam steam 4.4K Feb  6 19:51 AllFluids_1.0.3.zip
-rwxr-xr-x 1 steam steam 4.4K Feb  6 19:54 Arborium_0.0.4.zip
-rwxr-xr-x 1 steam steam 4.4K Feb  6 19:45 BetterFluidColors_1.0.2.zip
-rwxr-xr-x 1 steam steam 4.4K Feb  6 21:06 FactorioExtended-Core_0.2.3.zip
-rwxr-xr-x 1 steam steam 4.4K Feb  6 19:49 FactorioExtended-Equipment_0.2.3.zip
-rwxr-xr-x 1 steam steam 4.4K Feb  6 19:48 FactorioExtended-Logistics_0.2.3.zip
-rwxr-xr-x 1 steam steam 4.4K Feb  6 19:48 FactorioExtended-Machines_0.2.3.zip
-rwxr-xr-x 1 steam steam 4.4K Feb  6 19:47 FactorioExtended-Power_0.2.3.zip
-rwxr-xr-x 1 steam steam 4.4K Feb  6 19:57 FactorioExtended-Storage_0.2.3.zip
-rwxr-xr-x 1 steam steam 4.4K Feb  6 19:48 FactorioExtended-Transport_0.2.3.zip
-rwxr-xr-x 1 steam steam 4.4K Feb  6 19:48 FactorioExtended-Weaponry_0.2.3.zip
-rwxr-xr-x 1 steam steam 4.4K Feb  6 19:31 Factorissimo_0.2.0.zip
-rwxr-xr-x 1 steam steam 4.4K Feb  6 19:47 Honk_2.1.2.zip
-rwxr-xr-x 1 steam steam 4.4K Feb  6 20:57 LightedElectricPoles_1.0.0.zip
-rwxr-xr-x 1 steam steam 4.4K Feb  6 19:51 VehiclesEquipement_0.0.2.zip
I think I'm loosing my mind here with this hahaha. any help would be greatly appreciated.

Re: Server modded - Starting issue on CentOS 7

Posted: Mon Feb 06, 2017 8:39 pm
by prg
All of those files are 4.4kB, sure those are ZIP archives and not maybe web pages telling you to log in?

Re: Server modded - Starting issue on CentOS 7

Posted: Mon Feb 06, 2017 8:53 pm
by daniel34
prg wrote:All of those files are 4.4kB, sure those are ZIP archives and not maybe web pages telling you to log in?
Good catch - I didn't even notice that. I actually wanted to post that when getting the "Success"-error while trying to open a zip file it's usually the .zip file that is corrupted.

But prg is right - all your mod files are 4.4kB in size and if they are actually .html files (or any other non-zip file) they would cause that exact error.

Re: Server modded - Starting issue on CentOS 7

Posted: Mon Feb 06, 2017 9:00 pm
by prg

Code: Select all

wget -O- https://mods.factorio.com/login
[...]
Length: 4427 (4.3K) [text/html]
[...]

Re: Server modded - Starting issue on CentOS 7

Posted: Tue Feb 07, 2017 7:00 am
by DigiZA
-_- OMW I seriously didn't even notice that hahahaha, thanks prg >_< cant believe i missed that hahaha. let this be a lesson dont try do a server at 11PM hahahaha.

ok time to re-download ill update if that was all, which is probably the case lol.

Yip that was it *insert facepalm* cant believe i missed something so basic..... thanks for the assist guys/girls.