[Opensim-users] Error converting from StandAlone to Grid mode

Aaron aaron at stopcommonsense.org
Sat Sep 18 21:40:49 UTC 2010


Hello everyone.

My apologies for such a lengthy email. I've been working with the folks
in the IRC channel but we can't seem to figure out what is going on.
I've had a working configuration in StandAlone mode on my external
(hosted in a data center) server. Our developer wants to mimic the
production server as close as possible which is in Grid mode. Therefore,
I followed the instructions on the wiki (configuration section) for
Grid-mode. This is all on opensim 0.7.0.2.

Here is the issue. When using Hippo Viewer (or any other) I cannot log
in. Well, that's not necessarily true. I can log in, but I can't
authenticate to the region. I am running the two processes Robust.exe
and OpenSim.exe on this server. When logging in I receive the following
error on the console (and log) for Robust:

[GRID USER SERVICE]: User f6dedbac-4695-4be8-ad75-50dcf3f657d7 is online
[LLOGIN SERVICE]: FindDestination for start location last
[GRID SERVICE]: Fallback returned 0 regions
[PRESENCE SERVICE]: Session bef9d87e-becd-4e4d-8435-6184d1cae69d logout
[LLOGIN SERVICE]: Login failed, reason: cannot contact remote region

The error Hippo View spits out is: 
Login failed. Error connecting to grid. Unable to authorize your session
into the region. 

I've tested this configuration with a new database (mysql) and it still
throws the same errors. I have also tried setting the "Start location"
in Hippo Viewer to Home, last location and just typing in the Region's
name. All result in the same error.

On the remote server I have IPTables turned off. On the firewall in
front of that server I have ALL UDP ports open and forwarding to the
server and TCP ports 9000, 9001, 8002, 8003 also forwarding to the
server.

Below are snippets of the pertinent parts of my ini files. If other
sections are necessary, I would be happy to post here or pastebin. I'm
pretty much at a loss here as to what I'm doing wrong. Any help would be
greatly appreciated!

Regards,
Aaron

### Regions.ini ###

        [REGION_NAME1]
        RegionUUID = 94142350-72bd-4741-aa08-a1da63418663
        Location = 1000,1000
        InternalAddress = 0.0.0.0
        InternalPort = 9000
        AllowAlternatePorts = False
        ExternalHostName = [EXTERNAL_IP]
         
        [REGION_NAME2]
        RegionUUID = 4b17f84d-2c12-497a-9344-7beef0cd66d2
        Location = 1000,1001
        InternalAddress = 0.0.0.0
        InternalPort = 9001
        AllowAlternatePorts = False
        ExternalHostName = [EXTERNAL_IP]
        
### Robust.ini ###

[Startup]
ServiceConnectors =
"8003/OpenSim.Server.Handlers.dll:AssetServiceConnector,8003/OpenSim.Server.Handlers.dll:XInventoryInConnector,8002/OpenSim.Server.Handlers.dll:FreeswitchServerConnector,8003/OpenSim.Server.Handlers.dll:GridServiceConnector,8002/OpenSim.Server.Handlers.dll:GridInfoServerInConnector,8003/OpenSim.Server.Handlers.dll:AuthenticationServiceConnector,8002/OpenSim.Server.Handlers.dll:OpenIdServerConnector,8003/OpenSim.Server.Handlers.dll:AvatarServiceConnector,8002/OpenSim.Server.Handlers.dll:LLLoginServiceInConnector,8003/OpenSim.Server.Handlers.dll:PresenceServiceConnector,8003/OpenSim.Server.Handlers.dll:UserAccountServiceConnector,8003/OpenSim.Server.Handlers.dll:GridUserServiceConnector,8003/OpenSim.Server.Handlers.dll:FriendsServiceConnector"
 
; * This is common for all services, it's the network setup for the
entire
; * server instance, if none if specified above
; *
[Network]
    port = 8003
...
...
...
[DatabaseService]
    StorageProvider = "OpenSim.Data.MySQL.dll"
    ConnectionString = "Data Source=localhost;Database=[DATABASE];User
ID=[USER];Password=[SUPER_SECRET];"

[Everything else is all set as the file came in the download]

### OpenSim.ini ###


    ; ## PRIM STORAGE
    ; ##
 
    ;storage_plugin = "OpenSim.Data.SQLite.dll"
    ;storage_plugin = "OpenSim.Data.SQLiteLegacy.dll"
    ;storage_connection_string="URI=file:OpenSim.db,version=3";
 
     storage_plugin="OpenSim.Data.MySQL.dll"
     storage_connection_string="Data
Source=localhost;Database=[DATABASE];User
ID=[USER];Password=[SUPER_SECRET];"

...
...
...


[GridService]
    ;; default standalone, overridable in StandaloneCommon.ini
    StorageProvider = "OpenSim.Data.Null.dll:NullRegionData"
 

  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ;; The following is the configuration section for the new style
services

  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[Architecture]
    ; Choose exactly one and only one of the architectures below.
 
    ;Include-Standalone    = "config-include/Standalone.ini"
    ;Include-HGStandalone = "config-include/StandaloneHypergrid.ini"
    Include-Grid         = "config-include/Grid.ini"
    ;Include-HGGrid       = "config-include/GridHypergrid.ini"
    ;Include-SimianGrid   = "config-include/SimianGrid.ini"

[Everything else is all set as the file came in the download]

### GridCommon.ini ###


        [AssetService]
         
            DefaultAssetLoader =
        "OpenSim.Framework.AssetLoader.Filesystem.dll"
            AssetLoaderArgs = "assets/AssetSets.xml"
         
            ;
            ; change this to your grid-wide asset server
            ;
            AssetServerURI = "http://[MY_VALID_INTERNAL_IP]:8003"
         
        [InventoryService]
            ;
            ; change this to your grid-wide inventory server
            ;
            InventoryServerURI = "http://[MY_VALID_INTERNAL_IP]:8003"
         
        [GridService]
            ;
            ; change this to your grid-wide grid server
            ;
            GridServerURI = "http://[MY_VALID_INTERNAL_IP]:8003"
            ;AllowHypergridMapSearch = true
         
        [AvatarService]
            ;
            ; change this to your grid-wide grid server
            ;
            AvatarServerURI = "http://[MY_VALID_INTERNAL_IP]:8003"
         
        [PresenceService]
            ;
            ; change this to your grid-wide presence server
            ;
            PresenceServerURI = "http://[MY_VALID_INTERNAL_IP]:8003"
         
        [UserAccountService]
            ;
            ; change this to your grid-wide user accounts server
            ;
            UserAccountServerURI = "http://[MY_VALID_INTERNAL_IP]:8003"
         
        [GridUserService]
            ;
            ; change this to your grid-wide user accounts server
            ;
            GridUserServerURI = "http://[MY_VALID_INTERNAL_IP]:8003"
         
        [AuthenticationService]
            ;
            ; change this to your grid-wide authentication server
            ;
            AuthenticationServerURI =
        "http://[MY_VALID_INTERNAL_IP]:8003"
         
        [FriendsService]
            ;
            ; change this to your grid-wide friends server
            ;
            FriendsServerURI = "http://[MY_VALID_INTERNAL_IP]:8003"
         
        [Modules]
            ;; Choose 0 or 1 cache modules, and the corresponding config
        file, if it exists.
            ;; Copy the config .example file into your own .ini file and
        change configs there
                
            AssetCaching = "FlotsamAssetCache"
            Include-FlotsamCache = "config-include/FlotsamCache.ini"
         
            ;AssetCaching = "CenomeMemoryAssetCache"
            ;Include-CenomeCache = "config-include/CenomeCache.ini"
            
            ;AssetCaching = "GlynnTuckerAssetCache"
         
            ;; Optionally, the port for the LLProxyLoginModule module
        can be changed
            
            ;Setup_LLProxyLoginModule = "9090/"





More information about the Opensim-users mailing list