I ran authentication.exe and avatarstorage.exe and can get everything
to work
using localhost (127.0.0.1). However, now I am having that familiar
problem
in getting this rig to work with my external IP. I did this:

1) Change external_host_name in opensim\bin\Regions\default.xml to my
external host IP
    rather than 127.0.0.1

2) Similarly, change 127.0.0.1 to the external host IP in:

   RealXtend\authentication\AuthenticationSettings.xml (both
     default_avatar_storage_url and default_grid_url)
   RealXtend\authentication\HttpSettings.xml
   RealXtend\avatarstorage\HttpSettings.xml

I then run opensim.exe, which as usual, loads all of the rex modules

However, there is a crash when you try to open the UDP socket on my
external IP, port 7000:

I am including the last part of the opensim.exe log, and manually
changed
the external IP to 98.X.Y.Z in the log output.:

10:05:43 - [UDPSERVER]: Opening UDP socket on 0.0.0.0 9000.
10:05:43 - [UDPSERVER]: UDP socket bound, getting ready to listen
10:05:43 - [UDPSERVER]: Listening on port 9000
10:05:43 - [REXAPPEAR]: PostInit called
10:05:43 - [VOICECHAT]: Listening connections from port 12000
10:05:43 - [VOICECHAT]: Connection handler started...
10:05:44 - [REX]: Overloading Login_to_Simulator
10:05:44 - [REX]: Initialising
10:05:44 - [CLIENT]: client_throttle_multiplier = 2
10:05:44 - [UDPSERVER]: Opening UDP socket on 98.X.Y.Z 7000.
10:05:44 - [APPLICATION]:

Unhandled Exception: System.Net.Sockets.SocketException: The requested
address i
s not valid in its context
   at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot,
SocketAddress
socketAddress)
   at System.Net.Sockets.Socket.Bind(EndPoint localEP)
   at OpenSim.Region.ClientStack.LindenUDP.LLUDPServer.ServerListener
()
   at OpenSim.Region.ClientStack.LindenUDP.LLUDPServer.Start()
   at ModularRex.RexNetwork.RexLogin.RexLoginModule.PostInitialise()
   at OpenSim.Region.Environment.ModuleLoader.PostInitialise()
   at
OpenSim.ApplicationPlugins.LoadRegions.LoadRegionsPlugin.Initialise
(OpenSi
mBase openSim)
   at OpenSim.ApplicationPluginInitialiser.Initialise(IPlugin plugin)
   at OpenSim.Framework.PluginLoader`1.Load()
   at OpenSim.Framework.PluginLoader`1.Load(String extpoint)
   at OpenSim.OpenSimBase.LoadPlugins()
   at OpenSim.OpenSimBase.StartupSpecific()
   at OpenSim.OpenSim.StartupSpecific()
   at OpenSim.Framework.Servers.BaseOpenSimServer.Startup()
   at OpenSim.Application.Main(String[] args)

C:\OpenSim\opensim_modrex_test\bin>



On Dec 14, 8:57 am, "Mikko Pallari" <[email protected]> wrote:
> You need to run Authentication server and Avatar Storage so you can use them
> with ModRex.
>
> Cheers,
>
>
>
> On Sun, Dec 14, 2008 at 3:27 AM, metaphorz <[email protected]> wrote:
>
> > If it helps, see below. Opensim.exe w/ the modularrex.dll
> > region module are not listening to ports 10000 or 10001.
> > This is also verified using an online port scanner.
> > I culled all but the ports related to opensim.exe and
> > realxtend.exe in the netstat log below:
>
> > C:\OpenSim\Timer2\bin\Release>netstat -ab
>
> > Active Connections
>
> >  TCP    metaphorz:9000         metaphorz:0            LISTENING
> > 1732
> >  [OpenSim.exe]
>
> >  TCP    metaphorz:12000        metaphorz:0            LISTENING
> > 1732
> >  [OpenSim.exe]
>
> >  TCP    metaphorz:11925        localhost:53134        ESTABLISHED
> > 1732
> >  [OpenSim.exe]
>
> >  TCP    metaphorz:12202        localhost:12203        ESTABLISHED
> > 2524
> >  [realXtend.exe]
>
> >  TCP    metaphorz:12203        localhost:12202        ESTABLISHED
> > 2524
> >  [realXtend.exe]
>
> >   TCP    metaphorz:53134        localhost:11925
> > ESTABLISHED     1732
> >  [OpenSim.exe]
>
> >    UDP    metaphorz:12201
> > *:*                                    2524
> >  [realXtend.exe]
>
> >  UDP    metaphorz:9000         *:*
> > 1732
> >  [OpenSim.exe]
>
> >  UDP    metaphorz:7000         *:*
> > 1732
> >  [OpenSim.exe]
>
> > On Dec 13, 8:10 pm, metaphorz <[email protected]> wrote:
> > > I created a fresh install of opensim and used all of the defaults
> > > after
> > > typing opensim.exe. I also built modrex and copied the ModularRex.dll
> > > into opensim's bin directory. This time, opensim.exe starts up, with
> > > all rex
> > > services. It continues successfully to the "Region (root)" prompt so
> > > everything
> > > looks good so far. I am using a vanilla standalone version of Opensim
> > > (SVN 7707).
>
> > > The problem is authentication via the RexViewer 0.4. "Test User" is by
> > > default there, and I
> > > created another account as well. when I enter either of these two
> > > accounts, I do it as follows. Let's use firstname: Test and lastname:
> > > User as an example:
>
> > > 1) User Name is "[email protected]"
> > > 2) Password is "test"
> > > 3) Connect To is "127.0.0.1"
>
> > > I get "Unable to connect to authentication server", Received
> > > no response fromhttp://127.0.0.1:10001
>
> > > This port is forwarded correctly by the router, and for localhost,
> > > it shouldn't matter anyway.
>
> > > On Dec 13, 4:11 am, "Mikko Pallari" <[email protected]> wrote:
>
> > > > ModRex replaces to OpenSims login_to_simulator XMLRpc method and thus
> > > > requires to use rex authentication.
>
> > > > 1. Create user to your authentication server
> > > > 2. Use that account to login. For example
> > > > usern...@your-authentication-server-ip
> > > > 3. Connect to: your-opensim-ip/your-opensim-domainname:portnumber. If
> > no
> > > > portnumber is defined uses port 9000 as default.
>
> > > > Cheers,
> > > > Mikko
>
> > > > On Fri, Dec 12, 2008 at 8:48 PM, metaphorz <[email protected]>
> > wrote:
>
> > > > > In anticipation of a successful modrex.dll installation, some basic
> > > > > viewer connection questions --I couldn't find answers to these in
> > > > > web docs.
>
> > > > > Assuming that one uses opensim authentication with the new
> > > > > region module (modrex.dll), would the correct viewer values be
> > > > > as follows?
>
> > > > >  1) Username:  First Name+Last Name
> > > > >     (i.e., if my opensim region supports Test User, then I would
> > > > > login
> > > > >     as Testuser
>
> > > > >  2) password: password for (1)
>
> > > > >  3) Connect To: Given an external configuration allowing others to
> > log
> > > > > in
> > > > >    from outside as well as allowing me to log in from behind the
> > > > > router,
> > > > >    this would be: external IP OR external host-name.
>
> > > > >  Please let me know if these are the correct assumptions after
> > > > > building
> > > > > modrex
>
> > > > > -p- Hide quoted text -
>
> > > > - Show quoted text -- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
this list: http://groups.google.com/group/realxtend
realXtend home page: http://www.realxtend.org/
-~----------~----~----~----~------~----~------~--~---

Reply via email to