Trying to run a linux server
Using the latest ubuntu server dist. I've installed mono-complete with "apt-get install mono-complete". It appears to have installed with no issues. Done all my security updates. Downloaded the server software from the account area. Then when I try to run the server using
"mono EcoServer.exe -nogui" I get.
wh33t@wh33tserv:~/eco-server$ mono EcoServer.exe -nogui
[25:13] Eco Server alpha 0.4.2
[25:13] Server init...
[25:13] Initializing ModKitPlugin...
[25:13] Mods recompiling...
[25:16] Mods recompiled without error.
[25:21] Initializing ModKitPlugin finished in 8,273.1ms
[25:22] Initializing Serialization...
[25:48] Initializing Serialization finished in 26,054.8ms
[25:48] Server init finished in 34,364.6ms
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: MaxDegreeOfParallelism
at Eco.Server.PluginManager..ctor () <0x40593bf0 + 0x0028b> in <filename unknown>:0
at Eco.Server.MainClass.Main (System.String args) <0x40587510 + 0x00293> in <filename unknown>:0
Any tips on where to go from here?
There is a bug right now when running on a machine with only one logical cpu - (not unique to linux)
It will be fixed in the next release
Thank you for replying.
So is there no manual fix I can put in right now?
If I go to a multi-logical-cpu (can you give me an example?) will it work?
Yes you need at least 2 logical cpus right now. There is a math error in the code (cpus / 2) which in integer math (1 / 2) = 0, hence the exception
Pretty sure I have a dual core cpu, but perhaps not. Thanks! I'll explore my options.