Setting up a ECO server on Ubuntu (other linux is probably very similar)



  • 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 server

    Once 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
    slg666666

    I 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 at

    https://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 example

    If 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


  • Dev Tier

    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
    


  • 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

    @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 :(


  • Dev Tier

    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.


  • Dev Tier

    @mishugashu Please reach me on Discord.