Author Topic: linux server 0.9.1 version error  (Read 2606 times)

kyokei

  • Sr. Member
  • ****
  • Posts: 475
    • View Profile
linux server 0.9.1 version error
« on: July 29, 2014, 08:45:21 am »
Hello :)

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

Code: [Select]
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

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

  • AtomicTorch Founder
  • Hero Member
  • *****
  • Posts: 1939
    • View Profile
Re: linux server 0.9.1 version error
« Reply #1 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:
Code: [Select]
sudo apt-get install mono-completeAbout 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!
« Last Edit: July 29, 2014, 10:32:34 am by ai_enabled »

kyokei

  • Sr. Member
  • ****
  • Posts: 475
    • View Profile
Re: linux server 0.9.1 version error
« Reply #2 on: July 29, 2014, 12:13:25 pm »
Hello, kyokey!
The game server running for us without any problems under Ubuntu 14 after installing mono-complete:
Code: [Select]
sudo apt-get install mono-completeAbout 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

  • Sr. Member
  • ****
  • Posts: 475
    • View Profile
Re: linux server 0.9.1 version error
« Reply #3 on: July 30, 2014, 10:13:08 am »
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

  • AtomicTorch Founder
  • Hero Member
  • *****
  • Posts: 1939
    • View Profile
Re: linux server 0.9.1 version error
« Reply #4 on: July 30, 2014, 05:58:39 pm »
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.