April 29, 2008
filed in the early afternoon by DrScofield in: void
technorati tags:
QR code for this entry · average time to read 1:28 minutes

until a couple of days ago, opensim would only run in console mode: whenever you started OpenSim you would end up at a prompt inside OpenSim’s very own console — which is very convenient if you want to manage it that way. it is rather inconvenient if you want to start OpenSim as a daemon in the background (and control it via the RemoteAdminPlugin, for example).

as of OpenSim’s subversion release r4390 the basic support for running OpenSim without such a console is in the code base and all you need to do is invoke OpenSim with the -background True commandline parameter:

% mono --debug OpenSim.exe -background True

note: that’s just a single dash for -background True!

another patch is on its way that not only adds code to properly shutdown OpenSim when the admin_shutdown XmlRpc method is invoked but it also adds the shutdown.py script:1

you can either pass in the server URI and password to use via commandline parameters, or you can create .opensim-console.rc in your home directory and set default values:

[opensim]
server = http://127.0.0.1:9000/
password = secret

then all you need to do to shutdown your OpenSim server is: invoke shutdown.py


  1. to be found in share/python/console/shutdown.py

all content posted on these pages is an expression of my own mind. my employer is welcome to share these opinions but then again he might not want to.

3 comments »

  1. do all commands from the console work with remote-admin?

    comment by phrearch — May 8, 2008 @ 10:28

  2. not yet. we are working on adding RESTful remote admin support to OpenSim — once we’ve got that working well, i’ll continue on the remote console.

    comment by DrScofield — May 8, 2008 @ 14:26

  3. Greetings DrScofld :)

    Any indication when we might anticipate the availability of this functionality? I would be an eager testing participant :)

    Cheers! daTwitch

    comment by daTwitch/Hiro P. — August 11, 2008 @ 15:09

RSS feed for comments on this post. TrackBack URI

Leave a comment