Hello all<br><br>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 <a href="http://opensimulator.org">opensimulator.org</a> wiki. <br>
<br>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.<br>
<br>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.<br><br>Thanks a lot for all the great work, greetings and Happy New Year, <br>Martin<br>
<br><br>1) System running OpenSim<br>-----------------------------------------<br>- Physical server with Linux Debian Etch (updated) and Mono 1.9.1.<br>- 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?<br>
- Firewall (iptables) opened for incoming and outgoing connections for all these ports.<br>- DNS is well configured, also reverse mapping, and tested with dig, but I'm using fixed IP's anyway.<br>- MySQL 5.0.x running perfectly in OpenSim standalone mode for user-, asset- and inventory-DB's.<br>
- UGAIM servers started through 5 different screen sessions.<br>- I'm not attempting to run HyperGrid (at this moment at least) !<br><br>2) Error reported after having started the UGAIM servers successfully and trying to start the Region server with "mono OpenSim.exe -gridmode=true"<br>
----------------------------------------------------------------------------------------------------------------------<br>[...snip...]<br>19:40:01 - [LIBRARY INVENTORY]: Loading library control file ./inventory/Libraries.xml<br>
19:40:01 - [OGS1 GRID SERVICES]: Exception while attempting to listen on TCP port 8895.<br>19:40:01 - [APPLICATION]:<br>APPLICATION EXCEPTION DETECTED: System.UnhandledExceptionEventArgs<br>Exception: System.Net.Sockets.SocketException: No such host is known<br>
at System.Net.Dns.GetHostByName (System.String hostName) [0x00000]<br> at System.Net.Dns.Resolve (System.String hostName) [0x00000]<br> at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.Init (IServerChannelSinkProvider serverSinkProvider) [0x00000]<br>
at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel..ctor (IDictionary properties, IServerChannelSinkProvider serverSinkProvider) [0x00000]<br> at System.Runtime.Remoting.Channels.Tcp.TcpChannel.Init (IDictionary properties, IClientChannelSinkProvider clientSink, IServerChannelSinkProvider serverSink) [0x00000]<br>
at System.Runtime.Remoting.Channels.Tcp.TcpChannel..ctor (Int32 port) [0x00000]<br> at OpenSim.Region.Communications.OGS1.OGS1GridServices.StartRemoting () [0x00000]<br>Application is terminating: True<br>[...end...]<br>
<br>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 <>.<br>
-----------------------------------------------------------------------------------------------------------------------------<br>[Startup]<br> gridmode = true<br> storage_plugin="OpenSim.Data.MySQL.dll"<br>
storage_connection_string="Data Source=<my server IP>;Database=opensim;User ID=<username>;Password=<password>;";<br> estate_connection_string="Data Source=<my server IP>;Database=opensim;User ID=<username>;Password=<password>;";<br>
asset_database = "grid"<br> WorldMapModule = "WorldMap"<br>[StandAlone]<br> asset_plugin = "OpenSim.Data.MySQL.dll" ; for mysql<br> asset_source = "Data Source=<my server IP>;Database=opensim;User ID=<username>;Password=<password>;"<br>
inventory_plugin = "OpenSim.Data.MySQL.dll"<br> inventory_source = "Data Source=<my server IP>;Database=opensim;User ID=<username>;Password=<password>;"<br> userDatabase_plugin = "OpenSim.Data.MySQL.dll"<br>
user_source ="Data Source=<my server IP>;Database=opensim;User ID=<username>;Password=<password>;"<br>[Network]<br> http_listener_port = 9000<br> remoting_listener_port = 8895<br> ;remoteDataPort = 20800<br>
grid_server_url = "http://<my server IP>:8001"<br> grid_send_key = "1234"<br> grid_recv_key = "1234"<br> user_server_url = "http://<my server IP>:8002"<br> user_send_key = "1234"<br>
user_recv_key = "1234"<br> asset_server_url = "http://<my server IP>:8003"<br> inventory_server_url = "http://<my server IP>:8004"<br> messaging_server_url = "http://<my server IP>:8006"<br>
<br>4) Single region being started: default.xml (also tried with internal_ip_port="9000")<br>-------------------------------------------------------------<br><Root><br> <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" /><br>
</Root><br><br>