Setting up a ECO server on Ubuntu (other linux is probably very similar)
-
Getting following on startup
[06:49] Initializing ControllerManager...
[06:49] Initializing DisasterPlugin...
[06:49] Initializing BackupPlugin...
[06:49] Initializing PropertyManager...
[06:49] Initializing WirePlugin...
[06:49] Initializing DifficultySettingsFinished in 2.6ms
[06:49] Initializing ChatServer... Finished in 2.6ms
[06:49] Initializing EcoSim... Finished in 3.9ms
[06:49] Initializing MinimapManager... shed in 0.5ms
[06:49] Initializing RouteProbingPlugin... 151.8ms1ms9ms.0ms
[06:49] Initializing WorldLayerManager... Finished in 0.9ms
[06:49] Initializing EconomyTracker... Finished in 1.5ms
[06:49] Initializing WorldObjectManager... shed in 0.8ms
[06:49] Initializing EconomyPlugin... Finished in 1,347.3ms
[06:49] Initializing RoomPlugin... Finished in 21.3ms
[06:49] Initializing ObjectivePlugin... hed in 5.0ms
[06:49] Initializing Legislation... Finished in 2.2ms
[06:50] Initializing WebServerPlugin... shed in 73.5ms
[06:50] Initializing DiscordPlugin... Finished in 405.5ms
[06:50] Server Initialization finished in 4,299.9ms.4ms
[06:50] Failed to start UDP client, LAN discovery may not be available. (Exception:
-
How can I create new laws and all that stuff? It keeps saying "must access from server"
-
Where do I get the newest server version for version 7.2.1 ? I cant`t find anything.
-
Just to say that's always working fine, tested on ubuntu server 16.04 LTS, (mono EcoServer.exe -nogui ) dont omit to add mono repo like on this page ;) So , great job for this game guys!! waiting for a headless server now, webbase GUI is a good idea.
-
@AngelEpa I get the same error, did you find any fix for this? :)
Edit: There is a newer release available for download which works for me :D
Link: https://s3-us-west-2.amazonaws.com/eco-releases/EcoServer_v0.7.0.0-beta-staging-7da08558.zip
-
Initializing WorldGeneratorPlugin...
Generating world 4km²...
Generating terrain...
Caching world data...
Failed to post server listing to remote service: Error: ConnectFailure (Connection timed out)
Generating plateaus...
Failed to post server listing to remote service: Error: ConnectFailure (Connection timed out)
Carving rivers...
Generating special features...
Ticking (Pass 1)...
Initializing world layers...
Failed to post server listing to remote service: Error: ConnectFailure (Connection timed out)
Ticking world layers...
Failed to post server listing to remote service: Error: ConnectFailure (Connection timed out)I become this Message all Time when i load the Server after some Minutes. The World load and the Message is coming, then World Cache is loading, after this the message come... Any Idea ?
-
For anyone else that is running Debian such as myself to get the mono package do the following
apt-get update
apt-get install unzip
apt-get install mono-completeLog into your account to see what the latest server is and download it using wget
there are several examples listed above on how to use wget or do a man wget
for help.Use unzip to unzip the server that you download again man unzip for help.
I would also recommend running this as a separate user instead of just making
a directory.do the following:
adduser eco
su eco
cdYou must be root when you are doing this
This will add the a user called eco and then change to that new account
that you just created and then take you to the home directory for eco which
should be /home/ecoThe process of getting an eco server setup on Debian was really easy. I do have
30+ years though of running Linux. :)
-
Hey
I followed your tutorial but every time I start the server, it looks like it is starting, right until world gen:
It runs for between 40-80% (seems random) then suddenly writes "Killed" and it shuts down.Anyone know why?
-
@Swahgner said:
Hey
I followed your tutorial but every time I start the server, it looks like it is starting, right until world gen:
It runs for between 40-80% (seems random) then suddenly writes "Killed" and it shuts down.Anyone know why?
Well was there anything in the log files? Anything to go on? we need a lot more information other than
what was given if we want to troubleshoot this issue.What flavor of linux you running Debian, Redhat, Slackware etc.
Post your logs as well if there is anything in the logs.
Does it give you anything more than just "killed" on your screen any other error messages?
What version of the Eco server are you trying to run are you using the latest if not
I would recommend getting the latest version.What are the stats of the machine running your Linux OS? how much memory free hard drive space, CPU etc.
Thanks,
-
Ok a couple more tips on running and Eco server under Linux
so this is the script I use to start my server it is a simple and
dirty script I use to start my eco serverOnce you create it remember to chmod 700 start-server.sh
I call it start-server.sh
#/bin/sh
mono EcoServer.exe -nogui &I made a script to run to find the process ID to be able to kill the server
once you recreate this file remember to chmod 700 find-server.sh
I call this find-server.sh
#/bin/bash
ps -aef | grep -v grep | grep 'EcoServer.exe' | awk '{print $2}'That is all it is.. what it will do is print out the PID of the process for your EcoServer.exe
very short and dirty but it works well for me on Debian. If it doesn't return anything that means
the server is not running.Another issue I found was that how do you get access to the admin commands running the server on Linux
The first thing you need is your steam64id or slgid
To get the slgid go to https://ecoauth.strangeloopgames.com/home
And log into your account the slgid will be called your User ID: it will look something like this
slg666666I do not know how to get the steam id since I am not a steam user sorry.
Now I found a really good guide on how to setup your server so it
recognizes you as an admin the guide is athttps://pingperfect.com/phpbb/viewtopic.php?f=97&t=1467
you have to go into the Configs directory and edit the Users.eco file
go down to where it says Admins Now my config file looks something like this my ID
has been changed here in this exampleIf you have to add two people all you do is add a comma for example
"slg666666", "slg666667"
This is an example for Beta 7.2.5 that I am using
"Admins": {
"$id": "4",
"System.String": {
"$type": "System.Collections.Generic.List`1[[System.String, mscorlib]], m$
"$values": [
"slg666666"
]
}
},I hope that this helps everyone out
-
I had no idea anyone ever posted here, I'm sorry guys I just got on here to grab a screenshot of the old bugs. Anyways I don't often check this forum, Please reach out to me on the official Discord in the Linux discussion channel, I'm more then willing to help you and have even made tools to make it easier. Hope to see you there and just Mention me and i'll get back to you.
-
@AngelEpa Did you ever figure out how to get past your "Failed to start UDP client, LAN discovery may not be available." problem?
-
There is a problem. After leaving the putty console the server switches off. What should I do to make it work?
-
@Acheron
Run it in screen:
screen -AdmS eco mono /path-to-exe/EcoServer.exe -nogui.@kicker22004
I got another problem. In the first post it says mono version 5.4+ but atm mono only released 5.14?!
Can someone help me there?
Edit: Ah I get it. 0.4 is lower than 0.14. Even if that numbering is a bit odd.
Still I cant run a server.
It just quits at 100% without an error.
Running Debian Stretch.
-
Some quick notes from my experiences:
- If the terminal colors are terrible you can run it through
cat
to strip color. Unfortunately this also ruins formatting, but at least you can see all the text.
mono ./EcoServer.exe -nogui | cat
- For Nix/Nixos users, bring in mono and run it like this:
nix-shell -p mono58 mono ./EcoServer.exe -nogui
- If the terminal colors are terrible you can run it through
-
Hi,
Server Version 7.7.2 is crashing on startup.
I'am Running Ubuntu 14.04 LTS.
Any Known Bugs causing this?The Server Crashes on starting StorageManager. Sometimes it Kills/Blocks my Terminal.
mono -V
Mono JIT compiler version 5.16.0.147 (tarball Thu Sep 6 09:10:02 UTC 2018)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
Interpreter: yes
LLVM: yes(3.6.0svn-mono-/)
GC: sgen (concurrent by default)
-
@ViPeR83 said:
Hi,
Server Version 7.7.2 is crashing on startup.
I'am Running Ubuntu 14.04 LTS.
Any Known Bugs causing this?The Server Crashes on starting StorageManager. Sometimes it Kills/Blocks my Terminal.
mono -V
Mono JIT compiler version 5.16.0.147 (tarball Thu Sep 6 09:10:02 UTC 2018)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
Interpreter: yes
LLVM: yes(3.6.0svn-mono-/)
GC: sgen (concurrent by default)Ditto. Was looking to getting back into Eco with all the changes (haven't played since the beginning of the year) and it's not starting at all :(
-
Sorry you have to relize that I don't actually play Eco so hardly check this thread, you whould have more luck reaching me on the Official Eco discord in the Linux-Server-Discussion by pinging me (@kicker22004). I'm online right now if you have questions.
-
@mishugashu Please reach me on Discord.