[Opensim-users] Problem with Port not being found

Ursula MATOVA ursula.matova at klintcentral.net
Fri Jan 15 06:30:57 UTC 2010


Hi Jane,

First: What about the content of UserServer_Config.xml ?
( Same for MessagingServer_Config.xml )

Second: When in Grid mode you need to start the UserServer first, then  
ROBUST then the MessagingServer and finally the RegionServer

OpenSim.Grid.UserServer.exe
OpenSim.Server.exe
OpenSim.Grid.MessagingServer.exe
OpenSim.exe

Another idea : try to disable SessionAuthentication for now in  
"OpenSim.Server.ini" file :

> SessionAuthentication = "false"


AND

Better to start with

>  grid_send_key = "null"
     grid_recv_key = "null"
     user_send_key = "null"
     user_recv_key = "null"

in your OpenSim.ini config file.


Regards,
Ursula.


Le 14 janv. 10 à 18:53, Jane Foxclaw a écrit :

> Ok, I am submitting this to see what you all think, because I am  
> trying to run it in Grid Mode, with HyperGrid so that I can log  
> other regions into it. Its on Linux and all ports are open. We have  
> tested stand alone and it works fine. but now we are trying to solve  
> this when we started over from scratch on how to get the UserServer  
> to be seen by the MessagingServer.
>
> THE ERROR
> ----------------------------------------------
> 20:18:12 - [SERVER]: Unable to connect to server http://173.212.195.224:8002/ 
>  for registration. User service not running?  Exception Error:  
> ConnectFailure   at System.Net.HttpWebRequest.EndGetRequestStream  
> (IAsyncResult asyncResult) [0x00000]
>   at System.Net.HttpWebRequest.GetRequestStream () [0x00000]
>   at Nwc.XmlRpc.XmlRpcRequest.Send (System.String url, Int32  
> timeout) [0x00000]
>   at Nwc.XmlRpc.XmlRpcRequest.Invoke (System.String url) [0x00000]
>   at  
> OpenSim 
> .Grid 
> .MessagingServer 
> .Modules.InterMessageUserServerModule.registerWithUserServer ()  
> [0x00000]
> ----------------------------------------------
>
> OpenSim.ini file port settings
> ----------------------------------------------
> [Network]
>     ConsoleUser = "Test"
>     ConsolePass = "secret"
>     http_listener_port = 9000
>     default_location_x = 1000
>     default_location_y = 1000
>
>     ; ssl config: Experimental!  The auto https config only really  
> works definately on windows XP now
>     ; you need a Cert Request/Signed pair installed in the MY store  
> with the CN specified below
>     ; you can use https on other platforms, but you'll need to  
> configure the httpapi yourself for now
>     http_listener_ssl = false ; Also create a SSL server
>     http_listener_cn = "localhost" ; Use the cert with the common name
>     http_listener_sslport = 9001 ; Use this port for SSL connections
>     http_listener_ssl_cert = "" ; Currently unused, but will be used  
> for OSHttpServer
>
>     ; Hostname to use in llRequestURL/llRequestSecureURL
>     ; if not defined - default machine name is being used
>     ; (on Windows this mean NETBIOS name - useably only inside local  
> network)
>     ; ExternalHostNameForLSL=127.0.0.1
>     ; Uncomment below to enable llRemoteData/remote channels
>     ; remoteDataPort = 20800
>
>     grid_server_url = "http://173.212.195.224:8003"
>     grid_send_key = "1234"
>     grid_recv_key = "1234"
>
>     user_server_url = "http://173.212.195.224:8002"
>     user_send_key = "1234"
>     user_recv_key = "1234"
>
>     asset_server_url = "http://173.212.195.224:8003"
>
>     inventory_server_url = "http://173.212.195.224:8003"
>
>     ; The MessagingServer is a companion of the UserServer. It uses
>     ; user_send_key and user_recv_key, too
>     messaging_server_url = "http://173.212.195.224:8006"
>
>     ; What is reported as the "X-Secondlife-Shard"
>     ; Defaults to the user server url if not set
>     ; The old default is "OpenSim", set here fro compatibility
>     shard = "OpenSim"
> ------------------------------------------------------
>
> OpenSim.Server.ini settings
> ------------------------------------------------------
> ; * The startup section lists all the connectors to start up in this  
> server
> ; * instance. This may be only one, or it may be the entire server  
> suite.
> ; * Multiple connectors should be seaprated by commas.
> ; *
> ; * These are the IN connectors the server uses, the in connectors
> ; * read this config file and load the needed OUT and database  
> connectors
> ; *
> ; * Add "OpenSim.Server.Handlers.dll:AuthenticationServiceConnector"  
> to
> ; * enable the experimental authentication service
> ; *
> [Startup]
> ServiceConnectors =  
> "OpenSim 
> .Server 
> .Handlers 
> .dll:AssetServiceConnector 
> ,OpenSim 
> .Server 
> .Handlers 
> .dll:InventoryServiceInConnector 
> ,OpenSim 
> .Server 
> .Handlers 
> .dll:FreeswitchServerConnector 
> ,OpenSim.Server.Handlers.dll:GridServiceConnector"
>
> ; * This is common for all services, it's the network setup for the  
> entire
> ; * server instance
> ; *
> [Network]
> port = 8003
>
> ; * The following are for the remote console
> ; * They have no effect for the local or basic console types
> ; * Leave commented to diable logins to the console
> ;ConsoleUser = Test
> ;ConsolePass = secret
>
> ; * As an example, the below configuration precisely mimicks the  
> legacy
> ; * asset server. It is read by the asset IN connector (defined above)
> ; * and it then loads the OUT connector (a local database module).  
> That,
> ; * in turn, reads the asset loader and database connection  
> information
> ; *
> [AssetService]
> LocalServiceModule = "OpenSim.Services.AssetService.dll:AssetService"
> DefaultAssetLoader = "OpenSim.Framework.AssetLoader.Filesystem.dll"
> AssetLoaderArgs = "assets/AssetSets.xml"
> StorageProvider = "OpenSim.Data.MySQL.dll"
> ConnectionString ="Data Source=localhost;Database=opensim;User  
> ID=root;Password=I have put one here;";
>
> ; * This configuration loads the inventory server modules. It  
> duplicates
> ; * the function of the legacy inventory server
> ; *
> [InventoryService]
> LocalServiceModule =  
> "OpenSim.Services.InventoryService.dll:InventoryService"
> UserServerURI = "http://173.212.195.224:8002"
> SessionAuthentication = "true"
> StorageProvider = "OpenSim.Data.MySQL.dll"
> ConnectionString ="Data Source=localhost;Database=opensim;User  
> ID=root;Password=I have put one here;";
>
> ; * This is the configuration for the freeswitch server in grid mode
> [FreeswitchService]
> LocalServiceModule =  
> "OpenSim.Services.FreeswitchService.dll:FreeswitchService"
>
> ; * This is the new style authentication service. Currently, only  
> MySQL
> ; * is implemented. "Realm" is the table that is used for user lookup.
> ; * By setting it to "users", you can use the old style users table
> ; * as an authentication source.
> ; *
> [AuthenticationService]
> AuthenticationServiceModule =  
> "OpenSim 
> .Services.AuthenticationService.dll:PasswordAuthenticationService"
> StorageProvider = "OpenSim.Data.MySQL.dll"
> ConnectionString ="Data Source=localhost;Database=opensim;User  
> ID=root;Password=I have put one here;";
> ; Realm = "users"
>
> ; * This is the new style user service.
> ; * "Realm" is the table that is used for user lookup.
> ; * It defaults to "users", which uses the legacy tables
> ; *
> [UserAccountService]
> AuthenticationServiceModule =  
> "OpenSim.Services.UserService.dll:UserAccountService"
> StorageProvider = "OpenSim.Data.MySQL.dll"
> ConnectionString ="Data Source=localhost;Database=opensim;User  
> ID=root;Password=I have put one here;";
> ; Realm = "users"
>
> ; * This is the new style grid service.
> ; * "Realm" is the table that is used for user lookup.
> ; * It defaults to "regions", which uses the legacy tables
> ; *
> [GridService]
> LocalServiceModule = "OpenSim.Services.GridService.dll:GridService"
> StorageProvider = "OpenSim.Data.MySQL.dll:MySqlRegionData"
> ConnectionString ="Data Source=localhost;Database=opensim;User  
> ID=root;Password=I have put one here;";
> Realm = "regions"
> ----------------------------------------------------
>
> GridCommon.ini settings
> --------------------------------------------------
> [AssetService]
>
>     DefaultAssetLoader =  
> "OpenSim.Framework.AssetLoader.Filesystem.dll"
>     AssetLoaderArgs = "assets/AssetSets.xml"
>
>     ;
>     ; change this to your grid-wide asset server
>     ;
>     AssetServerURI = "http://173.212.195.224:8003"
>
>
> [InventoryService]
>     ;
>     ; change this to your grid-wide inventory server
>     ;
>     InventoryServerURI = "http://173.212.195.224:8003"
>
> [GridService]
>     ;
>     ; change this to your grid-wide grid server
>     ;
>     GridServerURI = "http://173.212.195.224: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/"
> ------------------------------------------------------------------------
>
> I have set this up according to the OpenSimulator Grid tutorials.  
> but they are not finished it seems. Any ideas ?
>
> Sonya
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-users/attachments/20100115/c0df589c/attachment.html>


More information about the Opensim-users mailing list