[Opensim-users] Grid starting problem

sal6734v sal6734v at gmail.com
Fri Jan 2 21:09:10 UTC 2009


Hello all

Sorry to bother you with a stupid question on this user-list, but I'm not
able to get OpenSim working in Grid mode after many tries, and it seems to
be my last hope to get some advice here. I've been running successfully the
standalone mode with MySQL for a long time already (on a Linux/Mono box) and
upgrade quite often to the latest SVN-version. Of course I've read and
applied all the steps described in many tutorials for running the Grid
server mode, specially also the one in the opensimulator.org wiki.

But still yet, after starting the UGAIM servers successfully, the Region
server start (on the same machine, with the same OpenSim.ini) aborts with an
exception of the OGS1 Grid Services while attempting to listen on port 8895,
although the application exception seems to point to a DNS resolving
problem, which I think is highly improbably. Maybe I'm not able anymore to
see the bug in my config by now, so here go the descriptions of 1) my
system, 2) the error reported, 3) the relevant config sniplets of the
OpenSim.ini, and 4) the default.xml region. After reviewing them, I assume
the five UGAIM ..._Config.xml and the estate_settings.xml are ok, but I
could post them if needed.

Thanks a lot for any hint, and I'd gladly append some remarks to the wiki,
if this would be help others with similar problems.

Thanks a lot for all the great work, greetings and Happy New Year,
Martin


1) System running OpenSim
-----------------------------------------
- Physical server with Linux Debian Etch (updated) and Mono 1.9.1.
- No other services connected to the relevant ports 8001 to 8006, 8895 and
9000 to 9003 (had to move a Tomcat shutdown service running on 8005 to some
other port though). And btw, one question here: which service of OpenSim
runs on port 8005? And where could I change this specific port-nr. 8005 like
all the others?
- Firewall (iptables) opened for incoming and outgoing connections for all
these ports.
- DNS is well configured, also reverse mapping, and tested with dig, but I'm
using fixed IP's anyway.
- MySQL 5.0.x running perfectly in OpenSim standalone mode for user-, asset-
and inventory-DB's.
- UGAIM servers started through 5 different screen sessions.
- I'm not attempting to run HyperGrid (at this moment at least) !

2) Error reported after having started the UGAIM servers successfully and
trying to start the Region server with "mono OpenSim.exe -gridmode=true"
----------------------------------------------------------------------------------------------------------------------
[...snip...]
19:40:01 - [LIBRARY INVENTORY]: Loading library control file
./inventory/Libraries.xml
19:40:01 - [OGS1 GRID SERVICES]: Exception while attempting to listen on TCP
port 8895.
19:40:01 - [APPLICATION]:
APPLICATION EXCEPTION DETECTED: System.UnhandledExceptionEventArgs
Exception: System.Net.Sockets.SocketException: No such host is known
  at System.Net.Dns.GetHostByName (System.String hostName) [0x00000]
  at System.Net.Dns.Resolve (System.String hostName) [0x00000]
  at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.Init
(IServerChannelSinkProvider serverSinkProvider) [0x00000]
  at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel..ctor
(IDictionary properties, IServerChannelSinkProvider serverSinkProvider)
[0x00000]
  at System.Runtime.Remoting.Channels.Tcp.TcpChannel.Init (IDictionary
properties, IClientChannelSinkProvider clientSink,
IServerChannelSinkProvider serverSink) [0x00000]
  at System.Runtime.Remoting.Channels.Tcp.TcpChannel..ctor (Int32 port)
[0x00000]
  at OpenSim.Region.Communications.OGS1.OGS1GridServices.StartRemoting ()
[0x00000]
Application is terminating: True
[...end...]

3) Excerpts from the OpenSim.ini, which is the same for the UGAIM servers
and the Region server. Only meaningful lines listed, the rest has been
ommited; IP's and passwords have been changed and are shown in <>.
-----------------------------------------------------------------------------------------------------------------------------
[Startup]
    gridmode = true
    storage_plugin="OpenSim.Data.MySQL.dll"
    storage_connection_string="Data Source=<my server
IP>;Database=opensim;User ID=<username>;Password=<password>;";
    estate_connection_string="Data Source=<my server
IP>;Database=opensim;User ID=<username>;Password=<password>;";
    asset_database = "grid"
    WorldMapModule = "WorldMap"
[StandAlone]
    asset_plugin = "OpenSim.Data.MySQL.dll" ; for mysql
    asset_source = "Data Source=<my server IP>;Database=opensim;User
ID=<username>;Password=<password>;"
    inventory_plugin = "OpenSim.Data.MySQL.dll"
    inventory_source = "Data Source=<my server IP>;Database=opensim;User
ID=<username>;Password=<password>;"
    userDatabase_plugin = "OpenSim.Data.MySQL.dll"
    user_source ="Data Source=<my server IP>;Database=opensim;User
ID=<username>;Password=<password>;"
[Network]
    http_listener_port = 9000
    remoting_listener_port = 8895
    ;remoteDataPort = 20800
    grid_server_url = "http://<my server IP>:8001"
    grid_send_key = "1234"
    grid_recv_key = "1234"
    user_server_url = "http://<my server IP>:8002"
    user_send_key = "1234"
    user_recv_key = "1234"
    asset_server_url = "http://<my server IP>:8003"
    inventory_server_url = "http://<my server IP>:8004"
    messaging_server_url = "http://<my server IP>:8006"

4) Single region being started: default.xml (also tried with
internal_ip_port="9000")
-------------------------------------------------------------
<Root>
  <Config sim_UUID="f64f10e3-d753-4e4f-b03e-b73a3456ab51" sim_name="Hondar1"
sim_location_x="1172" sim_location_y="1172" internal_ip_address="0.0.0.0"
internal_ip_port="9001" allow_alternate_ports="false"
external_host_name="<my server IP>"
master_avatar_uuid="00000000-0000-0000-0000-000000000000"
master_avatar_first="<firstname>" master_avatar_last="<lastname>"
master_avatar_pass="<password>"
lastmap_uuid="8b5f3f95-850d-43e1-92ab-181a4a7492a0"
lastmap_refresh="1230824676" />
</Root>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-users/attachments/20090102/7cb1cff2/attachment.html>


More information about the Opensim-users mailing list