[Opensim-users] Region not part of an estate

Justin Clark-Casey jjustincc at googlemail.com
Mon Nov 21 22:08:26 UTC 2011


Yes, the problem might be in the addresses in your OpenSim.ini file.  Somehow the URI is malformed.

In commit b89c4ab in git master I improved the errors to give better feedback (i.e. to say exactly what URI is failing).

On 20/11/11 14:42, Wayne wrote:
> OK.  Finally got opensim to ask the question: "Would you like to create a new Estate".
> I uninstalled MySql, deleted the MYSql folder and all db files then reinstalled. Then I realized I was skipping a step -
> I was never granting permissions to localhost at opensim <mailto:localhost at opensim>. After doing that, the server loaded.
> (but soon crashed)
> Now the new problem:
> opensim server starts, loads regions and everything looks fine until 5 seconds later when the following appears and
> opensim crashes:
> 2011-11-19 21:11:56,557 ERROR - OpenSim.Application [APPLICATION]:
> APPLICATION EXCEPTION DETECTED: System.UnhandledExceptionEventArgs
> Exception: System.UriFormatException: Invalid URI: The hostname could not be parsed.
> Server stack trace:
>     at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
>     at System.Uri..ctor(String uriString)
>     at System.Net.WebRequest.Create(String requestUriString)
>     at OpenSim.Services.Connectors.NeighbourServicesConnector.DoHelloNeighbourCall(GridRegion region, RegionInfo
> thisRegion) in d:\OSGRID\OSGRID 0.7
> RELEASES\opensim-ff36a1b\OpenSim\Services\Connectors\Neighbour\NeighbourServiceConnector.cs:line 92
>     at OpenSim.Services.Connectors.NeighbourServicesConnector.HelloNeighbour(UInt64 regionHandle, RegionInfo thisRegion)
> in d:\OSGRID\OSGRID 0.7 RELEASES\opensim-ff36a1b\OpenSim\Services\Connectors\Neighbour\NeighbourServiceConnector.cs:line 78
>     at OpenSim.Region.CoreModules.ServiceConnectorsOut.Neighbour.RemoteNeighbourServicesConnector.HelloNeighbour(UInt64
> regionHandle, RegionInfo thisRegion) in d:\OSGRID\OSGRID 0.7
> RELEASES\opensim-ff36a1b\OpenSim\Region\CoreModules\ServiceConnectorsOut\Neighbour\RemoteNeighourServiceConnector.cs:line 150
>     at OpenSim.Region.Framework.Scenes.SceneCommunicationService.InformNeighboursThatRegionIsUpAsync(INeighbourService
> neighbourService, RegionInfo region, UInt64 regionhandle) in d:\OSGRID\OSGRID 0.7
> RELEASES\opensim-ff36a1b\OpenSim\Region\Framework\Scenes\SceneCommunicationService.cs:line 161
>     at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object
> server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
>     at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args,
> Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
>     at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
> Exception rethrown at [0]:
>     at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
>     at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
>     at
> OpenSim.Region.Framework.Scenes.SceneCommunicationService.InformNeighbourThatRegionUpDelegate.EndInvoke(IAsyncResult result)
>     at OpenSim.Region.Framework.Scenes.SceneCommunicationService.InformNeighborsThatRegionisUpCompleted(IAsyncResult
> iar) in d:\OSGRID\OSGRID 0.7 RELEASES\opensim-ff36a1b\OpenSim\Region\Framework\Scenes\SceneCommunicationService.cs:line 146
>     at System.Runtime.Remoting.Messaging.AsyncResult.SyncProcessMessage(IMessage msg)
>     at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
>     at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.DoAsyncCall()
>     at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.ThreadPoolCallBack(Object o)
>     at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)
>     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
>     at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
>     at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)
> Application is terminating: True
> Any ideas?
> Thanks,
> Wayne
>
>
> On Wed, Nov 16, 2011 at 5:50 PM, Justin Clark-Casey <jjustincc at googlemail.com <mailto:jjustincc at googlemail.com>> wrote:
>
>     At this stage it starts to sound more like a config issue than anything else.
>
>     Are you using an old config or adapting one from the release?  If you are using an old config I recommend you try
>     starting from fresh .example files - reusing old configs is known to cause problems in some situations.
>
>
>     On 16/11/11 19:29, Wayne wrote:
>
>         Thank you Fleep and Gwyn for your time in helping me out.
>         To date, I've tried everything short of reformatting the hard drive - nothing seems to work. When I start the
>         simulator,
>         it totally skips the message to create an estate. Then, if I try to create a region, it crashes saying that the
>         region
>         does not belong to an estate. A very frustrating "catch 22" experience.
>         If I get a solution, I will be sure to post for others who may run into this in the future.
>         Wayne
>
>
>         On Wed, Nov 16, 2011 at 7:04 AM, Gwyneth Llewelyn <gwyneth.llewelyn at __gwynethllewelyn.net
>         <mailto:gwyneth.llewelyn at gwynethllewelyn.net>
>         <mailto:gwyneth.llewelyn at __gwynethllewelyn.net <mailto:gwyneth.llewelyn at gwynethllewelyn.net>>> wrote:
>
>             Dear Wayne,
>
>             I get this error when launching a home-based region to connect with a server-based grid. The home-based
>         region is
>             connecting to an external MySQL database, and I get this error sometimes.
>
>             Why? Apparently what happens is that DynDNS is sometimes slow in updating the IP address for my home connection.
>             When that happens, the MySQL database, which is configured to accept connections from a very limited number of
>             hosts, will reject the connection. I get this "Region XXX is not part of an estate" when that happens: the
>             regions.ini file gets launched, but the first connection call to MySQL is to check if that region is part of an
>             Estate, and when that request fails, OpenSim crashes.
>
>             I'm not sure if that's the same problem you have, but it could jusy be related to that: your OpenSim is not
>         being
>             able to connect to the database. Check the login, the password, the database name, and if your IP address is
>         allowed
>             to connect to MySQL (even if everything is run locally on your machine, it still requires permission to
>         connect to
>         "localhost").
>
>             - Gwyn
>
>             On 2011/11/15, at 13:34, Wayne wrote:
>
>                 Hello Everyone,
>                 I recently fired up opensim again after being shutdown for a move to another state. The problem I'm
>             having is that
>                 each time I try to create a new region or load the regions from my regions.ini file, opensim crashes
>             with the
>                 message: "Region .... is not part of an estate."
>                 How can I reset this process or get my set-up back in sync?
>                 I've tried deleting MySql DB's and recreating but somewhere it is holding on to an existing estate and
>             never gives
>                 me the option to create a new estate.
>                 Thanks for the help.
>                 Wayne
>                 _________________________________________________
>                 Opensim-users mailing list
>             Opensim-users at lists.berlios.de <mailto:Opensim-users at lists.berlios.de>
>             <mailto:Opensim-users at lists.__berlios.de <mailto:Opensim-users at lists.berlios.de>>
>             https://lists.berlios.de/__mailman/listinfo/opensim-users
>             <https://lists.berlios.de/mailman/listinfo/opensim-users>
>
>
>             --
>
>         "I'm not building a game. I'm building a new country."
>
>             -- Philip "Linden" Rosedale, interview to Wired, 2004-05-08
>
>
>
>
>             _________________________________________________
>             Opensim-users mailing list
>         Opensim-users at lists.berlios.de <mailto:Opensim-users at lists.berlios.de> <mailto:Opensim-users at lists.__berlios.de
>         <mailto:Opensim-users at lists.berlios.de>>
>         https://lists.berlios.de/__mailman/listinfo/opensim-users <https://lists.berlios.de/mailman/listinfo/opensim-users>
>
>
>
>
>
>         _________________________________________________
>         Opensim-users mailing list
>         Opensim-users at lists.berlios.de <mailto:Opensim-users at lists.berlios.de>
>         https://lists.berlios.de/__mailman/listinfo/opensim-users <https://lists.berlios.de/mailman/listinfo/opensim-users>
>
>
>
>     --
>     Justin Clark-Casey (justincc)
>     http://justincc.org/blog
>     http://twitter.com/justincc
>
>     _________________________________________________
>     Opensim-users mailing list
>     Opensim-users at lists.berlios.de <mailto:Opensim-users at lists.berlios.de>
>     https://lists.berlios.de/__mailman/listinfo/opensim-users <https://lists.berlios.de/mailman/listinfo/opensim-users>
>
>
>
>
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users


-- 
Justin Clark-Casey (justincc)
http://justincc.org/blog
http://twitter.com/justincc



More information about the Opensim-users mailing list