QuillLittlefeather / openmetaverse

Automatically exported from code.google.com/p/openmetaverse
0 stars 0 forks source link

My attempt at getting omfOS to run/work. #72

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
First, I minimally configured it to replace an existing region in my grid, 
using the supplied OpenSimDefaults.ini and a copy of 
OpenSim-ExampleSimianGrid.ini renamed to OpenSim.ini.

It wouldn't start, crashing almost immediately.

This was ultimately resolved by replacing SmartThreadPoolMono.dll with a new 
one from jhurliman. I understand the changes to it have now been commited to 
the distro. This allowed the simulator to run to a prompt. Progress!

There was much spewage though. jhurliman noted that it was pulling in sqlite 
ConnectionString information, even though I'd commented that out in my 
OpenSim.ini and uncommented and configured the mysql lines. It also complained 
that the GroupsServerURI string wasn't set.

I discovered that there were many service descriptions in OpenSimDefaults.ini 
and that they all had uncommented sqlite ConnectionString settings. I commented 
out all of those ConnectionString lines.

Now it started up with far fewer errors. More Progress! :)

I noticed it performed database migrations, not all of which succeeded. I 
realized that even though I had it configured for SimianGrid, part of it still 
thought it was configured for ROBUST and so it created most of the ROBUST 
tables in my database.

I remembered that coreOS had dropped all the [Architecture] stuff from their 
OpenSimDefaults.ini, because it couldn't be overridden in OpenSim.ini. I looked 
at the one for this distro and, sure enough, all of that was in it's defaults 
file. Virtually all of that stuff was for configurations other than grid mode. 
So, the surgery began.

First, I diffed the deaults file with the one from coreOS and deleted anything 
not in coreOS's defaults file. Then, I made my own new OpenSim.ini, that 
contained a merged version of the FlotsamCache.ini, GridCommon.ini and 
SimianGrid.ini files from coreOS, edited for my grid (and I added the 
GroupsServerURI setting to it, that was missing).

Now the simulator starts fine and only one error is reported before getting to 
a prompt:

ERROR - OpenSim.Region.Framework.Scenes.Scene [SCENE]: Could not find presence 
for agent 1a30b909-f87d-431e-a3c6-b40565321426 crossing into scene s01

Additionally, I'm unable to login directly to the region or to TP to it, 
in-world.

That's where I left it. I've attached my OpenSimDefaults.ini and OpenSim.ini 
files.

Original issue reported on code.google.com by sterick...@gmail.com on 20 Sep 2010 at 7:50

Attachments:

GoogleCodeExporter commented 9 years ago
There were two reasons for the surgery to the defaults file:

1) what I cut out couldn't be overridden by OpenSim.ini
2) what I cut out was forcing SQLite and ROBUST

Original comment by sterick...@gmail.com on 20 Sep 2010 at 7:57

GoogleCodeExporter commented 9 years ago
in retrospect this would have been better suited as a wiki page....

Original comment by jonaf...@gmail.com on 17 Oct 2010 at 7:22