chdao / factorioservers

Pre-script for creating multiple factorio instances on the same server.
2 stars 0 forks source link

Port mapping #1

Open Northwave opened 8 years ago

Northwave commented 8 years ago

Hi, I followed your instructions but i get this error in journalctl:

May 28 01:15:26 blub systemd[1]: Starting Factorio server on port 34197...
-- Subject: Unit factorio@34197.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit factorio@34197.service has begun starting up.
May 28 01:15:26 blub pre-start-factorio[10794]: Mapping for frankthetank.zip does not have a port in /opt/factorio/saves/mapping.csv!
May 28 01:15:26 blub systemd[1]: factorio@34197.service: control process exited, code=exited status=1
May 28 01:15:26 blub systemd[1]: Failed to start Factorio server on port 34197.
-- Subject: Unit factorio@34197.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit factorio@34197.service has failed.
--
-- The result is failed.
May 28 01:15:26 blub systemd[1]: Unit factorio@34197.service entered failed state.

I used your example for the mapping.csv input. I'm using Debian 8.1

chdao commented 8 years ago

Whats the name of your save file?

Could you also show me the content of your mapping.csv?

Northwave commented 8 years ago

Hi,

As I said, i used your example names for my save file and csv. The save file name is: frankthetank.zip and the content of the mapping.csv is: 34197,frankthetank.zip I double checked all permissions and your setup manual.

chdao commented 7 years ago

Sorry this took so long, I have not received notifications from github in quite a while it seems...

Anyhow, that's a typo in the manual, the mapping shouldn't have .zip at the end of the map name.

it should read 34197,frankthetank