I'm using macOS 12.1 on an Apple Silicon Macbook Air, with mono 6.12.0.122 installed via the mono-mdk Homebrew cask.
After setting up my local MySQL instance and running mono Configure.exe, I try mono OpenSim.exe, which dies with the following error:
12:34:47 - [SERVER BASE]: Starting in /Users/*****/Downloads/diva-r09110/bin
12:34:47 - [SERVER BASE]: OpenSimulator version: OpenSim 0.9.1.1 Snail Release
12:34:47 - [SERVER BASE]: Operating system version: Unix 21.2.0.0, .NET platform Unix, 64-bit
Console log level is ALL
12:34:47 - [SERVER BASE]: Logging started to file /Users/*****/Downloads/diva-r09110/bin/OpenSim.log
12:34:47 - [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.Security.Authentication.AuthenticationException: Authentication failed, see inner exception. ---> Mono.Security.Interface.TlsException: Unknown Secure Transport error `PeerProtocolVersion'.
at Mono.AppleTls.AppleTlsContext.CheckStatusAndThrow (Mono.AppleTls.SslStatus status, Mono.AppleTls.SslStatus[] acceptable) [0x000dc] in <4f55bbf82f9b4c60960312888c59bd5c>:0
at Mono.AppleTls.AppleTlsContext.ProcessHandshake () [0x0002e] in <4f55bbf82f9b4c60960312888c59bd5c>:0
at Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake (Mono.Net.Security.AsyncOperationStatus status, System.Boolean renegotiate) [0x000da] in <4f55bbf82f9b4c60960312888c59bd5c>:0
at (wrapper remoting-invoke-with-check) Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake(Mono.Net.Security.AsyncOperationStatus,bool)
at Mono.Net.Security.AsyncHandshakeRequest.Run (Mono.Net.Security.AsyncOperationStatus status) [0x00006] in <4f55bbf82f9b4c60960312888c59bd5c>:0
at Mono.Net.Security.AsyncProtocolRequest.ProcessOperation (System.Threading.CancellationToken cancellationToken) [0x000fc] in <4f55bbf82f9b4c60960312888c59bd5c>:0
--- End of inner exception stack trace ---
at Mono.Net.Security.MobileAuthenticatedStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) [0x0004b] in <4f55bbf82f9b4c60960312888c59bd5c>:0
at (wrapper remoting-invoke-with-check) Mono.Net.Security.MobileAuthenticatedStream.AuthenticateAsClient(string,System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Security.Authentication.SslProtocols,bool)
at System.Net.Security.SslStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) [0x00006] in <4f55bbf82f9b4c60960312888c59bd5c>:0
at MySql.Data.MySqlClient.NativeDriver.StartSSL () [0x00035] in <0004ab8b375b422f9000ac25a68089d9>:0
at MySql.Data.MySqlClient.NativeDriver.Open () [0x002ce] in <0004ab8b375b422f9000ac25a68089d9>:0
at MySql.Data.MySqlClient.Driver.Open () [0x0000b] in <0004ab8b375b422f9000ac25a68089d9>:0
at MySql.Data.MySqlClient.Driver.Create (MySql.Data.MySqlClient.MySqlConnectionStringBuilder settings) [0x0004e] in <0004ab8b375b422f9000ac25a68089d9>:0
at MySql.Data.MySqlClient.MySqlPool.CreateNewPooledConnection () [0x00000] in <0004ab8b375b422f9000ac25a68089d9>:0
at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection () [0x0008a] in <0004ab8b375b422f9000ac25a68089d9>:0
at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver () [0x0003f] in <0004ab8b375b422f9000ac25a68089d9>:0
at MySql.Data.MySqlClient.MySqlPool.GetConnection () [0x0001c] in <0004ab8b375b422f9000ac25a68089d9>:0
at MySql.Data.MySqlClient.MySqlConnection.Open () [0x0016d] in <0004ab8b375b422f9000ac25a68089d9>:0
at OpenSim.Data.MySQL.MySQLSimulationData.Initialise (System.String connectionString) [0x00013] in <27efad4c747c4eecb395517826265b7a>:0
at OpenSim.Data.MySQL.MySQLSimulationData..ctor (System.String connectionString) [0x00011] in <27efad4c747c4eecb395517826265b7a>:0
at Diva.Data.MySQL.MySQLSimulationData..ctor (System.String connectionString) [0x00000] in <d86f85455d3a4dedacb5a11920977eda>: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 <36514b14425c4337b446653c547aa9c3>:0
--- End of inner exception stack trace ---
at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x0001a] in <36514b14425c4337b446653c547aa9c3>: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 <36514b14425c4337b446653c547aa9c3>:0
at System.Reflection.RuntimeConstructorInfo.Invoke (System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <36514b14425c4337b446653c547aa9c3>: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 <36514b14425c4337b446653c547aa9c3>: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 <36514b14425c4337b446653c547aa9c3>:0
at System.Activator.CreateInstance (System.Type type, System.Object[] args) [0x00000] in <36514b14425c4337b446653c547aa9c3>:0
at OpenSim.Services.Base.ServiceBase.LoadPlugin[T] (System.String dllName, System.String className, System.Object[] args) [0x00066] in <32f1c7f95106491b87564bed6c10d914>:0
12:34:47 - [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) [0x000ae] in <201ebf14b8dd4edc97ea127bd0986745>:0
at (wrapper managed-to-native) System.Reflection.RuntimeConstructorInfo.InternalInvoke(System.Reflection.RuntimeConstr
uctorInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00005] in <36514b14425c4337b446653c547aa9c3>:0
--- End of inner exception stack trace ---
at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x0001a] in <36514b14425c4337b446653c547aa9c3>: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 <36514b14425c4337b446653c547aa9c3>:0
at System.Reflection.RuntimeConstructorInfo.Invoke (System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <36514b14425c4337b446653c547aa9c3>: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 <36514b14425c4337b446653c547aa9c3>: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 <36514b14425c4337b446653c547aa9c3>:0
at System.Activator.CreateInstance (System.Type type, System.Object[] args) [0x00000] in <36514b14425c4337b446653c547aa9c3>:0
at OpenSim.Server.Base.ServerUtils.LoadPlugin[T] (System.String dllName, System.String className, System.Object[] args) [0x0007a] in <b819383d45084104ad05ff1adb589d28>:0
12:34:47 - [SERVER UTILS]: Error loading plugin OpenSim.Services.SimulationService.dll: Exception has been thrown by the target of an invocation. args.Length 1
12:34:47 - 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 <d6d9c039edc74c67929f86d6a9ca38e8>:0
at OpenSim.OpenSim.StartupSpecific () [0x000f6] in <d6d9c039edc74c67929f86d6a9ca38e8>:0
at OpenSim.Framework.Servers.BaseOpenSimServer.Startup () [0x00064] in <bb4dc510e62e44c9a8afcccbd887c17f>:0
Is this me lacking some Mono modules or needing to configure something additional?
I'm using macOS 12.1 on an Apple Silicon Macbook Air, with mono 6.12.0.122 installed via the mono-mdk Homebrew cask.
After setting up my local MySQL instance and running
mono Configure.exe
, I trymono OpenSim.exe
, which dies with the following error:Is this me lacking some Mono modules or needing to configure something additional?