Author Topic: Server Crashing  (Read 1480 times)

Varacka

  • Newbie
  • *
  • Posts: 8
    • View Profile
Server Crashing
« on: January 24, 2016, 06:27:55 pm »
I am trying to start a dedicated server on Ubuntu Server. I've installed mono and got the server to run using the dedicated arg however when I try to do check or new it crashes without creating the seversettings xml file. THe following is the error that posts in the ssh console:

Edit: can't seem to attach log files so here is a copy paste in code:


Code: [Select]
[b]25.1.16 01:19:48.7260 [IMP] Log file opened. Time UTC offset is: 00:00:00
25.1.16 01:19:48.7317 [IMP] Console logging enabled
25.1.16 01:19:48.7723 [INF] VoidExpanse Game Server Runtime v1.6.4 (running on Unix)
AtomicTorch Studio (c) 2013-2015 | atomictorch.com
All rights reserved.
25.1.16 01:19:48.7727 [IMP] The server is now launched as the dedicated server. All server data will be loaded and processed in the current server folder.
25.1.16 01:19:48.7732 [IMP] Data folders locations:
   * Static data root path:  /
   * Dynamic data root path: /void/
   * Settings file location: /void/SettingsServer.xml
25.1.16 01:19:48.7736 [INF] Enter additional arguments line
("new" for new world, "load <Number>" to load world #<Number>, "check" to check mods)
25.1.16 01:19:52.1900 [IMP] Operations timed using the system's high-resolution performance counter.
  Timer is accurate within 100 nanoseconds
  Timer frequency in ticks per second = 10000000
25.1.16 01:19:52.2040 [IMP] Stopping server...
25.1.16 01:19:52.2046 [ERR] Critical exception

Exception System.IO.FileNotFoundException: Could not load file or assembly 'System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.
   -------------------------stack-------------------------
  at BbnB7iPQMevqersvD5.xUvVZgN2ZbFYM0p6Eh.CsBPt6qS0e (APgfxAG8pKyrGelbbJI.OfIPmiGYCufY6WBHItj  , Boolean  ) [0x00000] in <filename unknown>:0
  at BbnB7iPQMevqersvD5.xUvVZgN2ZbFYM0p6Eh.CTwgjh8Ot (System.String[]  , Boolean  , APgfxAG8pKyrGelbbJI.OfIPmiGYCufY6WBHItj  ) [0x00000] in <filename unknown>:0
  at AtomicTorch.SpaceRPG.Server.RuntimeWin.Program.Start (System.String[] args) [0x00000] in <filename unknown>:0
25.1.16 01:19:52.2047 [IMP] Press any key to exit
25.1.16 01:19:52.3390 [IMP] Log file closed
[/b]
« Last Edit: January 24, 2016, 06:31:03 pm by Varacka »

ai_enabled

  • AtomicTorch Founder
  • Hero Member
  • *****
  • Posts: 989
    • View Profile
Re: Server Crashing
« Reply #1 on: January 24, 2016, 07:03:30 pm »
Hello!
You need to install mono-complete - it includes all requires assemblies (such as System.Xml.Linq).
OR, you can run the server by using bundled Mono. Just execute
.\VoidExpanse.ServerMono.Bootstrapper.Bundle.Linux32
or
.\VoidExpanse.ServerMono.Bootstrapper.Bundle.Linux64
at the server folder. Add " --dedicated" argument if you want to run it as dedicated server (so config and logs will be stored inside the server folder).

Regards!

Varacka

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Server Crashing
« Reply #2 on: January 24, 2016, 08:23:23 pm »
Could have sworn I installed mono complete. Seems I didn't. I did now. Will see if it works.

Varacka

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Server Crashing
« Reply #3 on: January 24, 2016, 08:25:38 pm »
OK now I get:

Code: [Select]
25.1.16 03:24:21.8694 [ERR] MasterServerClient: SocketClient: Unhandled exception in LidgrenSocketClient processing cycle thread
check
25.1.16 03:24:21.1082 [IMP] Operations timed using the system's high-resolution performance counter.
  Timer is accurate within 100 nanoseconds
  Timer frequency in ticks per second = 10000000
25.1.16 03:24:21.1555 [IMP] The settings file loaded successfully
25.1.16 03:24:21.1685 [IMP] Current log severity: Important
25.1.16 03:24:21.2074 [IMP] Command binding completed successfully. Total bound commands count: 281.
25.1.16 03:24:21.6999 [IMP] Server icon size: 43230 bytes. Hash: ajuqn876pdtfk4n8xzsv1ivsyzqmu4gbe6z0npztxiu=
25.1.16 03:24:21.7005 [IMP] Starting network server...
25.1.16 03:24:21.8048 [IMP] MasterServerClient: SocketClient: Socket-client trying to connect to: 69.162.166.150:4003 (UDP)
Connecting timeout: 5s | Connection timeout: 25s
25.1.16 03:24:21.8057 [IMP] SocketServerUDP: Socket-server listening on 0.0.0.0:5000 (UDP)
Connection timeout: 60s | Maximum network connections (with extra slots): 128
25.1.16 03:24:21.8070 [IMP] Network server params: compression is disabled
25.1.16 03:24:21.8190 [IMP] Server FPS set to 40
Ship params update fps is 7, so it called every 5 frame(s)
Network physics updates to clients fps is 30, so it called every 1 frame(s)
25.1.16 03:24:21.8193 [IMP] Core folder: "/Core"
Mods folder (primary): "/Mods"
Mods folder (secondary): "/void/Mods"
25.1.16 03:24:21.8302 [IMP] Mods catalog initialzed. Available .CPK/.MPK-files:

25.1.16 03:24:21.8304 [IMP] Mods Config not located. Creating new one...
25.1.16 03:24:21.8306 [IMP] Stopping server...
25.1.16 03:24:21.8307 [IMP] MasterServerClient: SocketClient: Stop connecting as disconnect invoked.
25.1.16 03:24:21.8309 [IMP] MasterServerClient: Connection with Master Server closed successfully
25.1.16 03:24:21.8310 [IMP] SocketServerUDP: Socket-server stop listening
25.1.16 03:24:21.8312 [ERR] Critical exception

Exception System.Exception: There is no core mod available!
   -------------------------stack-------------------------
  at ev9KE2eib1LPVJUG3ij.HTjsibmzAxuTRasaPhq.WQp6RaAMwF (System.String  ) [0x00000] in <filename unknown>:0
  at ev9KE2eib1LPVJUG3ij.HTjsibmzAxuTRasaPhq.UX46tKJAIt (GameModType[]  , System.String  , AtomicTorch.GameEngine.Common.Mods.XmlModDescription&  , Boolean  ) [0x00000] in <filename unknown>:0
  at HPpohwkY9yFdyqK8fb.OtAXMQKmhS2NT8Mplw.WjbyBLbje (AtomicTorch.GameEngine.Common.Xml.XmlFilesProvider&  , eCluOukZScgDMJw27xR&  ) [0x00000] in <filename unknown>:0
  at BbnB7iPQMevqersvD5.xUvVZgN2ZbFYM0p6Eh.CTwgjh8Ot (System.String[]  , Boolean  , APgfxAG8pKyrGelbbJI.OfIPmiGYCufY6WBHItj  ) [0x00000] in <filename unknown>:0

ai_enabled

  • AtomicTorch Founder
  • Hero Member
  • *****
  • Posts: 989
    • View Profile
Re: Server Crashing
« Reply #4 on: January 24, 2016, 11:16:53 pm »
There are should be a "Core" folder (containing "CPK"-file) right in the game server folder, or in its parent folder. Please be sure you copy it from the game installation.

Varacka

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Server Crashing
« Reply #5 on: January 24, 2016, 11:35:47 pm »
Roger

Varacka

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Server Crashing
« Reply #6 on: January 24, 2016, 11:43:54 pm »
Ok that fixed it but running the stop command creates the following error after it finishes:

Code: [Select]
Exception System.NotSupportedException: Stream does not support writing
   -------------------------stack-------------------------
  at System.IO.FileStream.Write (System.Byte[] array, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0
  at System.IO.StreamWriter.FlushBytes () [0x00000] in <filename unknown>:0
  at System.IO.StreamWriter.FlushCore () [0x00000] in <filename unknown>:0
  at System.IO.StreamWriter.Write (System.String value) [0x00000] in <filename unknown>:0
  at System.IO.CStreamWriter.InternalWriteString (System.String val) [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.IO.CStreamWriter:InternalWriteString (string)
  at System.TermInfoDriver.WriteConsole (System.String str) [0x00000] in <filename unknown>:0
  at System.TermInfoDriver.set_ForegroundColor (ConsoleColor value) [0x00000] in <filename unknown>:0
  at System.ConsoleDriver.set_ForegroundColor (ConsoleColor value) [0x00000] in <filename unknown>:0
  at System.Console.set_ForegroundColor (ConsoleColor value) [0x00000] in <filename unknown>:0
  at Xf9txXeJ908tFj13fFr.TZ9UoweQkSkI9aanb6d.Dispose () [0x00000] in <filename unknown>:0
  at AtomicTorch.GameEngine.Common.Logging.BaseLogger.Finalize () [0x00000] in <filename unknown>:0

ai_enabled

  • AtomicTorch Founder
  • Hero Member
  • *****
  • Posts: 989
    • View Profile
Re: Server Crashing
« Reply #7 on: January 24, 2016, 11:48:02 pm »
Well this is nothing to worry about :-). The game wanted to write final message to console, but the console was closed before it. We will fix this later.

kyokei

  • Sr. Member
  • ****
  • Posts: 472
    • View Profile
Re: Server Crashing
« Reply #8 on: January 25, 2016, 09:13:12 am »
@Varacka, you can also use steamcmd to get it to download the files. You can also update the game this way.