diva / d2

Diva Distro
71 stars 20 forks source link

Clean Install r25909 Won't Load #33

Closed Araminta closed 9 years ago

Araminta commented 9 years ago

I downloaded and installed diva-r25909, but could not get it to load. I then worked my way back through the distributions from newest to oldest (doing clean install/new database each time) until I found one that would.

I was finally able to get diva-r23797 to install, then ran the update which installed r25909. Everything seems to be working, however I'm experiencing some odd issues with WiFi (I can't see or edit groups, and I can't create a user (which doesn't matter too much to me, personally, as I only need one). Also, my profile doesn't work when I HG, and I get errors stating "unable to fetch profile data at this time" (again, not a big issue for me, personally). My main region is at (8066,8066 on port 9000, and I created a second region (4066,4066) on port 9001, but cannot get to the second region from my own grid or from the HG. It always places me at the primary region. I was able to get there once, but I received an error stating something to the effect of illegal coordinates, and it flickered (like a sim crossing) and was trying to put me at 128, 128, <-2300>

I can't imagine what I may have done incorrectly, as I've gone over everything multiple times to make sure I didn't make any typos -- and I haven't modified anything from the initial installation. I just reinstalled r25909 (from scratch) again before posting here, and I'm getting the same error as each other time (below). Why is this working in the 0.7.6 + upgrade, and not the clean install of the 0.8.1 post-fix? It's driving me mad!

I'm running Windows 7 32bit SP1, 2gb of RAM, .NET version 4.5.2. There is nothing else running on the computer that hosts the opensim installation. The MySQL database is located on my NAS which is on my optional network and port 3306 is open between the Windows machine and the NAS (version r23797 works just fine), and all necessary ports are open on the router/firebox to the Windows 7 machine running the simulator. Do I need to downgrade my .NET version - from the error below, it seems to indicate that may be the source of the problem, but I'm unsure.

Any information would be much appreciated as I'm pulling out my hair. Actually, I'm more frustrated that I'm unable to figure it out myself. :(

2015-04-20 23:26:37,431 INFO - OpenSim.Application [OPENSIM MAIN]: configured log4net using default OpenSim.exe.config 2015-04-20 23:26:37,446 INFO - OpenSim.Application [OPENSIM MAIN]: System Locale is en-US 2015-04-20 23:26:37,446 INFO - OpenSim.Application [OPENSIM MAIN]: Environment variable MONO_THREADS_PER_CPU is unset 2015-04-20 23:26:37,446 INFO - OpenSim.Application [OPENSIM MAIN]: Runtime gave us 4 min worker threads and 4 min IOCP threads 2015-04-20 23:26:37,446 INFO - OpenSim.Application [OPENSIM MAIN]: Runtime gave us 1023 max worker threads and 1000 max IOCP threads 2015-04-20 23:26:37,446 INFO - OpenSim.Application [OPENSIM MAIN]: Limiting max worker threads to 1000 2015-04-20 23:26:37,446 INFO - OpenSim.Application [OPENSIM MAIN]: Threadpool set to 1000 max worker threads and 1000 max IOCP threads 2015-04-20 23:26:37,462 INFO - OpenSim.Application [OPENSIM MAIN]: Environment is supported by OpenSimulator. 2015-04-20 23:26:37,477 INFO - OpenSim.ConfigurationLoader [CONFIG]: Reading configuration settings 2015-04-20 23:26:37,477 INFO - OpenSim.ConfigurationLoader [CONFIG]: Reading configuration file C:\Users\useraccount\diva-r25909-clean\bin\OpenSimDefaults.ini 2015-04-20 23:26:37,493 INFO - OpenSim.ConfigurationLoader [CONFIG]: Reading configuration file C:\Users\useraccount\diva-r25909-clean\bin\OpenSim.ini 2015-04-20 23:26:37,493 INFO - OpenSim.ConfigurationLoader [CONFIG]: Reading configuration file C:\Users\useraccount\diva-r25909-clean\bin\config-include\DivaPreferences.ini 2015-04-20 23:26:37,493 INFO - OpenSim.ConfigurationLoader [CONFIG]: Reading configuration file C:\Users\useraccount\diva-r25909-clean\bin\config-include\MyWorld.ini 2015-04-20 23:26:37,493 INFO - OpenSim.ConfigurationLoader [CONFIG]: Loading environment variables for Config 2015-04-20 23:26:37,493 INFO - OpenSim.OpenSim [OPENSIM MAIN]: Using async_call_method UnsafeQueueUserWorkItem 2015-04-20 23:26:37,509 INFO - OpenSim.OpenSim ==================================================================== 2015-04-20 23:26:37,509 INFO - OpenSim.OpenSim ========================= STARTING OPENSIM ========================= 2015-04-20 23:26:37,509 INFO - OpenSim.OpenSim ==================================================================== 2015-04-20 23:26:37,524 INFO - OpenSim.Framework.Console.LocalConsole [LOCAL CONSOLE]: Persistent command line history is Enabled, up to 100 lines from file C:\Users\useraccount\diva-r25909-clean\bin\OpenSimConsoleHistory.txt 2015-04-20 23:26:37,524 INFO - OpenSim.Framework.Console.LocalConsole [LOCAL CONSOLE]: Read 100 lines of command line history from file C:\Users\useraccount\diva-r25909-clean\bin\OpenSimConsoleHistory.txt 2015-04-20 23:26:37,524 INFO - OpenSim.Framework.Servers.ServerBase [SERVER BASE]: Starting in C:\Users\useraccount\diva-r25909-clean\bin 2015-04-20 23:26:37,524 INFO - OpenSim.Framework.Servers.ServerBase [SERVER BASE]: OpenSimulator version: OpenSim 0.8.1.0 Post_Fixes
2015-04-20 23:26:37,524 INFO - OpenSim.Framework.Servers.ServerBase [SERVER BASE]: Operating system version: Microsoft Windows NT 6.1.7601 Service Pack 1, .NET platform Win32NT, 32-bit 2015-04-20 23:26:37,540 INFO - OpenSim.Framework.Servers.ServerBase [SERVER BASE]: Logging started to file C:\Users\useraccount\diva-r25909-clean\bin\OpenSim.log 2015-04-20 23:26:37,555 ERROR - OpenSim.Server.Base.ServerUtils [SERVER UTILS]: Error loading plugin from OpenSim.Services.SimulationService.dll System.IO.FileLoadException: Could not load file or assembly 'file:///C:\Users\useraccount\diva-r25909-clean\bin\OpenSim.Services.SimulationService.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) File name: 'file:///C:\Users\useraccount\diva-r25909-clean\bin\OpenSim.Services.SimulationService.dll' ---> System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information. at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark) at System.Reflection.Assembly.LoadFrom(String assemblyFile) at OpenSim.Server.Base.ServerUtils.LoadPlugin[T](String dllName, String className, Object[] args)

2015-04-20 23:26:37,602 ERROR - OpenSim.Application [APPLICATION]: APPLICATION EXCEPTION DETECTED: System.UnhandledExceptionEventArgs

Exception: 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() at OpenSim.OpenSim.StartupSpecific() at OpenSim.Framework.Servers.BaseOpenSimServer.Startup() at OpenSim.Application.Main(String[] args)

Application is terminating: True

Araminta commented 9 years ago

Nevermind. I just fixed it! I was looking in the wrong darn file.

In Opensim.exe.config, all I had to do was add the following in the runtime section.

loadFromRemoteSources enabled="true"

Maybe this will help someone else?

olbrew commented 7 years ago

Maybe this will help someone else?

It sure did, thank you!

@diva this behaviour is still available in the last release. I can't directly find where it comes from so I'm not able to create a pull request. In any case it seems fixed in the official OpenSim repo since some time, see: https://github.com/opensim/opensim/commit/bd5c414618ef7fb02e3e62172c8f2bf7d7964cbf