*needed to edit to give kudos for help*
Just wanted to say thank you to Kalamus and Insanity in the chat room to help get all the other errors resolved!
Code:
Server Crash Report
===================
RunUO Version 0.5, Build 5150.37444
Operating System: Unix 3.13.0.7
.NET Framework: 4.0.30319.17020
Time: 2/7/2014 2:52:57 AM
Mobiles: 0
Items: 2
Exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.IOException: Invalid handle to path "/var/ServUO/[Unknown]"
at System.IO.FileStream.ReadData (IntPtr handle, System.Byte[] buf, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0
at System.IO.FileStream.ReadInternal (System.Byte[] dest, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0
at System.IO.FileStream.Read (System.Byte[] array, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0
at System.IO.StreamReader.ReadBuffer () [0x00000] in <filename unknown>:0
at System.IO.StreamReader.Read () [0x00000] in <filename unknown>:0
at System.TermInfoDriver.ReadKeyInternal (System.Boolean& fresh) [0x00000] in <filename unknown>:0
at System.TermInfoDriver.ReadKey (Boolean intercept) [0x00000] in <filename unknown>:0
at System.ConsoleDriver.ReadKey (Boolean intercept) [0x00000] in <filename unknown>:0
at System.Console.ReadKey (Boolean intercept) [0x00000] in <filename unknown>:0
at Server.Misc.AccountPrompt.Initialize () [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0
at Server.ScriptCompiler.Invoke (System.String method) [0x00000] in <filename unknown>:0
at Server.Core.Main (System.String[] args) [0x00000] in <filename unknown>:0
Clients:
- Count: 0
Have you tried updating Mono package to 3.4? .. oh..linux Mint.. that would be Other according to Mono's homepage..and latest version for other is version 1.2 ..sure you got the right mono package installed?
I tried looking inside Main.cs (where the crash seems to originate from) but couldn't find anything conclusive regarding where exactly it fails... I tried tweaking a couple paths but that didn't do it. It's unfortunate that the crash doesn't report the exact line which failed, that would have narrowed it down a lot more...
from looking at the error..it looks like an IO exception..not reading a file correctly in your "var\Servuo\[Unknown]" folder..did you miss telling it what file to read from that folder in your path settings?
Yeah, and that's really odd, because I have no idea what exactly it's trying to open in that location. I have all my paths set correctly in Scripts/Misc/DataPath.cs and in Server/OpenUOSDK.cs, is there anything else I need to change to make it work?
possible a corrupt save file.. test this theory try .. backing up the save folder.. once backed up .. delete the folder and see if it loads without error
Umm I don't have a save file yet (there is no "Saves" folder), I'm unable to start the server in full even once so that it makes a save file... So, I don't have anything to delete there Not sure what else to do, I tried a few things but nothing actually helped.
Out of curiosity, was anyone able to successfully run ServUO in a Linux environment (and is currently happily running it), or is it basically not supported / not supposed to be possible at the moment? (judging by the presence of the Mono forum, I think it should be possible, but for the most part this forum contains messages about failed attempts to run ServUO with very few fully solved issues... )
I'm currently running ServUO from under a virtual machine with Windows inside it (works perfectly well from there), but I'd really love to make it work correctly from my main Linux environment if possible...
Once again, big thanks to everyone who is actively trying to help!
Yep, I was able to set up stock RunUO 2.5 under Linux/Mono without any issues whatsoever, seems to be working just great... not sure why ServUO doesn't want to play ball here... (but yes, there is a number of changes, such as Open UO SDK intergration etc., so I guess there may be complications...)
RunUO Version 0.5, Build 5607.32641
Operating System: Unix 10.0.18.0
.NET Framework: 4.0.30319.17020
Time: 05/09/2015 15:10:48
Mobiles: 0
Items: 3
Exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.IOException: Invalid handle to path "/usr/home/user/servuo/[Unknown]"
at System.IO.FileStream.ReadData (IntPtr handle, System.Byte[] buf, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0
at System.IO.FileStream.ReadInternal (System.Byte[] dest, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0
at System.IO.FileStream.Read (System.Byte[] array, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0
at System.IO.StreamReader.ReadBuffer () [0x00000] in <filename unknown>:0
at System.IO.StreamReader.Read () [0x00000] in <filename unknown>:0
at System.TermInfoDriver.ReadKeyInternal (System.Boolean& fresh) [0x00000] in <filename unknown>:0
at System.TermInfoDriver.ReadKey (Boolean intercept) [0x00000] in <filename unknown>:0
at System.ConsoleDriver.ReadKey (Boolean intercept) [0x00000] in <filename unknown>:0
at System.Console.ReadKey (Boolean intercept) [0x00000] in <filename unknown>:0
at Server.Misc.AccountPrompt.Initialize () [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0
at Server.ScriptCompiler.Invoke (System.String method) [0x00000] in <filename unknown>:0
at Server.Core.Main (System.String[] args) [0x00000] in <filename unknown>:0
RunUO Version 0.5, Build 5607.32641
Operating System: Unix 10.0.18.0
.NET Framework: 4.0.30319.17020
Time: 05/09/2015 15:11:00
Mobiles: 0
Items: 3
Exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.IOException: Invalid handle to path "/usr/home/user/servuo/[Unknown]"
at System.IO.FileStream.ReadData (IntPtr handle, System.Byte[] buf, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0
at System.IO.FileStream.ReadInternal (System.Byte[] dest, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0
at System.IO.FileStream.Read (System.Byte[] array, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0
at System.IO.StreamReader.ReadBuffer () [0x00000] in <filename unknown>:0
at System.IO.StreamReader.Read () [0x00000] in <filename unknown>:0
at System.TermInfoDriver.ReadKeyInternal (System.Boolean& fresh) [0x00000] in <filename unknown>:0
at System.TermInfoDriver.ReadKey (Boolean intercept) [0x00000] in <filename unknown>:0
at System.ConsoleDriver.ReadKey (Boolean intercept) [0x00000] in <filename unknown>:0
at System.Console.ReadKey (Boolean intercept) [0x00000] in <filename unknown>:0
at Server.Misc.AccountPrompt.Initialize () [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0
at Server.ScriptCompiler.Invoke (System.String method) [0x00000] in <filename unknown>:0
at Server.Core.Main (System.String[] args) [0x00000] in <filename unknown>:0
RunUO Version 0.5, Build 5607.32641
Operating System: Unix 10.0.18.0
.NET Framework: 4.0.30319.17020
Time: 05/09/2015 15:11:11
Mobiles: 0
Items: 3
Exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.IOException: Invalid handle to path "/usr/home/user/servuo/[Unknown]"
at System.IO.FileStream.ReadData (IntPtr handle, System.Byte[] buf, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0
at System.IO.FileStream.ReadInternal (System.Byte[] dest, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0
at System.IO.FileStream.Read (System.Byte[] array, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0
at System.IO.StreamReader.ReadBuffer () [0x00000] in <filename unknown>:0
at System.IO.StreamReader.Read () [0x00000] in <filename unknown>:0
at System.TermInfoDriver.ReadKeyInternal (System.Boolean& fresh) [0x00000] in <filename unknown>:0
at System.TermInfoDriver.ReadKey (Boolean intercept) [0x00000] in <filename unknown>:0
at System.ConsoleDriver.ReadKey (Boolean intercept) [0x00000] in <filename unknown>:0
at System.Console.ReadKey (Boolean intercept) [0x00000] in <filename unknown>:0
at Server.Misc.AccountPrompt.Initialize () [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0
at Server.ScriptCompiler.Invoke (System.String method) [0x00000] in <filename unknown>:0
at Server.Core.Main (System.String[] args) [0x00000] in <filename unknown>:0
Clients:
- Count: 0
[root@Z /home/user/servuo]# cat Guide.log
Could not find file "/usr/home/user/servuo/Data\Guide\Definitions.cfg".
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.File.OpenRead (System.String path) [0x00000] in <filename unknown>:0
at Server.Mobiles.GuideHelper.Initialize () [0x00000] in <filename unknown>:0
--------------------------------------------------------------------------
Could not find file "/usr/home/user/servuo/Data\Guide\Definitions.cfg".
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.File.OpenRead (System.String path) [0x00000] in <filename unknown>:0
at Server.Mobiles.GuideHelper.Initialize () [0x00000] in <filename unknown>:0
--------------------------------------------------------------------------
Could not find file "/usr/home/user/servuo/Data\Guide\Definitions.cfg".
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.File.OpenRead (System.String path) [0x00000] in <filename unknown>:0
at Server.Mobiles.GuideHelper.Initialize () [0x00000] in <filename unknown>:0
--------------------------------------------------------------------------
Could not find file "/usr/home/user/servuo/Data\Guide\Definitions.cfg".
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.File.OpenRead (System.String path) [0x00000] in <filename unknown>:0
at Server.Mobiles.GuideHelper.Initialize () [0x00000] in <filename unknown>:0
--------------------------------------------------------------------------
Could not find file "/usr/home/user/servuo/Data\Guide\Definitions.cfg".
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.File.OpenRead (System.String path) [0x00000] in <filename unknown>:0
at Server.Mobiles.GuideHelper.Initialize () [0x00000] in <filename unknown>:0
--------------------------------------------------------------------------