• Welcome to AtomicTorch Studio Forums.
 

linux server 0.9.1 version error

Started by kyokei, July 29, 2014, 08:45:21 AM

kyokei

Hello :)

Trying to run the new experimental version and I get the follow error message after trying to create a new world:

Critical exception:
Exception System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime.Serialization, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.
   -------------------------stack-------------------------
  at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateObjectContract (System.Type objectType) [0x00000] in <filename unknown>:0
  at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateContract (System.Type objectType) [0x00000] in <filename unknown>:0
  at AtomicTorch.SpaceRPG.Server.Utils.JsonSerialization.CustomResolver.CreateContract (System.Type objectType) [0x00000] in <filename unknown>:0
  at Newtonsoft.Json.Serialization.DefaultContractResolver.ResolveContract (System.Type type) [0x00000] in <filename unknown>:0
  at AtomicTorch.SpaceRPG.Server.Utils.JsonSerialization.CustomResolver.ResolveContract (System.Type type) [0x00000] in <filename unknown>:0
  at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.GetContractSafe (System.Object value) [0x00000] in <filename unknown>:0
  at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize (Newtonsoft.Json.JsonWriter jsonWriter, System.Object value, System.Type objectType) [0x00000] in <filename unknown>:0
  at Newtonsoft.Json.JsonSerializer.SerializeInternal (Newtonsoft.Json.JsonWriter jsonWriter, System.Object value, System.Type objectType) [0x00000] in <filename unknown>:0
  at Newtonsoft.Json.JsonSerializer.Serialize (Newtonsoft.Json.JsonWriter jsonWriter, System.Object value, System.Type objectType) [0x00000] in <filename unknown>:0
  at Newtonsoft.Json.JsonConvert.SerializeObjectInternal (System.Object value, System.Type type, Newtonsoft.Json.JsonSerializer jsonSerializer) [0x00000] in <filename unknown>:0
  at Newtonsoft.Json.JsonConvert.SerializeObject (System.Object value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <filename unknown>:0
  at Newtonsoft.Json.JsonConvert.SerializeObject (System.Object value, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <filename unknown>:0
  at D6fg0Nx1DO5JVVGpaTD.I0o3Z6xn0j3PuNG7p0t.FuhEpIGjsL (UInt32  , System.String  , System.Action  , Boolean  ) [0x00000] in <filename unknown>:0
  at D6fg0Nx1DO5JVVGpaTD.I0o3Z6xn0j3PuNG7p0t.uRQEeCCrAt (System.Action  , Boolean  ) [0x00000] in <filename unknown>:0
  at EByoV8xoVJjsdnTkU0Q.mDe0xPxW2DCIchihY2U.A8XhN9GGEI (System.String  , System.Collections.Generic.Dictionary`2 cwArgs) [0x00000] in <filename unknown>:0
  at oM8gp3xkCvmT0hKsRPO.SrFbvSxPvedaduPKSFl.QuSUACXBQN (System.String  ) [0x00000] in <filename unknown>:0
  at oM8gp3xkCvmT0hKsRPO.SrFbvSxPvedaduPKSFl.NcIUCcNSFR (System.String[]  , System.Diagnostics.Process  ) [0x00000] in <filename unknown>:0
  at RolBi77tEWn8C73W4M.S06YP6DkKSaiQ5x9Gb.F3ZDDpwsc (System.String[]  ) [0x00000] in <filename unknown>:0


Link to the logs: http://junk.kunix.org/ve/logs297/Log_VoidExpanse_Server_2014-07-29_17-39.log (http://junk.kunix.org/ve/logs297/Log_VoidExpanse_Server_2014-07-29_17-39.log)

This happens when it finishes creating the world I think. There is also no world saved in the Mono folder.

A second thing I noticed in the linux version is that the windows server is also still present there.
A third thing is that the linux server takes the Settings file from the Server folder and not from the Mono folder, same goes for the ServerIcon.

In 0.9.0 I could host a server but the second and third point happened then also.

@Lurler, see it's good I switched to the experimental version ^_^

ai_enabled

#1
Hello, kyokey!
The game server running for us without any problems under Ubuntu 14 after installing mono-complete:
sudo apt-get install mono-complete
About Windows server in Linux build - we will remove it from Linux & Mac distribution in future versions. Currently everything inside the "Server" folder is same for the Windows, Linux & Mac builds.
Regards!

kyokei

Quote from: ai_enabled on July 29, 2014, 10:29:09 AM
Hello, kyokey!
The game server running for us without any problems under Ubuntu 14 after installing mono-complete:
sudo apt-get install mono-complete
About Windows server in Linux build - we will remove it from Linux & Mac distribution in future versions. Currently everything inside the "Server" folder is same for the Windows, Linux & Mac builds.
Regards!

That fixed it, I think I may have still had a borked mono version from when I was testing it with a newer mono version.
Thanks for the quick reply :)

Server is up again

kyokei

Hey AI,

I noticed that the server is now taking 1gb of ram instead of the normal 300-400mb... any idea if this is intended or if there is an issue somewhere?

ai_enabled

That's not intended. Please try to invoke debug_gc on server, if it helps it means we need to do garbage collection more often.