Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with my Diva D2 sim server after update to Debian 12 #46

Open
RocketXs opened this issue Sep 28, 2023 · 0 comments
Open

Problem with my Diva D2 sim server after update to Debian 12 #46

RocketXs opened this issue Sep 28, 2023 · 0 comments

Comments

@RocketXs
Copy link

Hi

Recent I got my Diva Sim server updated from Debian 11 to Debian 12, and now i get this error when i try to start my sim.
Hope someone has an idea what goes wrong, as i lost all my valuable assets. it is running MariaDB.

22:17:31 - [SERVICE BASE]: Failed to load plugin OpenSim.Region.Framework.Interfaces.ISimulationDataStore from Diva.Data.MySQL.dll with args Data Source=localhost;Database=opensim;User ID=opensimuser;Password=*******;Old Guids=true;Allow Zero Datetime=true;System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidCastException: Object cannot be cast from DBNull to other types.
at System.DBNull.System.IConvertible.ToInt32 (System.IFormatProvider provider) [0x00000] in :0
at System.Convert.ToInt32 (System.Object value, System.IFormatProvider provider) [0x00003] in :0
at MySql.Data.MySqlClient.Driver.LoadCharacterSets (MySql.Data.MySqlClient.MySqlConnection connection) [0x00079] in <278c96de340e4912b3e3157e0b52741f>:0
at MySql.Data.MySqlClient.Driver.Configure (MySql.Data.MySqlClient.MySqlConnection connection) [0x00060] in <278c96de340e4912b3e3157e0b52741f>:0
at MySql.Data.MySqlClient.MySqlConnection.Open () [0x00199] in <278c96de340e4912b3e3157e0b52741f>:0
at OpenSim.Data.MySQL.MySQLSimulationData.Initialise (System.String connectionString) [0x00013] in :0
at OpenSim.Data.MySQL.MySQLSimulationData..ctor (System.String connectionString) [0x00011] in :0
at Diva.Data.MySQL.MySQLSimulationData..ctor (System.String connectionString) [0x00000] in <0479d3db6a9f45959ce06e7cf617e2f2>:0
at (wrapper managed-to-native) System.Reflection.RuntimeConstructorInfo.InternalInvoke(System.Reflection.RuntimeConstructorInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00005] in :0
--- End of inner exception stack trace ---
at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x0001a] in :0
at System.Reflection.RuntimeConstructorInfo.DoInvoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00086] in :0
at System.Reflection.RuntimeConstructorInfo.Invoke (System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0
at System.RuntimeType.CreateInstanceImpl (System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes, System.Threading.StackCrawlMark& stackMark) [0x0022b] in :0
at System.Activator.CreateInstance (System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes) [0x0009c] in :0
at System.Activator.CreateInstance (System.Type type, System.Object[] args) [0x00000] in :0
at OpenSim.Services.Base.ServiceBase.LoadPlugin[T] (System.String dllName, System.String className, System.Object[] args) [0x00066] in :0

22:17:31 - [SERVER UTILS]: Error loading plugin OpenSim.Region.Framework.Interfaces.ISimulationDataService from OpenSim.Services.SimulationService.dll. Exception: Could not find a storage interface in the given moduleSystem.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Exception: Could not find a storage interface in the given module
at OpenSim.Services.SimulationService.SimulationDataService..ctor (Nini.Config.IConfigSource config) [0x000a9] in <3317f08d4fec477abc16430a6aebbc0b>:0
at (wrapper managed-to-native) System.Reflection.RuntimeConstructorInfo.InternalInvoke(System.Reflection.RuntimeConstructorInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00005] in :0
--- End of inner exception stack trace ---
at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x0001a] in :0
at System.Reflection.RuntimeConstructorInfo.DoInvoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00086] in :0
at System.Reflection.RuntimeConstructorInfo.Invoke (System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0
at System.RuntimeType.CreateInstanceImpl (System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes, System.Threading.StackCrawlMark& stackMark) [0x0022b] in :0
at System.Activator.CreateInstance (System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes) [0x0009c] in :0
at System.Activator.CreateInstance (System.Type type, System.Object[] args) [0x00000] in :0
at OpenSim.Server.Base.ServerUtils.LoadPlugin[T] (System.String dllName, System.String className, System.Object[] args) [0x0007a] in <6d9398d4d18c4b119a161e258c541bdc>:0

22:17:31 - [SERVER UTILS]: Error loading plugin OpenSim.Services.SimulationService.dll: Exception has been thrown by the target of an invocation. args.Length 1
22:17:31 - Fatal error: System.Exception: Could not load an ISimulationDataService implementation from OpenSim.Services.SimulationService.dll:SimulationDataService, as configured in the LocalServiceModule parameter of the [SimulationDataStore]: config section.
at OpenSim.OpenSimBase.StartupSpecific () [0x0019d] in <87d7025034374433bb5eeb822de76486>:0
at OpenSim.OpenSim.StartupSpecific () [0x000f6] in <87d7025034374433bb5eeb822de76486>:0
at OpenSim.Framework.Servers.BaseOpenSimServer.Startup () [0x00099] in <1ead9982144a4837a84013815dcfc818>:0

Best Regards
Xs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant