<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://opensimulator.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://opensimulator.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ursula+Matova</id>
		<title>OpenSimulator - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://opensimulator.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ursula+Matova"/>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/wiki/Special:Contributions/Ursula_Matova"/>
		<updated>2026-05-27T01:37:49Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.19.9</generator>

	<entry>
		<id>http://opensimulator.org/wiki/R.O.B.U.S.T.</id>
		<title>R.O.B.U.S.T.</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/wiki/R.O.B.U.S.T."/>
				<updated>2009-07-15T17:58:06Z</updated>
		
		<summary type="html">&lt;p&gt;Ursula Matova: /* Alternate Configuration Files */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Basic Universal Server Technology (B.U.S.T.)==&lt;br /&gt;
===Concepts===&lt;br /&gt;
B.U.S.T. leverages the system of in and out connectors and services that was developed for the Hypergrid and OpenSim. It replaces OGS1 with a modular architecture that can be easily extended using core and 3rd party modules.&lt;br /&gt;
&lt;br /&gt;
B.U.S.T. is a flexible server shell that can load the same modules already used by regions. This allows for nearly 100% code reusability and great flexibility.&lt;br /&gt;
&lt;br /&gt;
The B.U.S.T. server loads &amp;quot;in&amp;quot; connectors as specified in the configuration file. These connectors then load the required processing and storage modules and/or &amp;quot;out&amp;quot; connectors. Through this architecture, each B.U.S.T. server can run any or all grid services, and/or act as a proxy for grid services.&lt;br /&gt;
&lt;br /&gt;
===Configuration===&lt;br /&gt;
The server reads a configuration file at startup, which defaults to the name of the assembly with .ini appended. The default name for the B.U.S.T. server is OpenSim.Server.exe, therefore the default configuration file is OpenSim.Server.ini. An OpenSim.Server.ini.example file is provided with the OpenSim kit.&lt;br /&gt;
&lt;br /&gt;
 ; * The startup section lists all the connectors to start up in this server&lt;br /&gt;
 ; * instance. This may be only one, or it may be the entire server suite.&lt;br /&gt;
 ; * Multiple connectors should be seaprated by commas.&lt;br /&gt;
 ; *&lt;br /&gt;
 ; * These are the IN connectors the server uses, the in connectors&lt;br /&gt;
 ; * read this config file and load the needed OUT and database connectors&lt;br /&gt;
 ; *&lt;br /&gt;
 [Startup]&lt;br /&gt;
 ServiceConnectors = &amp;quot;OpenSim.Server.Handlers.dll:AssetServiceConnector,OpenSim.Server.Handlers.dll:InventoryServiceInConnector&amp;quot;   &lt;br /&gt;
 &lt;br /&gt;
 ; * This is common for all services, it's the network setup for the entire&lt;br /&gt;
 ; * server instance&lt;br /&gt;
 ; *&lt;br /&gt;
 [Network]&lt;br /&gt;
 port = 8003&lt;br /&gt;
 &lt;br /&gt;
 ; * As an example, the below configuration precisely mimicks the legacy&lt;br /&gt;
 ; * asset server. It is read by the asset IN connector (defined above)&lt;br /&gt;
 ; * and it then loads the OUT connector (a local database module). That,&lt;br /&gt;
 ; * in turn, reads the asset loader and database connection information&lt;br /&gt;
 ; *&lt;br /&gt;
 [AssetService]&lt;br /&gt;
 LocalServiceModule = &amp;quot;OpenSim.Services.AssetService.dll:AssetService&amp;quot;&lt;br /&gt;
 DefaultAssetLoader = &amp;quot;OpenSim.Framework.AssetLoader.Filesystem.dll&amp;quot;&lt;br /&gt;
 AssetLoaderArgs = &amp;quot;assets/AssetSets.xml&amp;quot;&lt;br /&gt;
 StorageProvider = &amp;quot;OpenSim.Data.MySQL.dll&amp;quot;&lt;br /&gt;
 ConnectionString = &amp;quot;Data Source=localhost;Database=grid;User ID=grid;Password=grid;&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 ; * This configuration loads the inventory server modules. It duplicates&lt;br /&gt;
 ; * the function of the legacy inventory server&lt;br /&gt;
 ; *&lt;br /&gt;
 [InventoryService]&lt;br /&gt;
 LocalServiceModule = &amp;quot;OpenSim.Services.InventoryService.dll:InventoryService&amp;quot;&lt;br /&gt;
 UserServerURI = &amp;quot;http://127.0.0.1:8002&amp;quot;&lt;br /&gt;
 SessionAuthentication = &amp;quot;false&amp;quot;&lt;br /&gt;
 StorageProvider = &amp;quot;OpenSim.Data.MySQL.dll&amp;quot;&lt;br /&gt;
 ConnectionString = &amp;quot;Data Source=localhost;Database=grid;User ID=grid;Password=grid;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Command Line Arguments===&lt;br /&gt;
*-inifile&lt;br /&gt;
:Specify the location of the .ini file to read instead of the default&lt;br /&gt;
*-console&lt;br /&gt;
:Specify console type, one of basic, local or rest&lt;br /&gt;
*-logfile&lt;br /&gt;
:Specify the logfile this server will log to&lt;br /&gt;
*-prompt&lt;br /&gt;
:Override the server prompt&lt;br /&gt;
&lt;br /&gt;
==Configuration File==&lt;br /&gt;
===Section [Startup]===&lt;br /&gt;
*ServiceConnectors&lt;br /&gt;
:Comma separated list of service IN connectors. The format of each entry is &amp;lt;dllname&amp;gt;:&amp;lt;classname&amp;gt;. If a dll contains only one suitable class, the class name can be omitted.&lt;br /&gt;
*Prompt&lt;br /&gt;
:Override the server prompt&lt;br /&gt;
*Console&lt;br /&gt;
:Specify console type, one of basic, local or rest&lt;br /&gt;
*Logfile&lt;br /&gt;
:Specify the logfile this server will log to&lt;br /&gt;
&lt;br /&gt;
===Section [Network]===&lt;br /&gt;
*Port&lt;br /&gt;
:Set the network port to listen on. All services will run on this port.&lt;br /&gt;
&lt;br /&gt;
==Connector Configurations==&lt;br /&gt;
These configurations are provided by the connector modules and are not an integral part of the B.U.S.T. server. Documentation to all possible options can be found in the documentation of the connector. This manual only lists the options present in the sample configuration file.&lt;br /&gt;
&lt;br /&gt;
===Section [AssetService]===&lt;br /&gt;
* LocalServiceModule [Connector option]&lt;br /&gt;
:A module specification (&amp;lt;dll&amp;gt;:&amp;lt;class&amp;gt;) that provides the services for this connector&lt;br /&gt;
* DefaultAssetLoader [Service option]&lt;br /&gt;
:A dll containing the asset loader to use for loading the default asset set&lt;br /&gt;
* AssetLoaderArgs [Service option]&lt;br /&gt;
:Path to load assets from (for the file system asset loader)&lt;br /&gt;
* StorageProvider [Service option]&lt;br /&gt;
:Dll containing the database provider code&lt;br /&gt;
* ConnectionString [Service option]&lt;br /&gt;
:Connection string to be passed to the database provider&lt;br /&gt;
&lt;br /&gt;
===Section [InventoryService]===&lt;br /&gt;
* LocalServiceModule [Connector option]&lt;br /&gt;
:A module specification (&amp;lt;dll&amp;gt;:&amp;lt;class&amp;gt;) that provides the services for this connector&lt;br /&gt;
* UserServerURI [Connector option]&lt;br /&gt;
:URI to reach the user server at&lt;br /&gt;
* SessionAuthentication [Connector option]&lt;br /&gt;
:Authenticate inventory sessions (default false!)&lt;br /&gt;
* StorageProvider [Service option]&lt;br /&gt;
:Dll containing the database provider code&lt;br /&gt;
* ConnectionString [Service option]&lt;br /&gt;
:Connection string to be passed to the database provider&lt;br /&gt;
&lt;br /&gt;
Additional connectors may need additional sections to be added.&lt;br /&gt;
&lt;br /&gt;
==Alternate Configuration Files==&lt;br /&gt;
To run B.U.S.T. as separate processes, emulatig the legacy servers, you can copy the server executables to the names of the legacy servers:&lt;br /&gt;
 cp OpenSim.Server.exe OpenSim.Grid.AssetServer.exe&lt;br /&gt;
 cp OpenSim.Server.exe.config OpenSim.Grid.AssetServer.exe.config&lt;br /&gt;
 cp OpenSim.Server.ini OpenSim.Grid.AssetServer.ini&lt;br /&gt;
&lt;br /&gt;
Then, modify OpenSim.Grid.AssetServer.ini to read:&lt;br /&gt;
 [Startup]&lt;br /&gt;
 ServiceConnectors = &amp;quot;OpenSim.Server.Handlers.dll:AssetServiceConnector&amp;quot;   &lt;br /&gt;
 &lt;br /&gt;
 [Network]&lt;br /&gt;
 port = 8003&lt;br /&gt;
 &lt;br /&gt;
 [AssetService]&lt;br /&gt;
 LocalServiceModule = &amp;quot;OpenSim.Services.AssetService.dll:AssetService&amp;quot;&lt;br /&gt;
 DefaultAssetLoader = &amp;quot;OpenSim.Framework.AssetLoader.Filesystem.dll&amp;quot;&lt;br /&gt;
 AssetLoaderArgs = &amp;quot;assets/AssetSets.xml&amp;quot;&lt;br /&gt;
 StorageProvider = &amp;quot;OpenSim.Data.MySQL.dll&amp;quot;&lt;br /&gt;
 ConnectionString = &amp;quot;Data Source=localhost;Database=grid;User ID=grid;Password=grid;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Now, when you run OpenSim.Grid.AssetServer.exe, it will act like the legacy asset server it replaces.&lt;br /&gt;
&lt;br /&gt;
You can do the same for all other supported services.&lt;br /&gt;
&lt;br /&gt;
This method is working fine as a replacement of the old Asset &amp;amp; Inventory servers, BUT : In the 2 following files :&lt;br /&gt;
 OpenSim.Grid.AssetServer.exe.config&lt;br /&gt;
 OpenSim.Grid.InventoryServer.exe.config&lt;br /&gt;
&lt;br /&gt;
You have to update the log filename : from &amp;quot;OpenSim.log&amp;quot; to &amp;quot;OpenSim.Grid.AssetServer.log&amp;quot; &amp;amp; &amp;quot;'OpenSim.Grid.InventoryServer.log&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Just because there is a conflict accessing the logfile ( write ) ... So, if you don't do that modification, your OpenSim.exe won't start. ( Linux / Mono 2.4.2 )&lt;/div&gt;</summary>
		<author><name>Ursula Matova</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/wiki/Troubleshooting</id>
		<title>Troubleshooting</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/wiki/Troubleshooting"/>
				<updated>2008-10-09T13:17:06Z</updated>
		
		<summary type="html">&lt;p&gt;Ursula Matova: /* Got &amp;quot;Primitive: Error compiling script: unknown char: . error&amp;quot; when compiling script */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Users]]&lt;br /&gt;
This page gives any system-specific configuration settings that may be useful, and advice for problems that might be encountered.&lt;br /&gt;
&lt;br /&gt;
== System-specific configuration ==&lt;br /&gt;
=== CentOS 5 ===&lt;br /&gt;
&lt;br /&gt;
To install mono and nant, you can use the &amp;quot;Linux Installer for x86&amp;quot; found at http://www.mono-project.com/Downloads.&lt;br /&gt;
&lt;br /&gt;
SVN can be installed by:&lt;br /&gt;
&lt;br /&gt;
 yum install subversion&lt;br /&gt;
&lt;br /&gt;
Mono defaults to installing into &amp;lt;tt&amp;gt;/opt&amp;lt;/tt&amp;gt;, so you may have to add this path to your environment variables, for example, in your &amp;lt;tt&amp;gt;~/.bashrc&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 export PATH=&amp;quot;/opt/mono-1.2.5/bin:$PATH&amp;quot;&lt;br /&gt;
 export PKG_CONFIG_PATH=&amp;quot;/opt/mono-1.2.5/lib/pkgconfig:$PKG_CONFIG_PATH&amp;quot;&lt;br /&gt;
 export MANPATH=&amp;quot;/opt/mono-1.2.5/share/man:$MANPATH&amp;quot;&lt;br /&gt;
 export LD_LIBRARY_PATH=&amp;quot;/opt/mono-1.2.5/lib:$LD_LIBRARY_PATH&amp;quot;&lt;br /&gt;
&lt;br /&gt;
After changing &amp;lt;tt&amp;gt;LD_LIBRARY_PATH&amp;lt;/tt&amp;gt;, you should update the dynamic linker cache:&lt;br /&gt;
&lt;br /&gt;
 ldconfig&lt;br /&gt;
&lt;br /&gt;
You may still encounter the &amp;quot;The current runtime framework 'mono-2.0' is not correctly configured in the NAnt configuration file.&amp;quot; error listed below.  In that case, this may fix this:&lt;br /&gt;
&lt;br /&gt;
 yum install glib&lt;br /&gt;
&lt;br /&gt;
If you are running a firewall as well (i.e., if &amp;lt;tt&amp;gt;iptables -L&amp;lt;/tt&amp;gt; shows a list of ACCEPT and REJECT rules), you'll have to open the necessary ports if you want to access the sim from other machines.  For standalone mode:&lt;br /&gt;
&lt;br /&gt;
 iptables -I RH-Firewall-1-INPUT -p tcp --dport 9000 -j ACCEPT&lt;br /&gt;
 iptables -I RH-Firewall-1-INPUT -p udp --dport 9000 -j ACCEPT&lt;br /&gt;
&lt;br /&gt;
=== Debian 4.0r0 ===&lt;br /&gt;
&lt;br /&gt;
If you set your system to use unstable sources, and then install some packages listed below, everything should just work.  To use unstable sources, modify your &amp;lt;tt&amp;gt;/etc/apt/sources.list&amp;lt;/tt&amp;gt; file, replacing 'etch' or 'stable' with 'unstable':&lt;br /&gt;
&lt;br /&gt;
 deb ftp://ftp.debian.org/debian/ unstable main&lt;br /&gt;
 deb-src ftp://ftp.debian.org/debian/ unstable main&lt;br /&gt;
&lt;br /&gt;
Then update your packages to the new versions:&lt;br /&gt;
&lt;br /&gt;
 apt-get update&lt;br /&gt;
 apt-get dist-upgrade&lt;br /&gt;
&lt;br /&gt;
This will probably change a large number of packages, and may break things.&lt;br /&gt;
In my experience, however, if you do not use unstable sources then the packages are not up to date enough, and you run into version issues, which lead to two DllNotFoundException errors below appearing in the console output: gdiplus.dll and libopenjpeg-libsl-2.1.2.0.so.&lt;br /&gt;
&lt;br /&gt;
Once the sources are updated, we need to install the necessary packages to be able to build OpenSim:&lt;br /&gt;
&lt;br /&gt;
 apt-get install subversion mono nant mono-gmcs mono-mjs libmono-microsoft8.0-cil libmono-system-runtime2.0-cil&lt;br /&gt;
&lt;br /&gt;
If any of these packages are missing, you'll probably encounter one of the errors listed below.  However, with these packages, OpenSim should build cleanly.&lt;br /&gt;
&lt;br /&gt;
Please note: If you are using mysql as storage on unstable you may get the following error:-&lt;br /&gt;
&lt;br /&gt;
 Exception: System.NotSupportedException: CodePage 1252 not supported&lt;br /&gt;
  at System.Text.Encoding.GetEncoding (Int32 codePage) [0x00000] &lt;br /&gt;
&lt;br /&gt;
To get it to work, try installing the libmono-i18n2.0-cil package&lt;br /&gt;
&lt;br /&gt;
 apt-get install libmono-i18n2.0-cil&lt;br /&gt;
&lt;br /&gt;
=== Gentoo ===&lt;br /&gt;
some Mono dependency &amp;amp; latest Mono itself may use &amp;quot;~x86&amp;quot; masked packages (assuming x86 is your platform, change may be made to reflect your ex:&amp;quot;~amd64&amp;quot; for 64bits). You could check for USE parameter with:&lt;br /&gt;
&lt;br /&gt;
 ACCEPT_KEYWORDS=&amp;quot;~x86&amp;quot; emerge -vp subversion nant mono libgdiplus&lt;br /&gt;
&lt;br /&gt;
Then install with:&lt;br /&gt;
&lt;br /&gt;
 ACCEPT_KEYWORDS=&amp;quot;~x86&amp;quot; emerge subversion nant mono libgdiplus&lt;br /&gt;
&lt;br /&gt;
N.B: The ACCEPT_KEYWORDS=&amp;quot;~x86&amp;quot; can be set in Gentoo /etc/make.conf file, but that turn up all the emerges in testing/unstable, using it at the begining of emerge command line use it only for current emerge process&lt;br /&gt;
&lt;br /&gt;
=== Mac OS X ===&lt;br /&gt;
This assumes you're using the universal binary for mono from the [http://www.mono-project.com/ Mono Project] site.&lt;br /&gt;
&lt;br /&gt;
If you are using OS X 10.4, you should also install X11 from the OS X install CDs.&lt;br /&gt;
In OS X 10.5, this is not required.&lt;br /&gt;
&lt;br /&gt;
If you get errors about the 2.0 framework not being supported, you may need to update your &amp;lt;tt&amp;gt;pkg-config&amp;lt;/tt&amp;gt; path.&lt;br /&gt;
I set this in &amp;lt;tt&amp;gt;~/.bash_profile&amp;lt;/tt&amp;gt;:&lt;br /&gt;
 export PKG_CONFIG_PATH=&amp;quot;/Library/Frameworks/Mono.framework/Versions/Current/lib/pkgconfig/:${PKG_CONFIG_PATH}&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Errors and fixes ==&lt;br /&gt;
&lt;br /&gt;
=== Build workarounds due to non-functionality or bugs: ===&lt;br /&gt;
&lt;br /&gt;
==== Disappearing prims due to duplicate UID's ====&lt;br /&gt;
Generally this problem occurs when a save-xml/load-xml file is loaded into the same sim without using the -newUID switch to generate new UUID's for the objects. This switch is documented in the [[Running#General OpenSim server commands|general server commands]] section. (&amp;lt;nowiki&amp;gt;load-xml &amp;lt;filename&amp;gt; -newUID&amp;lt;/nowiki&amp;gt;). But if this does not work, the other way is to shift-copy your build and drag it up into the air.. then delete the one in the air, (which is actually the copy). This will generate new UID's on all your prims.. you can now leave that build, and load your original load-xml file in another region.&lt;br /&gt;
&lt;br /&gt;
==== Linked objects not scaling/editing properly ====&lt;br /&gt;
From Mantis [[http://opensimulator.org/mantis/view.php?id=135 # 135]] and [[http://opensimulator.org/mantis/view.php?id=223 # 223]]: &amp;lt;br /&amp;gt;&lt;br /&gt;
Linked objects: while linking/unlinking objects seems to work fine, the editing of single prims inside a linked object doesn't work correctly. You have to check the box &amp;quot;Edit linked parts&amp;quot;, then you can select a single prim and edit it, but in most cases the changes in size- and/or postion-parameters are not accepted and revert immediately to the original ones. It is not completely reproducible, as it may work in some single case though.&amp;lt;br /&amp;gt;&lt;br /&gt;
'''Workaround:''' unlink the whole object, make the changes, and relink the whole thing again. &amp;lt;br /&amp;gt; ''note:'' re-scaling unlinked objects in grid mode seems to work better than in standalone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Exception and loss of ode physics System.EntryPointNotFoundException: dSpaceLockQuery ===&lt;br /&gt;
&lt;br /&gt;
The following is usually caused by using the wrong version of libode.  First try find / -name &amp;quot;libode.so&amp;quot; to see if you have other copies of the ode physics engine.  Then make sure you have the latest version of this.&lt;br /&gt;
&lt;br /&gt;
[SCENE] [02-01 22:20:40] System.EntryPointNotFoundException: dSpaceLockQuery&lt;br /&gt;
  at (wrapper managed-to-native) Ode.NET.d:SpaceLockQuery (intptr)&lt;br /&gt;
  at OpenSim.Region.Physics.OdePlugin.OdeScene.waitForSpaceUnlock (IntPtr space) [0x00000] &lt;br /&gt;
  at OpenSim.Region.Physics.OdePlugin.OdeCharacter.AvatarGeomAndBodyCreation (Single npositionX, Single npositionY, Single npositionZ, Single tensor) [0x00000] &lt;br /&gt;
  at OpenSim.Region.Physics.OdePlugin.OdeCharacter..ctor (System.String avName, OpenSim.Region.Physics.OdePlugin.OdeScene parent_scene, OpenSim.Region.Physics.Manager.PhysicsVector pos) [0x00000] &lt;br /&gt;
  at OpenSim.Region.Physics.OdePlugin.OdeScene.AddAvatar (System.String avName, OpenSim.Region.Physics.Manager.PhysicsVector position) [0x00000] &lt;br /&gt;
  at OpenSim.Region.Environment.Scenes.ScenePresence.AddToPhysicalScene () [0x00000] &lt;br /&gt;
  at OpenSim.Region.Environment.Scenes.ScenePresence.MakeRootAgent (LLVector3 pos, Boolean isFlying) [0x00000] &lt;br /&gt;
  at OpenSim.Region.Environment.Scenes.Scene.AgentCrossing (UInt64 regionHandle, LLUUID agentID, LLVector3 position, Boolean isFlying) [0x00000]&lt;br /&gt;
=== MySQL connection errors after about 6-8 hours ===&lt;br /&gt;
&lt;br /&gt;
MySQL has a timeout which drops the connection after 28,800 seconds (8 hours) of inactivity, which will probably result in failure to login after the User server has been sitting idle for an extended period.  If you have this problem, increase the timeout to something larger, like 604800 (1 week) or 31536000 (1 year).  From the mysql console, type:&lt;br /&gt;
&lt;br /&gt;
 set global wait_timeout=604800;&lt;br /&gt;
&lt;br /&gt;
=== System.DllNotFoundException: gdiplus.dll ===&lt;br /&gt;
&lt;br /&gt;
First, check to make sure that &amp;lt;tt&amp;gt;libgdiplus.so&amp;lt;/tt&amp;gt; is known to the dynamic linker:&lt;br /&gt;
&lt;br /&gt;
 /sbin/ldconfig -p | grep libgdiplus&lt;br /&gt;
&lt;br /&gt;
If nothing is found, make sure that the directory libgdiplus.so exists in is either in your &amp;lt;tt&amp;gt;LD_LIBRARY_PATH&amp;lt;/tt&amp;gt; environment variable or listed in a *.conf file (e.g., gdiplus.conf) in /etc/ld.so.conf.d/.  Then run &amp;lt;tt&amp;gt;ldconfig&amp;lt;/tt&amp;gt; to update the cache.  Then it should be able to find the library.&lt;br /&gt;
&lt;br /&gt;
You may still have the above error, however, since libgdiplus also depends on other dynamic libraries, and if they fail to load, libgdiplus will fail.  To test for this, run OpenSim with debugging information turned on:&lt;br /&gt;
&lt;br /&gt;
 MONO_LOG_LEVEL=debug mono OpenSim.exe&lt;br /&gt;
&lt;br /&gt;
{It may show errors loading other libraries, like &amp;lt;tt&amp;gt;libexif.so.9&amp;lt;/tt&amp;gt;.  In that case, linking to an existing version of the offending library may work:&lt;br /&gt;
&lt;br /&gt;
 ln -s libexif.so.12 libexif.so.9&lt;br /&gt;
&lt;br /&gt;
On Mac OS X - check the following file exists... /opt/local/lib/libgdiplus.dylib if it does then as root user edit the file /opt/local/etc/mono/config &lt;br /&gt;
and add the line &lt;br /&gt;
 &amp;lt;dllmap dll=&amp;quot;gdiplus.dll&amp;quot; target=&amp;quot;/opt/local/lib/libgdiplus.dylib&amp;quot; os=&amp;quot;!windows&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''(Is there a cleaner solution than this?)''} **see below for alternative/cleaner fix**&lt;br /&gt;
&lt;br /&gt;
== When installing mono or libgdiplus0 you may get dependency missing libexif.so.9 == &lt;br /&gt;
&lt;br /&gt;
This was noticed on Centos5 but may occur on other systems, download ftp://rpmfind.net/linux/conectiva/snapshot/i386/RPMS.extra/libexif9-0.5.12-47547cl.i386.rpm and install problem solved. You will now be able to install mono (as long as nothing else goes wrong )&lt;br /&gt;
&lt;br /&gt;
=== The assembly mscorlib.dll was not found or could not be loaded ===&lt;br /&gt;
&lt;br /&gt;
This indicates that you are missing one of the mscor libs that comes with nant.  This is easily solved by getting NAnt, which comes with both versions 1.0 and 2.0 of the required lib.&lt;br /&gt;
&lt;br /&gt;
 apt-get install nant&lt;br /&gt;
&lt;br /&gt;
=== External Program Failed: /usr/lib/pkgconfig/../../lib/mono/2.0/gmcs.exe === &lt;br /&gt;
&lt;br /&gt;
This is quickly fixed by retrieving mono-gmcs.&lt;br /&gt;
&lt;br /&gt;
 apt-get install mono-gmcs&lt;br /&gt;
&lt;br /&gt;
=== The type or namespace name JScript does not exist in the namespace Microsoft ===&lt;br /&gt;
&lt;br /&gt;
Note that it says Jscript over and over again.  Hint perhaps?&lt;br /&gt;
&lt;br /&gt;
 apt-get install mono-mjs libmono-microsoft8.0-cil&lt;br /&gt;
&lt;br /&gt;
On Fedora, the needed package is mono-jscript&lt;br /&gt;
&lt;br /&gt;
=== The type or namespace name Tcp does not exist in the namespace System.Runtime.Remoting.Channels ===&lt;br /&gt;
&lt;br /&gt;
This one is taken care of with a quick install:&lt;br /&gt;
&lt;br /&gt;
 apt-get install libmono-system-runtime2.0-cil&lt;br /&gt;
&lt;br /&gt;
=== Missing: libopenjpeg-libsl-2.1.2.0-x86_64.so ===&lt;br /&gt;
  You are on 64bit linux machine and my need to follow these instructions: [[Installing_and_running_on_x86-64 |Installing and running on x86-64 ]]&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
=== error while loading shared libraries: libgthread-2.0.so.0: cannot open shared object file ===&lt;br /&gt;
&lt;br /&gt;
If you start with a base Debian system as we did at the top of the page, but instead of using the apt version of mono you use the installer from their website, then you may encounter this issue.&lt;br /&gt;
&lt;br /&gt;
After getting the .bin file from http://www.mono-project.com/Downloads, and executing it as per its instructions, upon finishing, you may find that if you try to run `mono --version` you are presented with this message. This one means you need to install libglib2.0-0.&lt;br /&gt;
&lt;br /&gt;
 apt-get install libglib2.0-0&lt;br /&gt;
&lt;br /&gt;
=== The current runtime framework 'mono-2.0' is not correctly configured in the NAnt configuration file. ===&lt;br /&gt;
&lt;br /&gt;
This one seems to be fixed by retrieving the apt version of nant.&lt;br /&gt;
&lt;br /&gt;
 apt-get install nant&lt;br /&gt;
&lt;br /&gt;
This can also be due to &amp;lt;tt&amp;gt;pkg-config&amp;lt;/tt&amp;gt; not being able to locate the &amp;lt;tt&amp;gt;mono.pc&amp;lt;/tt&amp;gt; file.  Adding the directory containing this file to the environment variable &amp;lt;tt&amp;gt;PKG_CONFIG_PATH&amp;lt;/tt&amp;gt; may solve this.&lt;br /&gt;
&lt;br /&gt;
== Networking and config issues ==&lt;br /&gt;
   [[OpenSim:Running |See Running section]]&lt;br /&gt;
&lt;br /&gt;
=== You are able to log in, but not connect to a Region from a remote client ===&lt;br /&gt;
&lt;br /&gt;
    Look in your OpenSimulator/bin/Regions folder &lt;br /&gt;
    1) Try 0.0.0.0 for the internal_ip_address in your region.xml(default.xml) file&lt;br /&gt;
         (you'll have one of those files *per* region you've created)&lt;br /&gt;
    2) external_host_name=&amp;quot;127.0.0.1&amp;quot; will need to be changed to the accessable DNS name&lt;br /&gt;
        such as &amp;quot;opensim.example-host.com&amp;quot; or &amp;quot;71.6.131.152&amp;quot; (your public accessable ip)&lt;br /&gt;
&lt;br /&gt;
==Building OpenSim==&lt;br /&gt;
===I can't find any build files or solution files===&lt;br /&gt;
* If you're on Windows, run &amp;lt;tt&amp;gt;runprebuild.bat&amp;lt;/tt&amp;gt; - on Linux/Mac/FreeBSD, run &amp;lt;tt&amp;gt;runprebuild.sh&amp;lt;/tt&amp;gt;&lt;br /&gt;
=== VS2005 won't open the .sln file ===&lt;br /&gt;
* Try running VS2005 C#. You are probably running VS2005 C++. This is a C# project.&lt;br /&gt;
&lt;br /&gt;
==Running OpenSim==&lt;br /&gt;
=== Running OpenSim.exe from a Cygwin shell has access denied for some dll's ===&lt;br /&gt;
* Do a '&amp;lt;tt&amp;gt;cd bin&amp;lt;/tt&amp;gt;' followed by '&amp;lt;tt&amp;gt;chmod a+x *&amp;lt;/tt&amp;gt;' to make all dll files executable.&lt;br /&gt;
===I cannot start my sim===&lt;br /&gt;
* See [[Configuration]]&lt;br /&gt;
&lt;br /&gt;
==Something Has Gone Wrong!==&lt;br /&gt;
=== I get errors concerning 'owner_uuid' when starting up my grid after updating from svn beyond r3254 ===&lt;br /&gt;
When updating to recent revisions after r3254, we are now using the unused owner_uuid. There are some grids whose mysql tables were created during a time when this field was inadvertently removed from the .sql script that initializes the regions table. Logging in to your mysql instance and executing this SQL query to add the missing owner_uuid should solve this issue:&lt;br /&gt;
 alter table `regions` add column `owner_uuid` varchar(36) default '00000000-0000-0000-0000-000000000000' not null, comment 'Rev.2';&lt;br /&gt;
The punctuation around regions and owner_uuid is &amp;quot;grave accent&amp;quot;. The punctuation around the default value and the comment is the single quote. The &amp;quot;grave accent&amp;quot; is the one generally to the left of the One button, under the tilde and the single-quote, is, well, underneath the double quote. I think this matters to mysql.&lt;br /&gt;
&lt;br /&gt;
=== I get errors concerning 'State' when starting up my grid after updating from svn beyond r3786 ===&lt;br /&gt;
After r3786, a new 'State' field has been added to the 'primshapes' table on SQLite. This field is used to persist trees and grass.&lt;br /&gt;
You may have an empty region at startup, because OpenSim does not find this 'State' field and does not know what to do.&lt;br /&gt;
The best is to use SQLiteBrowser or another SQLite table editor (download it at [http://sqlitebrowser.sourceforge.net/ http://sqlitebrowser.sourceforge.net/]) to create the missing field:&lt;br /&gt;
 alter table primshapes add column State integer default 0&lt;br /&gt;
Just launch SQLiteBrowser, use File/Open database, then browse to OpenSim.db file and open it. Then, go to the &amp;quot;Execute SQL&amp;quot; tab, copy/paste the command above in the &amp;quot;SQL string&amp;quot; textbox, then hit the &amp;quot;Execute query&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
=== I get a timeout during region handshake ===&lt;br /&gt;
* Do you have the correct IP in your Regions\* config files?&lt;br /&gt;
* Do you have multiple interfaces on the server running OpenSim? OpenSim will not bind outgoing UDP packets to a specific IP, its default IP to reach you will be what the Region answers UDP with. If you have configured the region for another IP you will get a timeout during connect.&lt;br /&gt;
&lt;br /&gt;
=== I cannot connect to my OpenSim ===&lt;br /&gt;
* See [[OpenSim: Connecting]]&lt;br /&gt;
&lt;br /&gt;
===I can connect but cannot move===&lt;br /&gt;
If the client connects but the avatar can only spin in place and not move, then the sim is not correctly configured. It completed the initial login function, but packets are not being exchanged between the client and the sim, probably due to a network configuration error on the sim.&lt;br /&gt;
* See [[OpenSim: Configuration]]&lt;br /&gt;
&lt;br /&gt;
=== From time to time my Avatar seems to get stuck ===&lt;br /&gt;
Right now there is a bottle neck when syncing prims off to the database.  This will cause small (5 - 10 second) apparent hangs of the Avatar, but it will recover fine once the data is synced.  It is a known issue based on legacy architecture of some of the data storage code.  We hope this will be removed soon.&lt;br /&gt;
&lt;br /&gt;
=== I have problems with viewing the worldmap ===&lt;br /&gt;
* This may happen when running OpenSim on a Linux server, both in grid or standalone mode.&lt;br /&gt;
* Symptoms: when opening the worldmap window in the SL-viewer, the sims are not displayed grahically in the worldmap, the server console shows some error related to openjpeg, the current session freezes...&lt;br /&gt;
* Reason: your svn source trunk does not have the correct (or whatever...) &amp;lt;tt&amp;gt;libopenjpeg-libsl&amp;lt;/tt&amp;gt; library.&lt;br /&gt;
* Other reason: the file &amp;quot;defaultstripe.png&amp;quot; does not exists in the same OpenSim folder, or is corrupted.&lt;br /&gt;
* Solution: get the newest code from libsecondlife (&amp;lt;tt&amp;gt;svn co svn://opensecondlife.org/libsl/trunk&amp;lt;/tt&amp;gt;), '&amp;lt;tt&amp;gt;make&amp;lt;/tt&amp;gt;' manually in the subdir &amp;lt;tt&amp;gt;openjpeg-libsl&amp;lt;/tt&amp;gt;, and copy the resulting &amp;lt;tt&amp;gt;libopenjpeg-libsl-2.1.2.0.so&amp;lt;/tt&amp;gt; into your OpenSim &amp;lt;tt&amp;gt;bin&amp;lt;/tt&amp;gt; subdir, overwriting the existing one.&lt;br /&gt;
* Recompile &amp;amp; restart OpenSim&lt;br /&gt;
&lt;br /&gt;
==Exceptions on the Console==&lt;br /&gt;
This is a list of Exceptions that you may see on the console, what they mean, and if they are a problem.&lt;br /&gt;
&lt;br /&gt;
===System.DllNotFoundException: ./libopenjpeg-libsl-2.1.2.0.so===&lt;br /&gt;
 Failed generating terrain map: System.DllNotFoundException: ./libopenjpeg-libsl-2.1.2.0.so&lt;br /&gt;
 at (wrapper managed-to-native) OpenJPEGNet.OpenJPEG:LibslAllocDecoded OpenJPEGNet.OpenJPEG/LibslImage&amp;amp;)&lt;br /&gt;
 at OpenJPEGNet.OpenJPEG.Encode (System.Byte[] decoded, Int32 width, Int32 height, Int32 components, Boolean lossless) [0x00000]&lt;br /&gt;
 at OpenJPEGNet.OpenJPEG.EncodeFromImage (System.Drawing.Bitmap bitmap, Boolean lossless) [0x00000]&lt;br /&gt;
 at OpenSim.Region.Terrain.TerrainEngine.ExportJpegImage (System.String gradientmap) [0x00000]&lt;br /&gt;
&lt;br /&gt;
You are on Linux, and the native lib libopenjpeg-libsl-2.1.2.0.so is not compatible with your system for one of the following reasons:&lt;br /&gt;
* You have an old processor (libopenjpeg has been compiled with optimizations)&lt;br /&gt;
* You are running in 64bit mode (none of the native libs are built for 64bit)&lt;br /&gt;
&lt;br /&gt;
You can rebuild your own libopenjpeg from source, or run in a compatible environment.&lt;br /&gt;
You can do this by:&lt;br /&gt;
 svn co svn://opensecondlife.org/libsl/trunk libsl&lt;br /&gt;
 cd libsl/openjpeg-libsl/&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
then copy libopenjpeg-libsl-2.1.2.0.so into OpenSim bin-folder.&lt;br /&gt;
&lt;br /&gt;
==Grid Mode==&lt;br /&gt;
Note: Grid Mode isn't officially supported yet.  As such, you are pretty much on your own if you are trying to get OpenSim up and running in Grid Mode.&lt;br /&gt;
&lt;br /&gt;
=== I start the sim and it doesn't connect to any grid ===&lt;br /&gt;
&lt;br /&gt;
When OpenSim is first started, it needs configuration.&lt;br /&gt;
&lt;br /&gt;
* See [[OpenSim: Configuration]].&lt;br /&gt;
&lt;br /&gt;
===I start the OpenSim.Grid.UserServer.exe and it gives an error===&lt;br /&gt;
If this error is access denied for &amp;lt;tt&amp;gt;username@localhost&amp;lt;/tt&amp;gt;, the mysql database is not set up.&lt;br /&gt;
It will print some text and wait for input - either an enter to accept a default value, or another value you can supply.&lt;br /&gt;
* See [[OpenSim: Configuration]].&lt;br /&gt;
&lt;br /&gt;
===I want to run my own Local Grid but one or more servers fail to start===&lt;br /&gt;
* Be sure that you're able to start &amp;lt;tt&amp;gt;OpenSim.exe&amp;lt;/tt&amp;gt; alone, in Standalone mode, and to be able to login.&lt;br /&gt;
* Start the servers in the correct UGAS order and answer the questions as recommended (see [[OpenSim: Configuration]]).&lt;br /&gt;
* Set all the external URI's to the correct IP: 127.0.0.1 if running on your local machine, or aaa.bbb.ccc.ddd if running on a remote server.&lt;br /&gt;
* Check again all the &amp;lt;tt&amp;gt;*.xml&amp;lt;/tt&amp;gt; configuration files for any wrong settings or typing errors...!&lt;br /&gt;
* Don't forget to connect with your SL-viewer to port 8002 (Grid User-Server) instead of 9000 (Standalone OpenSim-Server).&lt;br /&gt;
* Delete all &amp;lt;tt&amp;gt;*.xml&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;*.yap&amp;lt;/tt&amp;gt; files in the &amp;lt;tt&amp;gt;bin&amp;lt;/tt&amp;gt; directory if you want to run a full reconfiguration again.&lt;br /&gt;
&lt;br /&gt;
===I get a bunch of asset not found errors, while connected to a online grid, and my inventory doesn't seem to work right===&lt;br /&gt;
*Make sure your opensim.ini has '      asset_database = &amp;quot;grid&amp;quot;      ' otherwise it will not work correctly.&lt;br /&gt;
[[Category:Users]]&lt;br /&gt;
&lt;br /&gt;
== ScriptEngine Issues ==&lt;br /&gt;
=== Got &amp;quot;Primitive: Error compiling script: unknown char: . error&amp;quot; when compiling script ===&lt;br /&gt;
When trying to compile a script ( using DotNetEngine or XEngine ) you could have this error :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Primitive: Error compiling script:&lt;br /&gt;
unknown char: .&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And on the console :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
11:06:37 - [ScriptEngine.DotNetEngine]: Unloading script&lt;br /&gt;
11:06:37 - Exception in MaintenanceLoopThread. Thread will recover after 5 sec throttle. Exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.&lt;br /&gt;
 at System.Collections.Generic.Dictionary`2[OpenSim.Region.ScriptEngine.Interfaces.IEventReceiver,OpenSim.Region.ScriptEngine.Shared.Api.Plugins.Dataserver].get_Item (IEventReceiver key) [0x00000]&lt;br /&gt;
 at OpenSim.Region.ScriptEngine.Shared.Api.AsyncCommandManager.RemoveScript (IEventReceiver engine, UInt32 localID, UUID itemID) [0x00000]&lt;br /&gt;
 at OpenSim.Region.ScriptEngine.DotNetEngine.ScriptManager._StopScript (UInt32 localID, UUID itemID) [0x00000]&lt;br /&gt;
 at OpenSim.Region.ScriptEngine.DotNetEngine.ScriptManager.DoScriptLoadUnload () [0x00000]&lt;br /&gt;
 at OpenSim.Region.ScriptEngine.DotNetEngine.MaintenanceThread.MaintenanceLoop () [0x00000]&lt;br /&gt;
11:06:37 - [ScriptEngine.DotNetEngine]: Loading script&lt;br /&gt;
11:06:37 - [ScriptEngine.DotNetEngine]: ScriptManager StartScript: localID: 720001, itemID: 88c9d28c-6004-4609-a707-717190de044a&lt;br /&gt;
11:06:37 - [Compiler]: Compiled new assembly for fad15951-f9aa-493f-be68-2aaf5ff8a3c9&lt;br /&gt;
11:06:37 - [SCRIPT]: Compiled assetID fad15951-f9aa-493f-be68-2aaf5ff8a3c9: ScriptEngines/a83150da-1ab1-11dd-89fb-0014853ee9da/CommonCompiler_compiled_fad15951-f9aa-493f-be68-2aaf5ff8a3c9.dll&lt;br /&gt;
11:06:37 - [ScriptEngine.DotNetEngine]: AppDomain Loading: OpenSim.Region.ScriptEngine.Shared, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This happens on '''linux''' when your locales are not set to default ( &amp;quot;C&amp;quot; ).&lt;br /&gt;
* You could refer to [http://opensimulator.org/mantis/view.php?id=2088 Mantis #2088] and [http://opensimulator.org/mantis/view.php?id=2015 Mantis #2015] for a workaround to run opensim.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
env LANG=C mono --debug OpenSim.exe&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* You could also change your locale setup. Here is what I use in my '.bash_profile' :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LC_ALL=C&lt;br /&gt;
export LANG=C&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
I know it's a ugly way to setup locales on a linux box, but it works fine on my '''Linux From Scratch''' box.&lt;br /&gt;
&lt;br /&gt;
'''Rq''': I saw Melanie has corrected some parts of the source code a few weeks ago to avoid such problems.&lt;br /&gt;
&lt;br /&gt;
== Locales Issues ==&lt;br /&gt;
Well, some of us, OpenSim users, ran into random crash of the OpenSim Region server in grid mode ... &lt;br /&gt;
&lt;br /&gt;
I have made many tests to find a solution about that problem.&lt;br /&gt;
&lt;br /&gt;
I first ran into this problem with OpenSIM SVN.6660 ... Even if I have no users connected, my OpenSim region server randomly crash ( after 1 hour, or 5 hours, ... ).&lt;br /&gt;
&lt;br /&gt;
My first idea was to upgrade to the latest SVN release, no chance, same problem. So I made a test with a previous SVN release ( SVN.6575 ) which is running fine on another server ( same OS, same parameters, same mono release, ... ) : No chance, same problem.&lt;br /&gt;
&lt;br /&gt;
Then, I tried to play with locales, recompile the '''screen''' unix command line utility I use to run my servers, ... No chance again.&lt;br /&gt;
&lt;br /&gt;
So, I checked the memory usage on my Server, and I discovered that with the last SVN release, the amount of memory needed to run OpenSim server in multi-region/grid mode increased :) ... So, I have tuned my MySQL server to use less memory. Was better, but my OpenSim region server still randomly crash ( but could stay alive longer than before ).&lt;br /&gt;
&lt;br /&gt;
Then, trying to play with the '''screen''' command line options ... And all my tests shows that the '''--debug''' option impact the stability of the server.&lt;br /&gt;
&lt;br /&gt;
Initially, I used such command line to run OpenSim :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/screen -S Region-service -d -m --debug mono OpenSim.exe&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without the '''--debug''' option, everything seems to be more stable.&lt;br /&gt;
&lt;br /&gt;
About locales, if you read mantis and threads in opensim-dev / opensim-users, you know that there are issues on system that are not &amp;quot;en_US&amp;quot; or &amp;quot;C&amp;quot; local compliant.&lt;br /&gt;
&lt;br /&gt;
I have re-setup my server to be full &amp;quot;en_US.UTF8&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
On my Ubuntu 8.0.4 server :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /etc/default/locale&lt;br /&gt;
LANG=&amp;quot;en_US.UTF-8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# cat /var/lib/locales/supported.d/local&lt;br /&gt;
fr_FR.UTF-8 UTF-8&lt;br /&gt;
en_US.UTF-8 UTF-8&lt;br /&gt;
&lt;br /&gt;
# cat /etc/environment&lt;br /&gt;
PATH=&amp;quot;/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games&amp;quot;&lt;br /&gt;
LANG=&amp;quot;en_US&amp;quot;&lt;br /&gt;
LANGUAGE=&amp;quot;en_US&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And maybe you should need :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# sudo dpkg-reconfigure locales&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So, the resulting '''screen''' command line options should be :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
screen -S Region-service -d -m -U mono OpenSim.exe&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This allow me to run OpenSim SVN.6575 without crash during more than 48 hours, and also SVN.6735 ... &lt;br /&gt;
&lt;br /&gt;
Hope those informations could help peoples.&lt;br /&gt;
&lt;br /&gt;
Just for your information : &lt;br /&gt;
&lt;br /&gt;
Here is my '''OpenSim Startup script''' :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;User-Service...&amp;quot;&lt;br /&gt;
/usr/local/bin/screen -S User-service -d -m -U mono OpenSim.Grid.UserServer.exe&lt;br /&gt;
sleep 5&lt;br /&gt;
echo &amp;quot;Grid-Service...&amp;quot;&lt;br /&gt;
/usr/local/bin/screen -S Grid-service -d -m -U mono OpenSim.Grid.GridServer.exe&lt;br /&gt;
sleep 5&lt;br /&gt;
echo &amp;quot;Asset-Service...&amp;quot;&lt;br /&gt;
/usr/local/bin/screen -S Asset-service -d -m -U mono OpenSim.Grid.AssetServer.exe&lt;br /&gt;
sleep 10&lt;br /&gt;
echo &amp;quot;Inventory-Service...&amp;quot;&lt;br /&gt;
/usr/local/bin/screen -S Inventory-service -d -m -U mono OpenSim.Grid.InventoryServer.exe&lt;br /&gt;
sleep 5&lt;br /&gt;
echo &amp;quot;Region-Service...&amp;quot;&lt;br /&gt;
/usr/local/bin/screen -S Region-service -d -m -U mono OpenSim.exe&lt;br /&gt;
sleep 5&lt;br /&gt;
echo &amp;quot; &amp;quot;&lt;br /&gt;
echo &amp;quot; &amp;quot;&lt;br /&gt;
/usr/local/bin/screen -list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is also a small script that give you a menu to connect to the '''screen(s)''' sessions :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/usr/bin/perl&lt;br /&gt;
&lt;br /&gt;
use strict;&lt;br /&gt;
use Term::Menu;&lt;br /&gt;
&lt;br /&gt;
my $EXIT = 1;&lt;br /&gt;
&lt;br /&gt;
my $MainTitle = &amp;quot;+-----------------------------------------------------+\n&amp;quot;;&lt;br /&gt;
$MainTitle .= &amp;quot;|        Connexion SCREEN aux Serveurs OPENSIM        |\n&amp;quot;;&lt;br /&gt;
$MainTitle .= &amp;quot;|                                                     |\n&amp;quot;;&lt;br /&gt;
$MainTitle .= &amp;quot;|    ( Type CTRL+A+D to exit the Screen Console. )    |\n&amp;quot;;&lt;br /&gt;
$MainTitle .= &amp;quot;+-----------------------------------------------------+\n&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
while ( $EXIT == 1 )&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
  system(&amp;quot;screen -list | grep service &amp;gt; /tmp/osg.services&amp;quot;);&lt;br /&gt;
  my %LIST = ();&lt;br /&gt;
  open(IN, &amp;quot;/tmp/osg.services&amp;quot;);&lt;br /&gt;
  while ( my $i = &amp;lt;IN&amp;gt; )&lt;br /&gt;
  {&lt;br /&gt;
    chomp($i);&lt;br /&gt;
&lt;br /&gt;
    $i =~ s/\./#/g;&lt;br /&gt;
    $i =~ s/\-service\t/#/g;&lt;br /&gt;
    $i =~ s/\t//g;&lt;br /&gt;
    $i =~ s/\(//g;&lt;br /&gt;
    $i =~ s/\)//g;&lt;br /&gt;
&lt;br /&gt;
    my @STATUS = split(/#/, $i);&lt;br /&gt;
    $LIST{$STATUS[1]} = $STATUS[2];&lt;br /&gt;
  }&lt;br /&gt;
  close(IN);&lt;br /&gt;
&lt;br /&gt;
  my %LIST2 = ();&lt;br /&gt;
  my @indices = ('User', 'Grid', 'Asset', 'Inventory', 'Region');&lt;br /&gt;
&lt;br /&gt;
  foreach my $key ( @indices )&lt;br /&gt;
  {&lt;br /&gt;
    # print &amp;quot;$key --&amp;gt; $LIST{$key}\n&amp;quot;;&lt;br /&gt;
    if ( $LIST{$key} =~ /Attached/ )&lt;br /&gt;
    {&lt;br /&gt;
      $LIST2{$key} = &amp;quot;[X]&amp;quot;;&lt;br /&gt;
    }&lt;br /&gt;
    else&lt;br /&gt;
    {&lt;br /&gt;
      $LIST2{$key} = &amp;quot;[ ]&amp;quot;;&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  if ( $LIST{'User'} =~ /Attached/ )&lt;br /&gt;
  {&lt;br /&gt;
    $LIST2{'USER'} = &amp;quot;X&amp;quot;;&lt;br /&gt;
  }&lt;br /&gt;
  else&lt;br /&gt;
  {&lt;br /&gt;
    $LIST2{'USER'} = &amp;quot;-&amp;quot;;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  system ('clear');&lt;br /&gt;
  my $prompt = new Term::Menu (&lt;br /&gt;
    spaces =&amp;gt; 3,&lt;br /&gt;
    aftertext =&amp;gt; &amp;quot;\nChoisir une option : &amp;quot;,&lt;br /&gt;
    beforetext =&amp;gt; ${MainTitle},&lt;br /&gt;
    delim =&amp;gt; &amp;quot;. &amp;quot;,&lt;br /&gt;
  );&lt;br /&gt;
&lt;br /&gt;
  my $SEP = &amp;quot;                   &amp;quot;;&lt;br /&gt;
&lt;br /&gt;
  my $answer = $prompt-&amp;gt;menu(&lt;br /&gt;
                osg_user       =&amp;gt; [&amp;quot;OpenSim User Server       $SEP$LIST2{'User'}&amp;quot;,  '1'],&lt;br /&gt;
                osg_grid       =&amp;gt; [&amp;quot;OpenSim Grid Server       $SEP$LIST2{'Grid'}&amp;quot;,  '2'],&lt;br /&gt;
                osg_asset      =&amp;gt; [&amp;quot;OpenSim Asset Server      $SEP$LIST2{'Asset'}&amp;quot;,  '3'],&lt;br /&gt;
                osg_inventory  =&amp;gt; [&amp;quot;OpenSim Inventory Server  $SEP$LIST2{'Inventory'}&amp;quot;,  '4'],&lt;br /&gt;
                osg_region     =&amp;gt; [&amp;quot;OpenSim Region Server     $SEP$LIST2{'Region'}\n&amp;quot;,  '5'],&lt;br /&gt;
                osg_shutdown   =&amp;gt; [&amp;quot;Shutdown Servers (Manual)&amp;quot;,'6'],&lt;br /&gt;
                osg_shutdown2  =&amp;gt; [&amp;quot;Shutdown Servers (Hard)\n&amp;quot;,'7'],&lt;br /&gt;
                quit    =&amp;gt; [&amp;quot;Quitter&amp;quot;, 'q'],&lt;br /&gt;
                            );&lt;br /&gt;
&lt;br /&gt;
  if ( &amp;quot;${answer}&amp;quot; eq &amp;quot;quit&amp;quot; )&lt;br /&gt;
  {&lt;br /&gt;
    $EXIT = 0;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  if ( &amp;quot;${answer}&amp;quot; eq &amp;quot;osg_user&amp;quot; )&lt;br /&gt;
  {&lt;br /&gt;
    system(&amp;quot;screen -d -r -S User-service&amp;quot;);&lt;br /&gt;
    $EXIT = 1;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  if ( &amp;quot;${answer}&amp;quot; eq &amp;quot;osg_grid&amp;quot; )&lt;br /&gt;
  {&lt;br /&gt;
    system(&amp;quot;screen -d -r -S Grid-service&amp;quot;);&lt;br /&gt;
    $EXIT = 1;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  if ( &amp;quot;${answer}&amp;quot; eq &amp;quot;osg_asset&amp;quot; )&lt;br /&gt;
  {&lt;br /&gt;
    system(&amp;quot;screen -d -r -S Asset-service&amp;quot;);&lt;br /&gt;
    $EXIT = 1;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  if ( &amp;quot;${answer}&amp;quot; eq &amp;quot;osg_inventory&amp;quot; )&lt;br /&gt;
  {&lt;br /&gt;
    system(&amp;quot;screen -d -r -S Inventory-service&amp;quot;);&lt;br /&gt;
    $EXIT = 1;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  if ( &amp;quot;${answer}&amp;quot; eq &amp;quot;osg_region&amp;quot; )&lt;br /&gt;
  {&lt;br /&gt;
    system(&amp;quot;screen -d -r -S Region-service&amp;quot;);&lt;br /&gt;
    $EXIT = 1;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  if ( &amp;quot;${answer}&amp;quot; eq &amp;quot;osg_shutdown&amp;quot; )&lt;br /&gt;
  {&lt;br /&gt;
    system(&amp;quot;screen -d -r -S Region-service&amp;quot;);&lt;br /&gt;
    system(&amp;quot;screen -d -r -S Inventory-service&amp;quot;);&lt;br /&gt;
    system(&amp;quot;screen -d -r -S Asset-service&amp;quot;);&lt;br /&gt;
    system(&amp;quot;screen -d -r -S Grid-service&amp;quot;);&lt;br /&gt;
    system(&amp;quot;screen -d -r -S User-service&amp;quot;);&lt;br /&gt;
    $EXIT = 1;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  if ( &amp;quot;${answer}&amp;quot; eq &amp;quot;osg_shutdown2&amp;quot; )&lt;br /&gt;
  {&lt;br /&gt;
    # system(&amp;quot;/OPENSIM/shutdownGrid.py&amp;quot;);&lt;br /&gt;
    system(&amp;quot;screen -S Region-service -r -m -X quit&amp;quot;);&lt;br /&gt;
    system(&amp;quot;screen -S Inventory-service -r -m -X quit&amp;quot;);&lt;br /&gt;
    system(&amp;quot;screen -S Asset-service -r -m -X quit&amp;quot;);&lt;br /&gt;
    system(&amp;quot;screen -S Grid-service -r -m -X quit&amp;quot;);&lt;br /&gt;
    system(&amp;quot;screen -S User-service -r -m -X quit&amp;quot;);&lt;br /&gt;
    $EXIT = 0;&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Regards, &lt;br /&gt;
Ursula Matova.&lt;/div&gt;</summary>
		<author><name>Ursula Matova</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/wiki/Troubleshooting</id>
		<title>Troubleshooting</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/wiki/Troubleshooting"/>
				<updated>2008-10-09T13:13:00Z</updated>
		
		<summary type="html">&lt;p&gt;Ursula Matova: /* Locales Issues */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Users]]&lt;br /&gt;
This page gives any system-specific configuration settings that may be useful, and advice for problems that might be encountered.&lt;br /&gt;
&lt;br /&gt;
== System-specific configuration ==&lt;br /&gt;
=== CentOS 5 ===&lt;br /&gt;
&lt;br /&gt;
To install mono and nant, you can use the &amp;quot;Linux Installer for x86&amp;quot; found at http://www.mono-project.com/Downloads.&lt;br /&gt;
&lt;br /&gt;
SVN can be installed by:&lt;br /&gt;
&lt;br /&gt;
 yum install subversion&lt;br /&gt;
&lt;br /&gt;
Mono defaults to installing into &amp;lt;tt&amp;gt;/opt&amp;lt;/tt&amp;gt;, so you may have to add this path to your environment variables, for example, in your &amp;lt;tt&amp;gt;~/.bashrc&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 export PATH=&amp;quot;/opt/mono-1.2.5/bin:$PATH&amp;quot;&lt;br /&gt;
 export PKG_CONFIG_PATH=&amp;quot;/opt/mono-1.2.5/lib/pkgconfig:$PKG_CONFIG_PATH&amp;quot;&lt;br /&gt;
 export MANPATH=&amp;quot;/opt/mono-1.2.5/share/man:$MANPATH&amp;quot;&lt;br /&gt;
 export LD_LIBRARY_PATH=&amp;quot;/opt/mono-1.2.5/lib:$LD_LIBRARY_PATH&amp;quot;&lt;br /&gt;
&lt;br /&gt;
After changing &amp;lt;tt&amp;gt;LD_LIBRARY_PATH&amp;lt;/tt&amp;gt;, you should update the dynamic linker cache:&lt;br /&gt;
&lt;br /&gt;
 ldconfig&lt;br /&gt;
&lt;br /&gt;
You may still encounter the &amp;quot;The current runtime framework 'mono-2.0' is not correctly configured in the NAnt configuration file.&amp;quot; error listed below.  In that case, this may fix this:&lt;br /&gt;
&lt;br /&gt;
 yum install glib&lt;br /&gt;
&lt;br /&gt;
If you are running a firewall as well (i.e., if &amp;lt;tt&amp;gt;iptables -L&amp;lt;/tt&amp;gt; shows a list of ACCEPT and REJECT rules), you'll have to open the necessary ports if you want to access the sim from other machines.  For standalone mode:&lt;br /&gt;
&lt;br /&gt;
 iptables -I RH-Firewall-1-INPUT -p tcp --dport 9000 -j ACCEPT&lt;br /&gt;
 iptables -I RH-Firewall-1-INPUT -p udp --dport 9000 -j ACCEPT&lt;br /&gt;
&lt;br /&gt;
=== Debian 4.0r0 ===&lt;br /&gt;
&lt;br /&gt;
If you set your system to use unstable sources, and then install some packages listed below, everything should just work.  To use unstable sources, modify your &amp;lt;tt&amp;gt;/etc/apt/sources.list&amp;lt;/tt&amp;gt; file, replacing 'etch' or 'stable' with 'unstable':&lt;br /&gt;
&lt;br /&gt;
 deb ftp://ftp.debian.org/debian/ unstable main&lt;br /&gt;
 deb-src ftp://ftp.debian.org/debian/ unstable main&lt;br /&gt;
&lt;br /&gt;
Then update your packages to the new versions:&lt;br /&gt;
&lt;br /&gt;
 apt-get update&lt;br /&gt;
 apt-get dist-upgrade&lt;br /&gt;
&lt;br /&gt;
This will probably change a large number of packages, and may break things.&lt;br /&gt;
In my experience, however, if you do not use unstable sources then the packages are not up to date enough, and you run into version issues, which lead to two DllNotFoundException errors below appearing in the console output: gdiplus.dll and libopenjpeg-libsl-2.1.2.0.so.&lt;br /&gt;
&lt;br /&gt;
Once the sources are updated, we need to install the necessary packages to be able to build OpenSim:&lt;br /&gt;
&lt;br /&gt;
 apt-get install subversion mono nant mono-gmcs mono-mjs libmono-microsoft8.0-cil libmono-system-runtime2.0-cil&lt;br /&gt;
&lt;br /&gt;
If any of these packages are missing, you'll probably encounter one of the errors listed below.  However, with these packages, OpenSim should build cleanly.&lt;br /&gt;
&lt;br /&gt;
Please note: If you are using mysql as storage on unstable you may get the following error:-&lt;br /&gt;
&lt;br /&gt;
 Exception: System.NotSupportedException: CodePage 1252 not supported&lt;br /&gt;
  at System.Text.Encoding.GetEncoding (Int32 codePage) [0x00000] &lt;br /&gt;
&lt;br /&gt;
To get it to work, try installing the libmono-i18n2.0-cil package&lt;br /&gt;
&lt;br /&gt;
 apt-get install libmono-i18n2.0-cil&lt;br /&gt;
&lt;br /&gt;
=== Gentoo ===&lt;br /&gt;
some Mono dependency &amp;amp; latest Mono itself may use &amp;quot;~x86&amp;quot; masked packages (assuming x86 is your platform, change may be made to reflect your ex:&amp;quot;~amd64&amp;quot; for 64bits). You could check for USE parameter with:&lt;br /&gt;
&lt;br /&gt;
 ACCEPT_KEYWORDS=&amp;quot;~x86&amp;quot; emerge -vp subversion nant mono libgdiplus&lt;br /&gt;
&lt;br /&gt;
Then install with:&lt;br /&gt;
&lt;br /&gt;
 ACCEPT_KEYWORDS=&amp;quot;~x86&amp;quot; emerge subversion nant mono libgdiplus&lt;br /&gt;
&lt;br /&gt;
N.B: The ACCEPT_KEYWORDS=&amp;quot;~x86&amp;quot; can be set in Gentoo /etc/make.conf file, but that turn up all the emerges in testing/unstable, using it at the begining of emerge command line use it only for current emerge process&lt;br /&gt;
&lt;br /&gt;
=== Mac OS X ===&lt;br /&gt;
This assumes you're using the universal binary for mono from the [http://www.mono-project.com/ Mono Project] site.&lt;br /&gt;
&lt;br /&gt;
If you are using OS X 10.4, you should also install X11 from the OS X install CDs.&lt;br /&gt;
In OS X 10.5, this is not required.&lt;br /&gt;
&lt;br /&gt;
If you get errors about the 2.0 framework not being supported, you may need to update your &amp;lt;tt&amp;gt;pkg-config&amp;lt;/tt&amp;gt; path.&lt;br /&gt;
I set this in &amp;lt;tt&amp;gt;~/.bash_profile&amp;lt;/tt&amp;gt;:&lt;br /&gt;
 export PKG_CONFIG_PATH=&amp;quot;/Library/Frameworks/Mono.framework/Versions/Current/lib/pkgconfig/:${PKG_CONFIG_PATH}&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Errors and fixes ==&lt;br /&gt;
&lt;br /&gt;
=== Build workarounds due to non-functionality or bugs: ===&lt;br /&gt;
&lt;br /&gt;
==== Disappearing prims due to duplicate UID's ====&lt;br /&gt;
Generally this problem occurs when a save-xml/load-xml file is loaded into the same sim without using the -newUID switch to generate new UUID's for the objects. This switch is documented in the [[Running#General OpenSim server commands|general server commands]] section. (&amp;lt;nowiki&amp;gt;load-xml &amp;lt;filename&amp;gt; -newUID&amp;lt;/nowiki&amp;gt;). But if this does not work, the other way is to shift-copy your build and drag it up into the air.. then delete the one in the air, (which is actually the copy). This will generate new UID's on all your prims.. you can now leave that build, and load your original load-xml file in another region.&lt;br /&gt;
&lt;br /&gt;
==== Linked objects not scaling/editing properly ====&lt;br /&gt;
From Mantis [[http://opensimulator.org/mantis/view.php?id=135 # 135]] and [[http://opensimulator.org/mantis/view.php?id=223 # 223]]: &amp;lt;br /&amp;gt;&lt;br /&gt;
Linked objects: while linking/unlinking objects seems to work fine, the editing of single prims inside a linked object doesn't work correctly. You have to check the box &amp;quot;Edit linked parts&amp;quot;, then you can select a single prim and edit it, but in most cases the changes in size- and/or postion-parameters are not accepted and revert immediately to the original ones. It is not completely reproducible, as it may work in some single case though.&amp;lt;br /&amp;gt;&lt;br /&gt;
'''Workaround:''' unlink the whole object, make the changes, and relink the whole thing again. &amp;lt;br /&amp;gt; ''note:'' re-scaling unlinked objects in grid mode seems to work better than in standalone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Exception and loss of ode physics System.EntryPointNotFoundException: dSpaceLockQuery ===&lt;br /&gt;
&lt;br /&gt;
The following is usually caused by using the wrong version of libode.  First try find / -name &amp;quot;libode.so&amp;quot; to see if you have other copies of the ode physics engine.  Then make sure you have the latest version of this.&lt;br /&gt;
&lt;br /&gt;
[SCENE] [02-01 22:20:40] System.EntryPointNotFoundException: dSpaceLockQuery&lt;br /&gt;
  at (wrapper managed-to-native) Ode.NET.d:SpaceLockQuery (intptr)&lt;br /&gt;
  at OpenSim.Region.Physics.OdePlugin.OdeScene.waitForSpaceUnlock (IntPtr space) [0x00000] &lt;br /&gt;
  at OpenSim.Region.Physics.OdePlugin.OdeCharacter.AvatarGeomAndBodyCreation (Single npositionX, Single npositionY, Single npositionZ, Single tensor) [0x00000] &lt;br /&gt;
  at OpenSim.Region.Physics.OdePlugin.OdeCharacter..ctor (System.String avName, OpenSim.Region.Physics.OdePlugin.OdeScene parent_scene, OpenSim.Region.Physics.Manager.PhysicsVector pos) [0x00000] &lt;br /&gt;
  at OpenSim.Region.Physics.OdePlugin.OdeScene.AddAvatar (System.String avName, OpenSim.Region.Physics.Manager.PhysicsVector position) [0x00000] &lt;br /&gt;
  at OpenSim.Region.Environment.Scenes.ScenePresence.AddToPhysicalScene () [0x00000] &lt;br /&gt;
  at OpenSim.Region.Environment.Scenes.ScenePresence.MakeRootAgent (LLVector3 pos, Boolean isFlying) [0x00000] &lt;br /&gt;
  at OpenSim.Region.Environment.Scenes.Scene.AgentCrossing (UInt64 regionHandle, LLUUID agentID, LLVector3 position, Boolean isFlying) [0x00000]&lt;br /&gt;
=== MySQL connection errors after about 6-8 hours ===&lt;br /&gt;
&lt;br /&gt;
MySQL has a timeout which drops the connection after 28,800 seconds (8 hours) of inactivity, which will probably result in failure to login after the User server has been sitting idle for an extended period.  If you have this problem, increase the timeout to something larger, like 604800 (1 week) or 31536000 (1 year).  From the mysql console, type:&lt;br /&gt;
&lt;br /&gt;
 set global wait_timeout=604800;&lt;br /&gt;
&lt;br /&gt;
=== System.DllNotFoundException: gdiplus.dll ===&lt;br /&gt;
&lt;br /&gt;
First, check to make sure that &amp;lt;tt&amp;gt;libgdiplus.so&amp;lt;/tt&amp;gt; is known to the dynamic linker:&lt;br /&gt;
&lt;br /&gt;
 /sbin/ldconfig -p | grep libgdiplus&lt;br /&gt;
&lt;br /&gt;
If nothing is found, make sure that the directory libgdiplus.so exists in is either in your &amp;lt;tt&amp;gt;LD_LIBRARY_PATH&amp;lt;/tt&amp;gt; environment variable or listed in a *.conf file (e.g., gdiplus.conf) in /etc/ld.so.conf.d/.  Then run &amp;lt;tt&amp;gt;ldconfig&amp;lt;/tt&amp;gt; to update the cache.  Then it should be able to find the library.&lt;br /&gt;
&lt;br /&gt;
You may still have the above error, however, since libgdiplus also depends on other dynamic libraries, and if they fail to load, libgdiplus will fail.  To test for this, run OpenSim with debugging information turned on:&lt;br /&gt;
&lt;br /&gt;
 MONO_LOG_LEVEL=debug mono OpenSim.exe&lt;br /&gt;
&lt;br /&gt;
{It may show errors loading other libraries, like &amp;lt;tt&amp;gt;libexif.so.9&amp;lt;/tt&amp;gt;.  In that case, linking to an existing version of the offending library may work:&lt;br /&gt;
&lt;br /&gt;
 ln -s libexif.so.12 libexif.so.9&lt;br /&gt;
&lt;br /&gt;
On Mac OS X - check the following file exists... /opt/local/lib/libgdiplus.dylib if it does then as root user edit the file /opt/local/etc/mono/config &lt;br /&gt;
and add the line &lt;br /&gt;
 &amp;lt;dllmap dll=&amp;quot;gdiplus.dll&amp;quot; target=&amp;quot;/opt/local/lib/libgdiplus.dylib&amp;quot; os=&amp;quot;!windows&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''(Is there a cleaner solution than this?)''} **see below for alternative/cleaner fix**&lt;br /&gt;
&lt;br /&gt;
== When installing mono or libgdiplus0 you may get dependency missing libexif.so.9 == &lt;br /&gt;
&lt;br /&gt;
This was noticed on Centos5 but may occur on other systems, download ftp://rpmfind.net/linux/conectiva/snapshot/i386/RPMS.extra/libexif9-0.5.12-47547cl.i386.rpm and install problem solved. You will now be able to install mono (as long as nothing else goes wrong )&lt;br /&gt;
&lt;br /&gt;
=== The assembly mscorlib.dll was not found or could not be loaded ===&lt;br /&gt;
&lt;br /&gt;
This indicates that you are missing one of the mscor libs that comes with nant.  This is easily solved by getting NAnt, which comes with both versions 1.0 and 2.0 of the required lib.&lt;br /&gt;
&lt;br /&gt;
 apt-get install nant&lt;br /&gt;
&lt;br /&gt;
=== External Program Failed: /usr/lib/pkgconfig/../../lib/mono/2.0/gmcs.exe === &lt;br /&gt;
&lt;br /&gt;
This is quickly fixed by retrieving mono-gmcs.&lt;br /&gt;
&lt;br /&gt;
 apt-get install mono-gmcs&lt;br /&gt;
&lt;br /&gt;
=== The type or namespace name JScript does not exist in the namespace Microsoft ===&lt;br /&gt;
&lt;br /&gt;
Note that it says Jscript over and over again.  Hint perhaps?&lt;br /&gt;
&lt;br /&gt;
 apt-get install mono-mjs libmono-microsoft8.0-cil&lt;br /&gt;
&lt;br /&gt;
On Fedora, the needed package is mono-jscript&lt;br /&gt;
&lt;br /&gt;
=== The type or namespace name Tcp does not exist in the namespace System.Runtime.Remoting.Channels ===&lt;br /&gt;
&lt;br /&gt;
This one is taken care of with a quick install:&lt;br /&gt;
&lt;br /&gt;
 apt-get install libmono-system-runtime2.0-cil&lt;br /&gt;
&lt;br /&gt;
=== Missing: libopenjpeg-libsl-2.1.2.0-x86_64.so ===&lt;br /&gt;
  You are on 64bit linux machine and my need to follow these instructions: [[Installing_and_running_on_x86-64 |Installing and running on x86-64 ]]&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
=== error while loading shared libraries: libgthread-2.0.so.0: cannot open shared object file ===&lt;br /&gt;
&lt;br /&gt;
If you start with a base Debian system as we did at the top of the page, but instead of using the apt version of mono you use the installer from their website, then you may encounter this issue.&lt;br /&gt;
&lt;br /&gt;
After getting the .bin file from http://www.mono-project.com/Downloads, and executing it as per its instructions, upon finishing, you may find that if you try to run `mono --version` you are presented with this message. This one means you need to install libglib2.0-0.&lt;br /&gt;
&lt;br /&gt;
 apt-get install libglib2.0-0&lt;br /&gt;
&lt;br /&gt;
=== The current runtime framework 'mono-2.0' is not correctly configured in the NAnt configuration file. ===&lt;br /&gt;
&lt;br /&gt;
This one seems to be fixed by retrieving the apt version of nant.&lt;br /&gt;
&lt;br /&gt;
 apt-get install nant&lt;br /&gt;
&lt;br /&gt;
This can also be due to &amp;lt;tt&amp;gt;pkg-config&amp;lt;/tt&amp;gt; not being able to locate the &amp;lt;tt&amp;gt;mono.pc&amp;lt;/tt&amp;gt; file.  Adding the directory containing this file to the environment variable &amp;lt;tt&amp;gt;PKG_CONFIG_PATH&amp;lt;/tt&amp;gt; may solve this.&lt;br /&gt;
&lt;br /&gt;
== Networking and config issues ==&lt;br /&gt;
   [[OpenSim:Running |See Running section]]&lt;br /&gt;
&lt;br /&gt;
=== You are able to log in, but not connect to a Region from a remote client ===&lt;br /&gt;
&lt;br /&gt;
    Look in your OpenSimulator/bin/Regions folder &lt;br /&gt;
    1) Try 0.0.0.0 for the internal_ip_address in your region.xml(default.xml) file&lt;br /&gt;
         (you'll have one of those files *per* region you've created)&lt;br /&gt;
    2) external_host_name=&amp;quot;127.0.0.1&amp;quot; will need to be changed to the accessable DNS name&lt;br /&gt;
        such as &amp;quot;opensim.example-host.com&amp;quot; or &amp;quot;71.6.131.152&amp;quot; (your public accessable ip)&lt;br /&gt;
&lt;br /&gt;
==Building OpenSim==&lt;br /&gt;
===I can't find any build files or solution files===&lt;br /&gt;
* If you're on Windows, run &amp;lt;tt&amp;gt;runprebuild.bat&amp;lt;/tt&amp;gt; - on Linux/Mac/FreeBSD, run &amp;lt;tt&amp;gt;runprebuild.sh&amp;lt;/tt&amp;gt;&lt;br /&gt;
=== VS2005 won't open the .sln file ===&lt;br /&gt;
* Try running VS2005 C#. You are probably running VS2005 C++. This is a C# project.&lt;br /&gt;
&lt;br /&gt;
==Running OpenSim==&lt;br /&gt;
=== Running OpenSim.exe from a Cygwin shell has access denied for some dll's ===&lt;br /&gt;
* Do a '&amp;lt;tt&amp;gt;cd bin&amp;lt;/tt&amp;gt;' followed by '&amp;lt;tt&amp;gt;chmod a+x *&amp;lt;/tt&amp;gt;' to make all dll files executable.&lt;br /&gt;
===I cannot start my sim===&lt;br /&gt;
* See [[Configuration]]&lt;br /&gt;
&lt;br /&gt;
==Something Has Gone Wrong!==&lt;br /&gt;
=== I get errors concerning 'owner_uuid' when starting up my grid after updating from svn beyond r3254 ===&lt;br /&gt;
When updating to recent revisions after r3254, we are now using the unused owner_uuid. There are some grids whose mysql tables were created during a time when this field was inadvertently removed from the .sql script that initializes the regions table. Logging in to your mysql instance and executing this SQL query to add the missing owner_uuid should solve this issue:&lt;br /&gt;
 alter table `regions` add column `owner_uuid` varchar(36) default '00000000-0000-0000-0000-000000000000' not null, comment 'Rev.2';&lt;br /&gt;
The punctuation around regions and owner_uuid is &amp;quot;grave accent&amp;quot;. The punctuation around the default value and the comment is the single quote. The &amp;quot;grave accent&amp;quot; is the one generally to the left of the One button, under the tilde and the single-quote, is, well, underneath the double quote. I think this matters to mysql.&lt;br /&gt;
&lt;br /&gt;
=== I get errors concerning 'State' when starting up my grid after updating from svn beyond r3786 ===&lt;br /&gt;
After r3786, a new 'State' field has been added to the 'primshapes' table on SQLite. This field is used to persist trees and grass.&lt;br /&gt;
You may have an empty region at startup, because OpenSim does not find this 'State' field and does not know what to do.&lt;br /&gt;
The best is to use SQLiteBrowser or another SQLite table editor (download it at [http://sqlitebrowser.sourceforge.net/ http://sqlitebrowser.sourceforge.net/]) to create the missing field:&lt;br /&gt;
 alter table primshapes add column State integer default 0&lt;br /&gt;
Just launch SQLiteBrowser, use File/Open database, then browse to OpenSim.db file and open it. Then, go to the &amp;quot;Execute SQL&amp;quot; tab, copy/paste the command above in the &amp;quot;SQL string&amp;quot; textbox, then hit the &amp;quot;Execute query&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
=== I get a timeout during region handshake ===&lt;br /&gt;
* Do you have the correct IP in your Regions\* config files?&lt;br /&gt;
* Do you have multiple interfaces on the server running OpenSim? OpenSim will not bind outgoing UDP packets to a specific IP, its default IP to reach you will be what the Region answers UDP with. If you have configured the region for another IP you will get a timeout during connect.&lt;br /&gt;
&lt;br /&gt;
=== I cannot connect to my OpenSim ===&lt;br /&gt;
* See [[OpenSim: Connecting]]&lt;br /&gt;
&lt;br /&gt;
===I can connect but cannot move===&lt;br /&gt;
If the client connects but the avatar can only spin in place and not move, then the sim is not correctly configured. It completed the initial login function, but packets are not being exchanged between the client and the sim, probably due to a network configuration error on the sim.&lt;br /&gt;
* See [[OpenSim: Configuration]]&lt;br /&gt;
&lt;br /&gt;
=== From time to time my Avatar seems to get stuck ===&lt;br /&gt;
Right now there is a bottle neck when syncing prims off to the database.  This will cause small (5 - 10 second) apparent hangs of the Avatar, but it will recover fine once the data is synced.  It is a known issue based on legacy architecture of some of the data storage code.  We hope this will be removed soon.&lt;br /&gt;
&lt;br /&gt;
=== I have problems with viewing the worldmap ===&lt;br /&gt;
* This may happen when running OpenSim on a Linux server, both in grid or standalone mode.&lt;br /&gt;
* Symptoms: when opening the worldmap window in the SL-viewer, the sims are not displayed grahically in the worldmap, the server console shows some error related to openjpeg, the current session freezes...&lt;br /&gt;
* Reason: your svn source trunk does not have the correct (or whatever...) &amp;lt;tt&amp;gt;libopenjpeg-libsl&amp;lt;/tt&amp;gt; library.&lt;br /&gt;
* Other reason: the file &amp;quot;defaultstripe.png&amp;quot; does not exists in the same OpenSim folder, or is corrupted.&lt;br /&gt;
* Solution: get the newest code from libsecondlife (&amp;lt;tt&amp;gt;svn co svn://opensecondlife.org/libsl/trunk&amp;lt;/tt&amp;gt;), '&amp;lt;tt&amp;gt;make&amp;lt;/tt&amp;gt;' manually in the subdir &amp;lt;tt&amp;gt;openjpeg-libsl&amp;lt;/tt&amp;gt;, and copy the resulting &amp;lt;tt&amp;gt;libopenjpeg-libsl-2.1.2.0.so&amp;lt;/tt&amp;gt; into your OpenSim &amp;lt;tt&amp;gt;bin&amp;lt;/tt&amp;gt; subdir, overwriting the existing one.&lt;br /&gt;
* Recompile &amp;amp; restart OpenSim&lt;br /&gt;
&lt;br /&gt;
==Exceptions on the Console==&lt;br /&gt;
This is a list of Exceptions that you may see on the console, what they mean, and if they are a problem.&lt;br /&gt;
&lt;br /&gt;
===System.DllNotFoundException: ./libopenjpeg-libsl-2.1.2.0.so===&lt;br /&gt;
 Failed generating terrain map: System.DllNotFoundException: ./libopenjpeg-libsl-2.1.2.0.so&lt;br /&gt;
 at (wrapper managed-to-native) OpenJPEGNet.OpenJPEG:LibslAllocDecoded OpenJPEGNet.OpenJPEG/LibslImage&amp;amp;)&lt;br /&gt;
 at OpenJPEGNet.OpenJPEG.Encode (System.Byte[] decoded, Int32 width, Int32 height, Int32 components, Boolean lossless) [0x00000]&lt;br /&gt;
 at OpenJPEGNet.OpenJPEG.EncodeFromImage (System.Drawing.Bitmap bitmap, Boolean lossless) [0x00000]&lt;br /&gt;
 at OpenSim.Region.Terrain.TerrainEngine.ExportJpegImage (System.String gradientmap) [0x00000]&lt;br /&gt;
&lt;br /&gt;
You are on Linux, and the native lib libopenjpeg-libsl-2.1.2.0.so is not compatible with your system for one of the following reasons:&lt;br /&gt;
* You have an old processor (libopenjpeg has been compiled with optimizations)&lt;br /&gt;
* You are running in 64bit mode (none of the native libs are built for 64bit)&lt;br /&gt;
&lt;br /&gt;
You can rebuild your own libopenjpeg from source, or run in a compatible environment.&lt;br /&gt;
You can do this by:&lt;br /&gt;
 svn co svn://opensecondlife.org/libsl/trunk libsl&lt;br /&gt;
 cd libsl/openjpeg-libsl/&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
then copy libopenjpeg-libsl-2.1.2.0.so into OpenSim bin-folder.&lt;br /&gt;
&lt;br /&gt;
==Grid Mode==&lt;br /&gt;
Note: Grid Mode isn't officially supported yet.  As such, you are pretty much on your own if you are trying to get OpenSim up and running in Grid Mode.&lt;br /&gt;
&lt;br /&gt;
=== I start the sim and it doesn't connect to any grid ===&lt;br /&gt;
&lt;br /&gt;
When OpenSim is first started, it needs configuration.&lt;br /&gt;
&lt;br /&gt;
* See [[OpenSim: Configuration]].&lt;br /&gt;
&lt;br /&gt;
===I start the OpenSim.Grid.UserServer.exe and it gives an error===&lt;br /&gt;
If this error is access denied for &amp;lt;tt&amp;gt;username@localhost&amp;lt;/tt&amp;gt;, the mysql database is not set up.&lt;br /&gt;
It will print some text and wait for input - either an enter to accept a default value, or another value you can supply.&lt;br /&gt;
* See [[OpenSim: Configuration]].&lt;br /&gt;
&lt;br /&gt;
===I want to run my own Local Grid but one or more servers fail to start===&lt;br /&gt;
* Be sure that you're able to start &amp;lt;tt&amp;gt;OpenSim.exe&amp;lt;/tt&amp;gt; alone, in Standalone mode, and to be able to login.&lt;br /&gt;
* Start the servers in the correct UGAS order and answer the questions as recommended (see [[OpenSim: Configuration]]).&lt;br /&gt;
* Set all the external URI's to the correct IP: 127.0.0.1 if running on your local machine, or aaa.bbb.ccc.ddd if running on a remote server.&lt;br /&gt;
* Check again all the &amp;lt;tt&amp;gt;*.xml&amp;lt;/tt&amp;gt; configuration files for any wrong settings or typing errors...!&lt;br /&gt;
* Don't forget to connect with your SL-viewer to port 8002 (Grid User-Server) instead of 9000 (Standalone OpenSim-Server).&lt;br /&gt;
* Delete all &amp;lt;tt&amp;gt;*.xml&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;*.yap&amp;lt;/tt&amp;gt; files in the &amp;lt;tt&amp;gt;bin&amp;lt;/tt&amp;gt; directory if you want to run a full reconfiguration again.&lt;br /&gt;
&lt;br /&gt;
===I get a bunch of asset not found errors, while connected to a online grid, and my inventory doesn't seem to work right===&lt;br /&gt;
*Make sure your opensim.ini has '      asset_database = &amp;quot;grid&amp;quot;      ' otherwise it will not work correctly.&lt;br /&gt;
[[Category:Users]]&lt;br /&gt;
&lt;br /&gt;
== ScriptEngine Issues ==&lt;br /&gt;
=== Got &amp;quot;Primitive: Error compiling script: unknown char: . error&amp;quot; when compiling script ===&lt;br /&gt;
When trying to compile a script ( using DotNetEngine or XEngine ) you could have this error :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Primitive: Error compiling script:&lt;br /&gt;
unknown char: .&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And on the console :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
11:06:37 - [ScriptEngine.DotNetEngine]: Unloading script&lt;br /&gt;
11:06:37 - Exception in MaintenanceLoopThread. Thread will recover after 5 sec throttle. Exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.&lt;br /&gt;
 at System.Collections.Generic.Dictionary`2[OpenSim.Region.ScriptEngine.Interfaces.IEventReceiver,OpenSim.Region.ScriptEngine.Shared.Api.Plugins.Dataserver].get_Item (IEventReceiver key) [0x00000]&lt;br /&gt;
 at OpenSim.Region.ScriptEngine.Shared.Api.AsyncCommandManager.RemoveScript (IEventReceiver engine, UInt32 localID, UUID itemID) [0x00000]&lt;br /&gt;
 at OpenSim.Region.ScriptEngine.DotNetEngine.ScriptManager._StopScript (UInt32 localID, UUID itemID) [0x00000]&lt;br /&gt;
 at OpenSim.Region.ScriptEngine.DotNetEngine.ScriptManager.DoScriptLoadUnload () [0x00000]&lt;br /&gt;
 at OpenSim.Region.ScriptEngine.DotNetEngine.MaintenanceThread.MaintenanceLoop () [0x00000]&lt;br /&gt;
11:06:37 - [ScriptEngine.DotNetEngine]: Loading script&lt;br /&gt;
11:06:37 - [ScriptEngine.DotNetEngine]: ScriptManager StartScript: localID: 720001, itemID: 88c9d28c-6004-4609-a707-717190de044a&lt;br /&gt;
11:06:37 - [Compiler]: Compiled new assembly for fad15951-f9aa-493f-be68-2aaf5ff8a3c9&lt;br /&gt;
11:06:37 - [SCRIPT]: Compiled assetID fad15951-f9aa-493f-be68-2aaf5ff8a3c9: ScriptEngines/a83150da-1ab1-11dd-89fb-0014853ee9da/CommonCompiler_compiled_fad15951-f9aa-493f-be68-2aaf5ff8a3c9.dll&lt;br /&gt;
11:06:37 - [ScriptEngine.DotNetEngine]: AppDomain Loading: OpenSim.Region.ScriptEngine.Shared, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This happens on '''linux''' when your locales are not set to default ( &amp;quot;C&amp;quot; ).&lt;br /&gt;
* You could refer to [http://opensimulator.org/mantis/view.php?id=2088 Mantis #2088] and [http://opensimulator.org/mantis/view.php?id=2015 Mantis #2015] for a workaround to run opensim.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
env LANG=C mono --debug OpenSim.exe&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* You could also change your locale setup. Here is what I use in my '.bash_profile' :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LC_ALL=C&lt;br /&gt;
export LANG=C&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
I know it's a ugly way to setup locales on a linux box, but it works fine on my '''Linux From Scratch''' box.&lt;br /&gt;
== Locales Issues ==&lt;br /&gt;
Well, some of us, OpenSim users, ran into random crash of the OpenSim Region server in grid mode ... &lt;br /&gt;
&lt;br /&gt;
I have made many tests to find a solution about that problem.&lt;br /&gt;
&lt;br /&gt;
I first ran into this problem with OpenSIM SVN.6660 ... Even if I have no users connected, my OpenSim region server randomly crash ( after 1 hour, or 5 hours, ... ).&lt;br /&gt;
&lt;br /&gt;
My first idea was to upgrade to the latest SVN release, no chance, same problem. So I made a test with a previous SVN release ( SVN.6575 ) which is running fine on another server ( same OS, same parameters, same mono release, ... ) : No chance, same problem.&lt;br /&gt;
&lt;br /&gt;
Then, I tried to play with locales, recompile the '''screen''' unix command line utility I use to run my servers, ... No chance again.&lt;br /&gt;
&lt;br /&gt;
So, I checked the memory usage on my Server, and I discovered that with the last SVN release, the amount of memory needed to run OpenSim server in multi-region/grid mode increased :) ... So, I have tuned my MySQL server to use less memory. Was better, but my OpenSim region server still randomly crash ( but could stay alive longer than before ).&lt;br /&gt;
&lt;br /&gt;
Then, trying to play with the '''screen''' command line options ... And all my tests shows that the '''--debug''' option impact the stability of the server.&lt;br /&gt;
&lt;br /&gt;
Initially, I used such command line to run OpenSim :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/screen -S Region-service -d -m --debug mono OpenSim.exe&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without the '''--debug''' option, everything seems to be more stable.&lt;br /&gt;
&lt;br /&gt;
About locales, if you read mantis and threads in opensim-dev / opensim-users, you know that there are issues on system that are not &amp;quot;en_US&amp;quot; or &amp;quot;C&amp;quot; local compliant.&lt;br /&gt;
&lt;br /&gt;
I have re-setup my server to be full &amp;quot;en_US.UTF8&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
On my Ubuntu 8.0.4 server :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# cat /etc/default/locale&lt;br /&gt;
LANG=&amp;quot;en_US.UTF-8&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# cat /var/lib/locales/supported.d/local&lt;br /&gt;
fr_FR.UTF-8 UTF-8&lt;br /&gt;
en_US.UTF-8 UTF-8&lt;br /&gt;
&lt;br /&gt;
# cat /etc/environment&lt;br /&gt;
PATH=&amp;quot;/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games&amp;quot;&lt;br /&gt;
LANG=&amp;quot;en_US&amp;quot;&lt;br /&gt;
LANGUAGE=&amp;quot;en_US&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And maybe you should need :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# sudo dpkg-reconfigure locales&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So, the resulting '''screen''' command line options should be :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
screen -S Region-service -d -m -U mono OpenSim.exe&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This allow me to run OpenSim SVN.6575 without crash during more than 48 hours, and also SVN.6735 ... &lt;br /&gt;
&lt;br /&gt;
Hope those informations could help peoples.&lt;br /&gt;
&lt;br /&gt;
Just for your information : &lt;br /&gt;
&lt;br /&gt;
Here is my '''OpenSim Startup script''' :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;User-Service...&amp;quot;&lt;br /&gt;
/usr/local/bin/screen -S User-service -d -m -U mono OpenSim.Grid.UserServer.exe&lt;br /&gt;
sleep 5&lt;br /&gt;
echo &amp;quot;Grid-Service...&amp;quot;&lt;br /&gt;
/usr/local/bin/screen -S Grid-service -d -m -U mono OpenSim.Grid.GridServer.exe&lt;br /&gt;
sleep 5&lt;br /&gt;
echo &amp;quot;Asset-Service...&amp;quot;&lt;br /&gt;
/usr/local/bin/screen -S Asset-service -d -m -U mono OpenSim.Grid.AssetServer.exe&lt;br /&gt;
sleep 10&lt;br /&gt;
echo &amp;quot;Inventory-Service...&amp;quot;&lt;br /&gt;
/usr/local/bin/screen -S Inventory-service -d -m -U mono OpenSim.Grid.InventoryServer.exe&lt;br /&gt;
sleep 5&lt;br /&gt;
echo &amp;quot;Region-Service...&amp;quot;&lt;br /&gt;
/usr/local/bin/screen -S Region-service -d -m -U mono OpenSim.exe&lt;br /&gt;
sleep 5&lt;br /&gt;
echo &amp;quot; &amp;quot;&lt;br /&gt;
echo &amp;quot; &amp;quot;&lt;br /&gt;
/usr/local/bin/screen -list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is also a small script that give you a menu to connect to the '''screen(s)''' sessions :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/usr/bin/perl&lt;br /&gt;
&lt;br /&gt;
use strict;&lt;br /&gt;
use Term::Menu;&lt;br /&gt;
&lt;br /&gt;
my $EXIT = 1;&lt;br /&gt;
&lt;br /&gt;
my $MainTitle = &amp;quot;+-----------------------------------------------------+\n&amp;quot;;&lt;br /&gt;
$MainTitle .= &amp;quot;|        Connexion SCREEN aux Serveurs OPENSIM        |\n&amp;quot;;&lt;br /&gt;
$MainTitle .= &amp;quot;|                                                     |\n&amp;quot;;&lt;br /&gt;
$MainTitle .= &amp;quot;|    ( Type CTRL+A+D to exit the Screen Console. )    |\n&amp;quot;;&lt;br /&gt;
$MainTitle .= &amp;quot;+-----------------------------------------------------+\n&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
while ( $EXIT == 1 )&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
  system(&amp;quot;screen -list | grep service &amp;gt; /tmp/osg.services&amp;quot;);&lt;br /&gt;
  my %LIST = ();&lt;br /&gt;
  open(IN, &amp;quot;/tmp/osg.services&amp;quot;);&lt;br /&gt;
  while ( my $i = &amp;lt;IN&amp;gt; )&lt;br /&gt;
  {&lt;br /&gt;
    chomp($i);&lt;br /&gt;
&lt;br /&gt;
    $i =~ s/\./#/g;&lt;br /&gt;
    $i =~ s/\-service\t/#/g;&lt;br /&gt;
    $i =~ s/\t//g;&lt;br /&gt;
    $i =~ s/\(//g;&lt;br /&gt;
    $i =~ s/\)//g;&lt;br /&gt;
&lt;br /&gt;
    my @STATUS = split(/#/, $i);&lt;br /&gt;
    $LIST{$STATUS[1]} = $STATUS[2];&lt;br /&gt;
  }&lt;br /&gt;
  close(IN);&lt;br /&gt;
&lt;br /&gt;
  my %LIST2 = ();&lt;br /&gt;
  my @indices = ('User', 'Grid', 'Asset', 'Inventory', 'Region');&lt;br /&gt;
&lt;br /&gt;
  foreach my $key ( @indices )&lt;br /&gt;
  {&lt;br /&gt;
    # print &amp;quot;$key --&amp;gt; $LIST{$key}\n&amp;quot;;&lt;br /&gt;
    if ( $LIST{$key} =~ /Attached/ )&lt;br /&gt;
    {&lt;br /&gt;
      $LIST2{$key} = &amp;quot;[X]&amp;quot;;&lt;br /&gt;
    }&lt;br /&gt;
    else&lt;br /&gt;
    {&lt;br /&gt;
      $LIST2{$key} = &amp;quot;[ ]&amp;quot;;&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  if ( $LIST{'User'} =~ /Attached/ )&lt;br /&gt;
  {&lt;br /&gt;
    $LIST2{'USER'} = &amp;quot;X&amp;quot;;&lt;br /&gt;
  }&lt;br /&gt;
  else&lt;br /&gt;
  {&lt;br /&gt;
    $LIST2{'USER'} = &amp;quot;-&amp;quot;;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  system ('clear');&lt;br /&gt;
  my $prompt = new Term::Menu (&lt;br /&gt;
    spaces =&amp;gt; 3,&lt;br /&gt;
    aftertext =&amp;gt; &amp;quot;\nChoisir une option : &amp;quot;,&lt;br /&gt;
    beforetext =&amp;gt; ${MainTitle},&lt;br /&gt;
    delim =&amp;gt; &amp;quot;. &amp;quot;,&lt;br /&gt;
  );&lt;br /&gt;
&lt;br /&gt;
  my $SEP = &amp;quot;                   &amp;quot;;&lt;br /&gt;
&lt;br /&gt;
  my $answer = $prompt-&amp;gt;menu(&lt;br /&gt;
                osg_user       =&amp;gt; [&amp;quot;OpenSim User Server       $SEP$LIST2{'User'}&amp;quot;,  '1'],&lt;br /&gt;
                osg_grid       =&amp;gt; [&amp;quot;OpenSim Grid Server       $SEP$LIST2{'Grid'}&amp;quot;,  '2'],&lt;br /&gt;
                osg_asset      =&amp;gt; [&amp;quot;OpenSim Asset Server      $SEP$LIST2{'Asset'}&amp;quot;,  '3'],&lt;br /&gt;
                osg_inventory  =&amp;gt; [&amp;quot;OpenSim Inventory Server  $SEP$LIST2{'Inventory'}&amp;quot;,  '4'],&lt;br /&gt;
                osg_region     =&amp;gt; [&amp;quot;OpenSim Region Server     $SEP$LIST2{'Region'}\n&amp;quot;,  '5'],&lt;br /&gt;
                osg_shutdown   =&amp;gt; [&amp;quot;Shutdown Servers (Manual)&amp;quot;,'6'],&lt;br /&gt;
                osg_shutdown2  =&amp;gt; [&amp;quot;Shutdown Servers (Hard)\n&amp;quot;,'7'],&lt;br /&gt;
                quit    =&amp;gt; [&amp;quot;Quitter&amp;quot;, 'q'],&lt;br /&gt;
                            );&lt;br /&gt;
&lt;br /&gt;
  if ( &amp;quot;${answer}&amp;quot; eq &amp;quot;quit&amp;quot; )&lt;br /&gt;
  {&lt;br /&gt;
    $EXIT = 0;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  if ( &amp;quot;${answer}&amp;quot; eq &amp;quot;osg_user&amp;quot; )&lt;br /&gt;
  {&lt;br /&gt;
    system(&amp;quot;screen -d -r -S User-service&amp;quot;);&lt;br /&gt;
    $EXIT = 1;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  if ( &amp;quot;${answer}&amp;quot; eq &amp;quot;osg_grid&amp;quot; )&lt;br /&gt;
  {&lt;br /&gt;
    system(&amp;quot;screen -d -r -S Grid-service&amp;quot;);&lt;br /&gt;
    $EXIT = 1;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  if ( &amp;quot;${answer}&amp;quot; eq &amp;quot;osg_asset&amp;quot; )&lt;br /&gt;
  {&lt;br /&gt;
    system(&amp;quot;screen -d -r -S Asset-service&amp;quot;);&lt;br /&gt;
    $EXIT = 1;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  if ( &amp;quot;${answer}&amp;quot; eq &amp;quot;osg_inventory&amp;quot; )&lt;br /&gt;
  {&lt;br /&gt;
    system(&amp;quot;screen -d -r -S Inventory-service&amp;quot;);&lt;br /&gt;
    $EXIT = 1;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  if ( &amp;quot;${answer}&amp;quot; eq &amp;quot;osg_region&amp;quot; )&lt;br /&gt;
  {&lt;br /&gt;
    system(&amp;quot;screen -d -r -S Region-service&amp;quot;);&lt;br /&gt;
    $EXIT = 1;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  if ( &amp;quot;${answer}&amp;quot; eq &amp;quot;osg_shutdown&amp;quot; )&lt;br /&gt;
  {&lt;br /&gt;
    system(&amp;quot;screen -d -r -S Region-service&amp;quot;);&lt;br /&gt;
    system(&amp;quot;screen -d -r -S Inventory-service&amp;quot;);&lt;br /&gt;
    system(&amp;quot;screen -d -r -S Asset-service&amp;quot;);&lt;br /&gt;
    system(&amp;quot;screen -d -r -S Grid-service&amp;quot;);&lt;br /&gt;
    system(&amp;quot;screen -d -r -S User-service&amp;quot;);&lt;br /&gt;
    $EXIT = 1;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  if ( &amp;quot;${answer}&amp;quot; eq &amp;quot;osg_shutdown2&amp;quot; )&lt;br /&gt;
  {&lt;br /&gt;
    # system(&amp;quot;/OPENSIM/shutdownGrid.py&amp;quot;);&lt;br /&gt;
    system(&amp;quot;screen -S Region-service -r -m -X quit&amp;quot;);&lt;br /&gt;
    system(&amp;quot;screen -S Inventory-service -r -m -X quit&amp;quot;);&lt;br /&gt;
    system(&amp;quot;screen -S Asset-service -r -m -X quit&amp;quot;);&lt;br /&gt;
    system(&amp;quot;screen -S Grid-service -r -m -X quit&amp;quot;);&lt;br /&gt;
    system(&amp;quot;screen -S User-service -r -m -X quit&amp;quot;);&lt;br /&gt;
    $EXIT = 0;&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Regards, &lt;br /&gt;
Ursula Matova.&lt;/div&gt;</summary>
		<author><name>Ursula Matova</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/wiki/Troubleshooting</id>
		<title>Troubleshooting</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/wiki/Troubleshooting"/>
				<updated>2008-10-09T13:06:44Z</updated>
		
		<summary type="html">&lt;p&gt;Ursula Matova: /* Locales Issues */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Users]]&lt;br /&gt;
This page gives any system-specific configuration settings that may be useful, and advice for problems that might be encountered.&lt;br /&gt;
&lt;br /&gt;
== System-specific configuration ==&lt;br /&gt;
=== CentOS 5 ===&lt;br /&gt;
&lt;br /&gt;
To install mono and nant, you can use the &amp;quot;Linux Installer for x86&amp;quot; found at http://www.mono-project.com/Downloads.&lt;br /&gt;
&lt;br /&gt;
SVN can be installed by:&lt;br /&gt;
&lt;br /&gt;
 yum install subversion&lt;br /&gt;
&lt;br /&gt;
Mono defaults to installing into &amp;lt;tt&amp;gt;/opt&amp;lt;/tt&amp;gt;, so you may have to add this path to your environment variables, for example, in your &amp;lt;tt&amp;gt;~/.bashrc&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 export PATH=&amp;quot;/opt/mono-1.2.5/bin:$PATH&amp;quot;&lt;br /&gt;
 export PKG_CONFIG_PATH=&amp;quot;/opt/mono-1.2.5/lib/pkgconfig:$PKG_CONFIG_PATH&amp;quot;&lt;br /&gt;
 export MANPATH=&amp;quot;/opt/mono-1.2.5/share/man:$MANPATH&amp;quot;&lt;br /&gt;
 export LD_LIBRARY_PATH=&amp;quot;/opt/mono-1.2.5/lib:$LD_LIBRARY_PATH&amp;quot;&lt;br /&gt;
&lt;br /&gt;
After changing &amp;lt;tt&amp;gt;LD_LIBRARY_PATH&amp;lt;/tt&amp;gt;, you should update the dynamic linker cache:&lt;br /&gt;
&lt;br /&gt;
 ldconfig&lt;br /&gt;
&lt;br /&gt;
You may still encounter the &amp;quot;The current runtime framework 'mono-2.0' is not correctly configured in the NAnt configuration file.&amp;quot; error listed below.  In that case, this may fix this:&lt;br /&gt;
&lt;br /&gt;
 yum install glib&lt;br /&gt;
&lt;br /&gt;
If you are running a firewall as well (i.e., if &amp;lt;tt&amp;gt;iptables -L&amp;lt;/tt&amp;gt; shows a list of ACCEPT and REJECT rules), you'll have to open the necessary ports if you want to access the sim from other machines.  For standalone mode:&lt;br /&gt;
&lt;br /&gt;
 iptables -I RH-Firewall-1-INPUT -p tcp --dport 9000 -j ACCEPT&lt;br /&gt;
 iptables -I RH-Firewall-1-INPUT -p udp --dport 9000 -j ACCEPT&lt;br /&gt;
&lt;br /&gt;
=== Debian 4.0r0 ===&lt;br /&gt;
&lt;br /&gt;
If you set your system to use unstable sources, and then install some packages listed below, everything should just work.  To use unstable sources, modify your &amp;lt;tt&amp;gt;/etc/apt/sources.list&amp;lt;/tt&amp;gt; file, replacing 'etch' or 'stable' with 'unstable':&lt;br /&gt;
&lt;br /&gt;
 deb ftp://ftp.debian.org/debian/ unstable main&lt;br /&gt;
 deb-src ftp://ftp.debian.org/debian/ unstable main&lt;br /&gt;
&lt;br /&gt;
Then update your packages to the new versions:&lt;br /&gt;
&lt;br /&gt;
 apt-get update&lt;br /&gt;
 apt-get dist-upgrade&lt;br /&gt;
&lt;br /&gt;
This will probably change a large number of packages, and may break things.&lt;br /&gt;
In my experience, however, if you do not use unstable sources then the packages are not up to date enough, and you run into version issues, which lead to two DllNotFoundException errors below appearing in the console output: gdiplus.dll and libopenjpeg-libsl-2.1.2.0.so.&lt;br /&gt;
&lt;br /&gt;
Once the sources are updated, we need to install the necessary packages to be able to build OpenSim:&lt;br /&gt;
&lt;br /&gt;
 apt-get install subversion mono nant mono-gmcs mono-mjs libmono-microsoft8.0-cil libmono-system-runtime2.0-cil&lt;br /&gt;
&lt;br /&gt;
If any of these packages are missing, you'll probably encounter one of the errors listed below.  However, with these packages, OpenSim should build cleanly.&lt;br /&gt;
&lt;br /&gt;
Please note: If you are using mysql as storage on unstable you may get the following error:-&lt;br /&gt;
&lt;br /&gt;
 Exception: System.NotSupportedException: CodePage 1252 not supported&lt;br /&gt;
  at System.Text.Encoding.GetEncoding (Int32 codePage) [0x00000] &lt;br /&gt;
&lt;br /&gt;
To get it to work, try installing the libmono-i18n2.0-cil package&lt;br /&gt;
&lt;br /&gt;
 apt-get install libmono-i18n2.0-cil&lt;br /&gt;
&lt;br /&gt;
=== Gentoo ===&lt;br /&gt;
some Mono dependency &amp;amp; latest Mono itself may use &amp;quot;~x86&amp;quot; masked packages (assuming x86 is your platform, change may be made to reflect your ex:&amp;quot;~amd64&amp;quot; for 64bits). You could check for USE parameter with:&lt;br /&gt;
&lt;br /&gt;
 ACCEPT_KEYWORDS=&amp;quot;~x86&amp;quot; emerge -vp subversion nant mono libgdiplus&lt;br /&gt;
&lt;br /&gt;
Then install with:&lt;br /&gt;
&lt;br /&gt;
 ACCEPT_KEYWORDS=&amp;quot;~x86&amp;quot; emerge subversion nant mono libgdiplus&lt;br /&gt;
&lt;br /&gt;
N.B: The ACCEPT_KEYWORDS=&amp;quot;~x86&amp;quot; can be set in Gentoo /etc/make.conf file, but that turn up all the emerges in testing/unstable, using it at the begining of emerge command line use it only for current emerge process&lt;br /&gt;
&lt;br /&gt;
=== Mac OS X ===&lt;br /&gt;
This assumes you're using the universal binary for mono from the [http://www.mono-project.com/ Mono Project] site.&lt;br /&gt;
&lt;br /&gt;
If you are using OS X 10.4, you should also install X11 from the OS X install CDs.&lt;br /&gt;
In OS X 10.5, this is not required.&lt;br /&gt;
&lt;br /&gt;
If you get errors about the 2.0 framework not being supported, you may need to update your &amp;lt;tt&amp;gt;pkg-config&amp;lt;/tt&amp;gt; path.&lt;br /&gt;
I set this in &amp;lt;tt&amp;gt;~/.bash_profile&amp;lt;/tt&amp;gt;:&lt;br /&gt;
 export PKG_CONFIG_PATH=&amp;quot;/Library/Frameworks/Mono.framework/Versions/Current/lib/pkgconfig/:${PKG_CONFIG_PATH}&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Errors and fixes ==&lt;br /&gt;
&lt;br /&gt;
=== Build workarounds due to non-functionality or bugs: ===&lt;br /&gt;
&lt;br /&gt;
==== Disappearing prims due to duplicate UID's ====&lt;br /&gt;
Generally this problem occurs when a save-xml/load-xml file is loaded into the same sim without using the -newUID switch to generate new UUID's for the objects. This switch is documented in the [[Running#General OpenSim server commands|general server commands]] section. (&amp;lt;nowiki&amp;gt;load-xml &amp;lt;filename&amp;gt; -newUID&amp;lt;/nowiki&amp;gt;). But if this does not work, the other way is to shift-copy your build and drag it up into the air.. then delete the one in the air, (which is actually the copy). This will generate new UID's on all your prims.. you can now leave that build, and load your original load-xml file in another region.&lt;br /&gt;
&lt;br /&gt;
==== Linked objects not scaling/editing properly ====&lt;br /&gt;
From Mantis [[http://opensimulator.org/mantis/view.php?id=135 # 135]] and [[http://opensimulator.org/mantis/view.php?id=223 # 223]]: &amp;lt;br /&amp;gt;&lt;br /&gt;
Linked objects: while linking/unlinking objects seems to work fine, the editing of single prims inside a linked object doesn't work correctly. You have to check the box &amp;quot;Edit linked parts&amp;quot;, then you can select a single prim and edit it, but in most cases the changes in size- and/or postion-parameters are not accepted and revert immediately to the original ones. It is not completely reproducible, as it may work in some single case though.&amp;lt;br /&amp;gt;&lt;br /&gt;
'''Workaround:''' unlink the whole object, make the changes, and relink the whole thing again. &amp;lt;br /&amp;gt; ''note:'' re-scaling unlinked objects in grid mode seems to work better than in standalone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Exception and loss of ode physics System.EntryPointNotFoundException: dSpaceLockQuery ===&lt;br /&gt;
&lt;br /&gt;
The following is usually caused by using the wrong version of libode.  First try find / -name &amp;quot;libode.so&amp;quot; to see if you have other copies of the ode physics engine.  Then make sure you have the latest version of this.&lt;br /&gt;
&lt;br /&gt;
[SCENE] [02-01 22:20:40] System.EntryPointNotFoundException: dSpaceLockQuery&lt;br /&gt;
  at (wrapper managed-to-native) Ode.NET.d:SpaceLockQuery (intptr)&lt;br /&gt;
  at OpenSim.Region.Physics.OdePlugin.OdeScene.waitForSpaceUnlock (IntPtr space) [0x00000] &lt;br /&gt;
  at OpenSim.Region.Physics.OdePlugin.OdeCharacter.AvatarGeomAndBodyCreation (Single npositionX, Single npositionY, Single npositionZ, Single tensor) [0x00000] &lt;br /&gt;
  at OpenSim.Region.Physics.OdePlugin.OdeCharacter..ctor (System.String avName, OpenSim.Region.Physics.OdePlugin.OdeScene parent_scene, OpenSim.Region.Physics.Manager.PhysicsVector pos) [0x00000] &lt;br /&gt;
  at OpenSim.Region.Physics.OdePlugin.OdeScene.AddAvatar (System.String avName, OpenSim.Region.Physics.Manager.PhysicsVector position) [0x00000] &lt;br /&gt;
  at OpenSim.Region.Environment.Scenes.ScenePresence.AddToPhysicalScene () [0x00000] &lt;br /&gt;
  at OpenSim.Region.Environment.Scenes.ScenePresence.MakeRootAgent (LLVector3 pos, Boolean isFlying) [0x00000] &lt;br /&gt;
  at OpenSim.Region.Environment.Scenes.Scene.AgentCrossing (UInt64 regionHandle, LLUUID agentID, LLVector3 position, Boolean isFlying) [0x00000]&lt;br /&gt;
=== MySQL connection errors after about 6-8 hours ===&lt;br /&gt;
&lt;br /&gt;
MySQL has a timeout which drops the connection after 28,800 seconds (8 hours) of inactivity, which will probably result in failure to login after the User server has been sitting idle for an extended period.  If you have this problem, increase the timeout to something larger, like 604800 (1 week) or 31536000 (1 year).  From the mysql console, type:&lt;br /&gt;
&lt;br /&gt;
 set global wait_timeout=604800;&lt;br /&gt;
&lt;br /&gt;
=== System.DllNotFoundException: gdiplus.dll ===&lt;br /&gt;
&lt;br /&gt;
First, check to make sure that &amp;lt;tt&amp;gt;libgdiplus.so&amp;lt;/tt&amp;gt; is known to the dynamic linker:&lt;br /&gt;
&lt;br /&gt;
 /sbin/ldconfig -p | grep libgdiplus&lt;br /&gt;
&lt;br /&gt;
If nothing is found, make sure that the directory libgdiplus.so exists in is either in your &amp;lt;tt&amp;gt;LD_LIBRARY_PATH&amp;lt;/tt&amp;gt; environment variable or listed in a *.conf file (e.g., gdiplus.conf) in /etc/ld.so.conf.d/.  Then run &amp;lt;tt&amp;gt;ldconfig&amp;lt;/tt&amp;gt; to update the cache.  Then it should be able to find the library.&lt;br /&gt;
&lt;br /&gt;
You may still have the above error, however, since libgdiplus also depends on other dynamic libraries, and if they fail to load, libgdiplus will fail.  To test for this, run OpenSim with debugging information turned on:&lt;br /&gt;
&lt;br /&gt;
 MONO_LOG_LEVEL=debug mono OpenSim.exe&lt;br /&gt;
&lt;br /&gt;
{It may show errors loading other libraries, like &amp;lt;tt&amp;gt;libexif.so.9&amp;lt;/tt&amp;gt;.  In that case, linking to an existing version of the offending library may work:&lt;br /&gt;
&lt;br /&gt;
 ln -s libexif.so.12 libexif.so.9&lt;br /&gt;
&lt;br /&gt;
On Mac OS X - check the following file exists... /opt/local/lib/libgdiplus.dylib if it does then as root user edit the file /opt/local/etc/mono/config &lt;br /&gt;
and add the line &lt;br /&gt;
 &amp;lt;dllmap dll=&amp;quot;gdiplus.dll&amp;quot; target=&amp;quot;/opt/local/lib/libgdiplus.dylib&amp;quot; os=&amp;quot;!windows&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''(Is there a cleaner solution than this?)''} **see below for alternative/cleaner fix**&lt;br /&gt;
&lt;br /&gt;
== When installing mono or libgdiplus0 you may get dependency missing libexif.so.9 == &lt;br /&gt;
&lt;br /&gt;
This was noticed on Centos5 but may occur on other systems, download ftp://rpmfind.net/linux/conectiva/snapshot/i386/RPMS.extra/libexif9-0.5.12-47547cl.i386.rpm and install problem solved. You will now be able to install mono (as long as nothing else goes wrong )&lt;br /&gt;
&lt;br /&gt;
=== The assembly mscorlib.dll was not found or could not be loaded ===&lt;br /&gt;
&lt;br /&gt;
This indicates that you are missing one of the mscor libs that comes with nant.  This is easily solved by getting NAnt, which comes with both versions 1.0 and 2.0 of the required lib.&lt;br /&gt;
&lt;br /&gt;
 apt-get install nant&lt;br /&gt;
&lt;br /&gt;
=== External Program Failed: /usr/lib/pkgconfig/../../lib/mono/2.0/gmcs.exe === &lt;br /&gt;
&lt;br /&gt;
This is quickly fixed by retrieving mono-gmcs.&lt;br /&gt;
&lt;br /&gt;
 apt-get install mono-gmcs&lt;br /&gt;
&lt;br /&gt;
=== The type or namespace name JScript does not exist in the namespace Microsoft ===&lt;br /&gt;
&lt;br /&gt;
Note that it says Jscript over and over again.  Hint perhaps?&lt;br /&gt;
&lt;br /&gt;
 apt-get install mono-mjs libmono-microsoft8.0-cil&lt;br /&gt;
&lt;br /&gt;
On Fedora, the needed package is mono-jscript&lt;br /&gt;
&lt;br /&gt;
=== The type or namespace name Tcp does not exist in the namespace System.Runtime.Remoting.Channels ===&lt;br /&gt;
&lt;br /&gt;
This one is taken care of with a quick install:&lt;br /&gt;
&lt;br /&gt;
 apt-get install libmono-system-runtime2.0-cil&lt;br /&gt;
&lt;br /&gt;
=== Missing: libopenjpeg-libsl-2.1.2.0-x86_64.so ===&lt;br /&gt;
  You are on 64bit linux machine and my need to follow these instructions: [[Installing_and_running_on_x86-64 |Installing and running on x86-64 ]]&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
=== error while loading shared libraries: libgthread-2.0.so.0: cannot open shared object file ===&lt;br /&gt;
&lt;br /&gt;
If you start with a base Debian system as we did at the top of the page, but instead of using the apt version of mono you use the installer from their website, then you may encounter this issue.&lt;br /&gt;
&lt;br /&gt;
After getting the .bin file from http://www.mono-project.com/Downloads, and executing it as per its instructions, upon finishing, you may find that if you try to run `mono --version` you are presented with this message. This one means you need to install libglib2.0-0.&lt;br /&gt;
&lt;br /&gt;
 apt-get install libglib2.0-0&lt;br /&gt;
&lt;br /&gt;
=== The current runtime framework 'mono-2.0' is not correctly configured in the NAnt configuration file. ===&lt;br /&gt;
&lt;br /&gt;
This one seems to be fixed by retrieving the apt version of nant.&lt;br /&gt;
&lt;br /&gt;
 apt-get install nant&lt;br /&gt;
&lt;br /&gt;
This can also be due to &amp;lt;tt&amp;gt;pkg-config&amp;lt;/tt&amp;gt; not being able to locate the &amp;lt;tt&amp;gt;mono.pc&amp;lt;/tt&amp;gt; file.  Adding the directory containing this file to the environment variable &amp;lt;tt&amp;gt;PKG_CONFIG_PATH&amp;lt;/tt&amp;gt; may solve this.&lt;br /&gt;
&lt;br /&gt;
== Networking and config issues ==&lt;br /&gt;
   [[OpenSim:Running |See Running section]]&lt;br /&gt;
&lt;br /&gt;
=== You are able to log in, but not connect to a Region from a remote client ===&lt;br /&gt;
&lt;br /&gt;
    Look in your OpenSimulator/bin/Regions folder &lt;br /&gt;
    1) Try 0.0.0.0 for the internal_ip_address in your region.xml(default.xml) file&lt;br /&gt;
         (you'll have one of those files *per* region you've created)&lt;br /&gt;
    2) external_host_name=&amp;quot;127.0.0.1&amp;quot; will need to be changed to the accessable DNS name&lt;br /&gt;
        such as &amp;quot;opensim.example-host.com&amp;quot; or &amp;quot;71.6.131.152&amp;quot; (your public accessable ip)&lt;br /&gt;
&lt;br /&gt;
==Building OpenSim==&lt;br /&gt;
===I can't find any build files or solution files===&lt;br /&gt;
* If you're on Windows, run &amp;lt;tt&amp;gt;runprebuild.bat&amp;lt;/tt&amp;gt; - on Linux/Mac/FreeBSD, run &amp;lt;tt&amp;gt;runprebuild.sh&amp;lt;/tt&amp;gt;&lt;br /&gt;
=== VS2005 won't open the .sln file ===&lt;br /&gt;
* Try running VS2005 C#. You are probably running VS2005 C++. This is a C# project.&lt;br /&gt;
&lt;br /&gt;
==Running OpenSim==&lt;br /&gt;
=== Running OpenSim.exe from a Cygwin shell has access denied for some dll's ===&lt;br /&gt;
* Do a '&amp;lt;tt&amp;gt;cd bin&amp;lt;/tt&amp;gt;' followed by '&amp;lt;tt&amp;gt;chmod a+x *&amp;lt;/tt&amp;gt;' to make all dll files executable.&lt;br /&gt;
===I cannot start my sim===&lt;br /&gt;
* See [[Configuration]]&lt;br /&gt;
&lt;br /&gt;
==Something Has Gone Wrong!==&lt;br /&gt;
=== I get errors concerning 'owner_uuid' when starting up my grid after updating from svn beyond r3254 ===&lt;br /&gt;
When updating to recent revisions after r3254, we are now using the unused owner_uuid. There are some grids whose mysql tables were created during a time when this field was inadvertently removed from the .sql script that initializes the regions table. Logging in to your mysql instance and executing this SQL query to add the missing owner_uuid should solve this issue:&lt;br /&gt;
 alter table `regions` add column `owner_uuid` varchar(36) default '00000000-0000-0000-0000-000000000000' not null, comment 'Rev.2';&lt;br /&gt;
The punctuation around regions and owner_uuid is &amp;quot;grave accent&amp;quot;. The punctuation around the default value and the comment is the single quote. The &amp;quot;grave accent&amp;quot; is the one generally to the left of the One button, under the tilde and the single-quote, is, well, underneath the double quote. I think this matters to mysql.&lt;br /&gt;
&lt;br /&gt;
=== I get errors concerning 'State' when starting up my grid after updating from svn beyond r3786 ===&lt;br /&gt;
After r3786, a new 'State' field has been added to the 'primshapes' table on SQLite. This field is used to persist trees and grass.&lt;br /&gt;
You may have an empty region at startup, because OpenSim does not find this 'State' field and does not know what to do.&lt;br /&gt;
The best is to use SQLiteBrowser or another SQLite table editor (download it at [http://sqlitebrowser.sourceforge.net/ http://sqlitebrowser.sourceforge.net/]) to create the missing field:&lt;br /&gt;
 alter table primshapes add column State integer default 0&lt;br /&gt;
Just launch SQLiteBrowser, use File/Open database, then browse to OpenSim.db file and open it. Then, go to the &amp;quot;Execute SQL&amp;quot; tab, copy/paste the command above in the &amp;quot;SQL string&amp;quot; textbox, then hit the &amp;quot;Execute query&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
=== I get a timeout during region handshake ===&lt;br /&gt;
* Do you have the correct IP in your Regions\* config files?&lt;br /&gt;
* Do you have multiple interfaces on the server running OpenSim? OpenSim will not bind outgoing UDP packets to a specific IP, its default IP to reach you will be what the Region answers UDP with. If you have configured the region for another IP you will get a timeout during connect.&lt;br /&gt;
&lt;br /&gt;
=== I cannot connect to my OpenSim ===&lt;br /&gt;
* See [[OpenSim: Connecting]]&lt;br /&gt;
&lt;br /&gt;
===I can connect but cannot move===&lt;br /&gt;
If the client connects but the avatar can only spin in place and not move, then the sim is not correctly configured. It completed the initial login function, but packets are not being exchanged between the client and the sim, probably due to a network configuration error on the sim.&lt;br /&gt;
* See [[OpenSim: Configuration]]&lt;br /&gt;
&lt;br /&gt;
=== From time to time my Avatar seems to get stuck ===&lt;br /&gt;
Right now there is a bottle neck when syncing prims off to the database.  This will cause small (5 - 10 second) apparent hangs of the Avatar, but it will recover fine once the data is synced.  It is a known issue based on legacy architecture of some of the data storage code.  We hope this will be removed soon.&lt;br /&gt;
&lt;br /&gt;
=== I have problems with viewing the worldmap ===&lt;br /&gt;
* This may happen when running OpenSim on a Linux server, both in grid or standalone mode.&lt;br /&gt;
* Symptoms: when opening the worldmap window in the SL-viewer, the sims are not displayed grahically in the worldmap, the server console shows some error related to openjpeg, the current session freezes...&lt;br /&gt;
* Reason: your svn source trunk does not have the correct (or whatever...) &amp;lt;tt&amp;gt;libopenjpeg-libsl&amp;lt;/tt&amp;gt; library.&lt;br /&gt;
* Other reason: the file &amp;quot;defaultstripe.png&amp;quot; does not exists in the same OpenSim folder, or is corrupted.&lt;br /&gt;
* Solution: get the newest code from libsecondlife (&amp;lt;tt&amp;gt;svn co svn://opensecondlife.org/libsl/trunk&amp;lt;/tt&amp;gt;), '&amp;lt;tt&amp;gt;make&amp;lt;/tt&amp;gt;' manually in the subdir &amp;lt;tt&amp;gt;openjpeg-libsl&amp;lt;/tt&amp;gt;, and copy the resulting &amp;lt;tt&amp;gt;libopenjpeg-libsl-2.1.2.0.so&amp;lt;/tt&amp;gt; into your OpenSim &amp;lt;tt&amp;gt;bin&amp;lt;/tt&amp;gt; subdir, overwriting the existing one.&lt;br /&gt;
* Recompile &amp;amp; restart OpenSim&lt;br /&gt;
&lt;br /&gt;
==Exceptions on the Console==&lt;br /&gt;
This is a list of Exceptions that you may see on the console, what they mean, and if they are a problem.&lt;br /&gt;
&lt;br /&gt;
===System.DllNotFoundException: ./libopenjpeg-libsl-2.1.2.0.so===&lt;br /&gt;
 Failed generating terrain map: System.DllNotFoundException: ./libopenjpeg-libsl-2.1.2.0.so&lt;br /&gt;
 at (wrapper managed-to-native) OpenJPEGNet.OpenJPEG:LibslAllocDecoded OpenJPEGNet.OpenJPEG/LibslImage&amp;amp;)&lt;br /&gt;
 at OpenJPEGNet.OpenJPEG.Encode (System.Byte[] decoded, Int32 width, Int32 height, Int32 components, Boolean lossless) [0x00000]&lt;br /&gt;
 at OpenJPEGNet.OpenJPEG.EncodeFromImage (System.Drawing.Bitmap bitmap, Boolean lossless) [0x00000]&lt;br /&gt;
 at OpenSim.Region.Terrain.TerrainEngine.ExportJpegImage (System.String gradientmap) [0x00000]&lt;br /&gt;
&lt;br /&gt;
You are on Linux, and the native lib libopenjpeg-libsl-2.1.2.0.so is not compatible with your system for one of the following reasons:&lt;br /&gt;
* You have an old processor (libopenjpeg has been compiled with optimizations)&lt;br /&gt;
* You are running in 64bit mode (none of the native libs are built for 64bit)&lt;br /&gt;
&lt;br /&gt;
You can rebuild your own libopenjpeg from source, or run in a compatible environment.&lt;br /&gt;
You can do this by:&lt;br /&gt;
 svn co svn://opensecondlife.org/libsl/trunk libsl&lt;br /&gt;
 cd libsl/openjpeg-libsl/&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
then copy libopenjpeg-libsl-2.1.2.0.so into OpenSim bin-folder.&lt;br /&gt;
&lt;br /&gt;
==Grid Mode==&lt;br /&gt;
Note: Grid Mode isn't officially supported yet.  As such, you are pretty much on your own if you are trying to get OpenSim up and running in Grid Mode.&lt;br /&gt;
&lt;br /&gt;
=== I start the sim and it doesn't connect to any grid ===&lt;br /&gt;
&lt;br /&gt;
When OpenSim is first started, it needs configuration.&lt;br /&gt;
&lt;br /&gt;
* See [[OpenSim: Configuration]].&lt;br /&gt;
&lt;br /&gt;
===I start the OpenSim.Grid.UserServer.exe and it gives an error===&lt;br /&gt;
If this error is access denied for &amp;lt;tt&amp;gt;username@localhost&amp;lt;/tt&amp;gt;, the mysql database is not set up.&lt;br /&gt;
It will print some text and wait for input - either an enter to accept a default value, or another value you can supply.&lt;br /&gt;
* See [[OpenSim: Configuration]].&lt;br /&gt;
&lt;br /&gt;
===I want to run my own Local Grid but one or more servers fail to start===&lt;br /&gt;
* Be sure that you're able to start &amp;lt;tt&amp;gt;OpenSim.exe&amp;lt;/tt&amp;gt; alone, in Standalone mode, and to be able to login.&lt;br /&gt;
* Start the servers in the correct UGAS order and answer the questions as recommended (see [[OpenSim: Configuration]]).&lt;br /&gt;
* Set all the external URI's to the correct IP: 127.0.0.1 if running on your local machine, or aaa.bbb.ccc.ddd if running on a remote server.&lt;br /&gt;
* Check again all the &amp;lt;tt&amp;gt;*.xml&amp;lt;/tt&amp;gt; configuration files for any wrong settings or typing errors...!&lt;br /&gt;
* Don't forget to connect with your SL-viewer to port 8002 (Grid User-Server) instead of 9000 (Standalone OpenSim-Server).&lt;br /&gt;
* Delete all &amp;lt;tt&amp;gt;*.xml&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;*.yap&amp;lt;/tt&amp;gt; files in the &amp;lt;tt&amp;gt;bin&amp;lt;/tt&amp;gt; directory if you want to run a full reconfiguration again.&lt;br /&gt;
&lt;br /&gt;
===I get a bunch of asset not found errors, while connected to a online grid, and my inventory doesn't seem to work right===&lt;br /&gt;
*Make sure your opensim.ini has '      asset_database = &amp;quot;grid&amp;quot;      ' otherwise it will not work correctly.&lt;br /&gt;
[[Category:Users]]&lt;br /&gt;
&lt;br /&gt;
== ScriptEngine Issues ==&lt;br /&gt;
=== Got &amp;quot;Primitive: Error compiling script: unknown char: . error&amp;quot; when compiling script ===&lt;br /&gt;
When trying to compile a script ( using DotNetEngine or XEngine ) you could have this error :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Primitive: Error compiling script:&lt;br /&gt;
unknown char: .&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And on the console :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
11:06:37 - [ScriptEngine.DotNetEngine]: Unloading script&lt;br /&gt;
11:06:37 - Exception in MaintenanceLoopThread. Thread will recover after 5 sec throttle. Exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.&lt;br /&gt;
 at System.Collections.Generic.Dictionary`2[OpenSim.Region.ScriptEngine.Interfaces.IEventReceiver,OpenSim.Region.ScriptEngine.Shared.Api.Plugins.Dataserver].get_Item (IEventReceiver key) [0x00000]&lt;br /&gt;
 at OpenSim.Region.ScriptEngine.Shared.Api.AsyncCommandManager.RemoveScript (IEventReceiver engine, UInt32 localID, UUID itemID) [0x00000]&lt;br /&gt;
 at OpenSim.Region.ScriptEngine.DotNetEngine.ScriptManager._StopScript (UInt32 localID, UUID itemID) [0x00000]&lt;br /&gt;
 at OpenSim.Region.ScriptEngine.DotNetEngine.ScriptManager.DoScriptLoadUnload () [0x00000]&lt;br /&gt;
 at OpenSim.Region.ScriptEngine.DotNetEngine.MaintenanceThread.MaintenanceLoop () [0x00000]&lt;br /&gt;
11:06:37 - [ScriptEngine.DotNetEngine]: Loading script&lt;br /&gt;
11:06:37 - [ScriptEngine.DotNetEngine]: ScriptManager StartScript: localID: 720001, itemID: 88c9d28c-6004-4609-a707-717190de044a&lt;br /&gt;
11:06:37 - [Compiler]: Compiled new assembly for fad15951-f9aa-493f-be68-2aaf5ff8a3c9&lt;br /&gt;
11:06:37 - [SCRIPT]: Compiled assetID fad15951-f9aa-493f-be68-2aaf5ff8a3c9: ScriptEngines/a83150da-1ab1-11dd-89fb-0014853ee9da/CommonCompiler_compiled_fad15951-f9aa-493f-be68-2aaf5ff8a3c9.dll&lt;br /&gt;
11:06:37 - [ScriptEngine.DotNetEngine]: AppDomain Loading: OpenSim.Region.ScriptEngine.Shared, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This happens on '''linux''' when your locales are not set to default ( &amp;quot;C&amp;quot; ).&lt;br /&gt;
* You could refer to [http://opensimulator.org/mantis/view.php?id=2088 Mantis #2088] and [http://opensimulator.org/mantis/view.php?id=2015 Mantis #2015] for a workaround to run opensim.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
env LANG=C mono --debug OpenSim.exe&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* You could also change your locale setup. Here is what I use in my '.bash_profile' :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LC_ALL=C&lt;br /&gt;
export LANG=C&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
I know it's a ugly way to setup locales on a linux box, but it works fine on my '''Linux From Scratch''' box.&lt;br /&gt;
== Locales Issues ==&lt;br /&gt;
Well, some of us, OpenSim users, ran into random crash of the OpenSim Region server in grid mode ... &lt;br /&gt;
&lt;br /&gt;
I have made many tests to find a solution about that problem.&lt;br /&gt;
&lt;br /&gt;
I first ran into this problem with OpenSIM SVN.6660 ... Even if I have no users connected, my OpenSim region server randomly crash ( after 1 hour, or 5 hours, ... ).&lt;br /&gt;
&lt;br /&gt;
My first idea was to upgrade to the latest SVN release, no chance, same problem. So I made a test with a previous SVN release ( SVN.6575 ) which is running fine on another server ( same OS, same parameters, same mono release, ... ) : No chance, same problem.&lt;br /&gt;
&lt;br /&gt;
Then, I tried to play with locales, recompile the '''screen''' unix command line utility I use to run my servers, ... No chance again.&lt;br /&gt;
&lt;br /&gt;
So, I checked the memory usage on my Server, and I discovered that with the last SVN release, the amount of memory needed to run OpenSim server in multi-region/grid mode increased :) ... So, I have tuned my MySQL server to use less memory. Was better, but my OpenSim region server still randomly crash ( but could stay alive longer than before ).&lt;br /&gt;
&lt;br /&gt;
Then, trying to play with the '''screen''' command line options ... And all my tests shows that the '''--debug''' option impact the stability of the server.&lt;br /&gt;
&lt;br /&gt;
Initially, I used such command line to run OpenSim :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/screen -S Region-service -d -m --debug mono OpenSim.exe&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without the '''--debug''' option, everything seems to be more stable.&lt;br /&gt;
&lt;br /&gt;
About locales, if you read mantis and threads in opensim-dev / opensim-users, you know that there are issues on system that are not &amp;quot;en_US&amp;quot; or &amp;quot;C&amp;quot; local compliant.&lt;br /&gt;
&lt;br /&gt;
I have re-setup my server to be full &amp;quot;en_US.UTF8&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
So, the resulting '''screen''' command line options should be :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
screen -S Region-service -d -m -U mono OpenSim.exe&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This allow me to run OpenSim SVN.6575 without crash during more than 48 hours, and also SVN.6735 ... &lt;br /&gt;
&lt;br /&gt;
Hope those informations could help peoples.&lt;br /&gt;
&lt;br /&gt;
Just for your information : &lt;br /&gt;
&lt;br /&gt;
Here is my '''OpenSim Startup script''' :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;User-Service...&amp;quot;&lt;br /&gt;
/usr/local/bin/screen -S User-service -d -m -U mono OpenSim.Grid.UserServer.exe&lt;br /&gt;
sleep 5&lt;br /&gt;
echo &amp;quot;Grid-Service...&amp;quot;&lt;br /&gt;
/usr/local/bin/screen -S Grid-service -d -m -U mono OpenSim.Grid.GridServer.exe&lt;br /&gt;
sleep 5&lt;br /&gt;
echo &amp;quot;Asset-Service...&amp;quot;&lt;br /&gt;
/usr/local/bin/screen -S Asset-service -d -m -U mono OpenSim.Grid.AssetServer.exe&lt;br /&gt;
sleep 10&lt;br /&gt;
echo &amp;quot;Inventory-Service...&amp;quot;&lt;br /&gt;
/usr/local/bin/screen -S Inventory-service -d -m -U mono OpenSim.Grid.InventoryServer.exe&lt;br /&gt;
sleep 5&lt;br /&gt;
echo &amp;quot;Region-Service...&amp;quot;&lt;br /&gt;
/usr/local/bin/screen -S Region-service -d -m -U mono OpenSim.exe&lt;br /&gt;
sleep 5&lt;br /&gt;
echo &amp;quot; &amp;quot;&lt;br /&gt;
echo &amp;quot; &amp;quot;&lt;br /&gt;
/usr/local/bin/screen -list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is also a small script that give you a menu to connect to the '''screen(s)''' sessions :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/usr/bin/perl&lt;br /&gt;
&lt;br /&gt;
use strict;&lt;br /&gt;
use Term::Menu;&lt;br /&gt;
&lt;br /&gt;
my $EXIT = 1;&lt;br /&gt;
&lt;br /&gt;
my $MainTitle = &amp;quot;+-----------------------------------------------------+\n&amp;quot;;&lt;br /&gt;
$MainTitle .= &amp;quot;|        Connexion SCREEN aux Serveurs OPENSIM        |\n&amp;quot;;&lt;br /&gt;
$MainTitle .= &amp;quot;|                                                     |\n&amp;quot;;&lt;br /&gt;
$MainTitle .= &amp;quot;|    ( Type CTRL+A+D to exit the Screen Console. )    |\n&amp;quot;;&lt;br /&gt;
$MainTitle .= &amp;quot;+-----------------------------------------------------+\n&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
while ( $EXIT == 1 )&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
  system(&amp;quot;screen -list | grep service &amp;gt; /tmp/osg.services&amp;quot;);&lt;br /&gt;
  my %LIST = ();&lt;br /&gt;
  open(IN, &amp;quot;/tmp/osg.services&amp;quot;);&lt;br /&gt;
  while ( my $i = &amp;lt;IN&amp;gt; )&lt;br /&gt;
  {&lt;br /&gt;
    chomp($i);&lt;br /&gt;
&lt;br /&gt;
    $i =~ s/\./#/g;&lt;br /&gt;
    $i =~ s/\-service\t/#/g;&lt;br /&gt;
    $i =~ s/\t//g;&lt;br /&gt;
    $i =~ s/\(//g;&lt;br /&gt;
    $i =~ s/\)//g;&lt;br /&gt;
&lt;br /&gt;
    my @STATUS = split(/#/, $i);&lt;br /&gt;
    $LIST{$STATUS[1]} = $STATUS[2];&lt;br /&gt;
  }&lt;br /&gt;
  close(IN);&lt;br /&gt;
&lt;br /&gt;
  my %LIST2 = ();&lt;br /&gt;
  my @indices = ('User', 'Grid', 'Asset', 'Inventory', 'Region');&lt;br /&gt;
&lt;br /&gt;
  foreach my $key ( @indices )&lt;br /&gt;
  {&lt;br /&gt;
    # print &amp;quot;$key --&amp;gt; $LIST{$key}\n&amp;quot;;&lt;br /&gt;
    if ( $LIST{$key} =~ /Attached/ )&lt;br /&gt;
    {&lt;br /&gt;
      $LIST2{$key} = &amp;quot;[X]&amp;quot;;&lt;br /&gt;
    }&lt;br /&gt;
    else&lt;br /&gt;
    {&lt;br /&gt;
      $LIST2{$key} = &amp;quot;[ ]&amp;quot;;&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  if ( $LIST{'User'} =~ /Attached/ )&lt;br /&gt;
  {&lt;br /&gt;
    $LIST2{'USER'} = &amp;quot;X&amp;quot;;&lt;br /&gt;
  }&lt;br /&gt;
  else&lt;br /&gt;
  {&lt;br /&gt;
    $LIST2{'USER'} = &amp;quot;-&amp;quot;;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  system ('clear');&lt;br /&gt;
  my $prompt = new Term::Menu (&lt;br /&gt;
    spaces =&amp;gt; 3,&lt;br /&gt;
    aftertext =&amp;gt; &amp;quot;\nChoisir une option : &amp;quot;,&lt;br /&gt;
    beforetext =&amp;gt; ${MainTitle},&lt;br /&gt;
    delim =&amp;gt; &amp;quot;. &amp;quot;,&lt;br /&gt;
  );&lt;br /&gt;
&lt;br /&gt;
  my $SEP = &amp;quot;                   &amp;quot;;&lt;br /&gt;
&lt;br /&gt;
  my $answer = $prompt-&amp;gt;menu(&lt;br /&gt;
                osg_user       =&amp;gt; [&amp;quot;OpenSim User Server       $SEP$LIST2{'User'}&amp;quot;,  '1'],&lt;br /&gt;
                osg_grid       =&amp;gt; [&amp;quot;OpenSim Grid Server       $SEP$LIST2{'Grid'}&amp;quot;,  '2'],&lt;br /&gt;
                osg_asset      =&amp;gt; [&amp;quot;OpenSim Asset Server      $SEP$LIST2{'Asset'}&amp;quot;,  '3'],&lt;br /&gt;
                osg_inventory  =&amp;gt; [&amp;quot;OpenSim Inventory Server  $SEP$LIST2{'Inventory'}&amp;quot;,  '4'],&lt;br /&gt;
                osg_region     =&amp;gt; [&amp;quot;OpenSim Region Server     $SEP$LIST2{'Region'}\n&amp;quot;,  '5'],&lt;br /&gt;
                osg_shutdown   =&amp;gt; [&amp;quot;Shutdown Servers (Manual)&amp;quot;,'6'],&lt;br /&gt;
                osg_shutdown2  =&amp;gt; [&amp;quot;Shutdown Servers (Hard)\n&amp;quot;,'7'],&lt;br /&gt;
                quit    =&amp;gt; [&amp;quot;Quitter&amp;quot;, 'q'],&lt;br /&gt;
                            );&lt;br /&gt;
&lt;br /&gt;
  if ( &amp;quot;${answer}&amp;quot; eq &amp;quot;quit&amp;quot; )&lt;br /&gt;
  {&lt;br /&gt;
    $EXIT = 0;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  if ( &amp;quot;${answer}&amp;quot; eq &amp;quot;osg_user&amp;quot; )&lt;br /&gt;
  {&lt;br /&gt;
    system(&amp;quot;screen -d -r -S User-service&amp;quot;);&lt;br /&gt;
    $EXIT = 1;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  if ( &amp;quot;${answer}&amp;quot; eq &amp;quot;osg_grid&amp;quot; )&lt;br /&gt;
  {&lt;br /&gt;
    system(&amp;quot;screen -d -r -S Grid-service&amp;quot;);&lt;br /&gt;
    $EXIT = 1;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  if ( &amp;quot;${answer}&amp;quot; eq &amp;quot;osg_asset&amp;quot; )&lt;br /&gt;
  {&lt;br /&gt;
    system(&amp;quot;screen -d -r -S Asset-service&amp;quot;);&lt;br /&gt;
    $EXIT = 1;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  if ( &amp;quot;${answer}&amp;quot; eq &amp;quot;osg_inventory&amp;quot; )&lt;br /&gt;
  {&lt;br /&gt;
    system(&amp;quot;screen -d -r -S Inventory-service&amp;quot;);&lt;br /&gt;
    $EXIT = 1;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  if ( &amp;quot;${answer}&amp;quot; eq &amp;quot;osg_region&amp;quot; )&lt;br /&gt;
  {&lt;br /&gt;
    system(&amp;quot;screen -d -r -S Region-service&amp;quot;);&lt;br /&gt;
    $EXIT = 1;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  if ( &amp;quot;${answer}&amp;quot; eq &amp;quot;osg_shutdown&amp;quot; )&lt;br /&gt;
  {&lt;br /&gt;
    system(&amp;quot;screen -d -r -S Region-service&amp;quot;);&lt;br /&gt;
    system(&amp;quot;screen -d -r -S Inventory-service&amp;quot;);&lt;br /&gt;
    system(&amp;quot;screen -d -r -S Asset-service&amp;quot;);&lt;br /&gt;
    system(&amp;quot;screen -d -r -S Grid-service&amp;quot;);&lt;br /&gt;
    system(&amp;quot;screen -d -r -S User-service&amp;quot;);&lt;br /&gt;
    $EXIT = 1;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  if ( &amp;quot;${answer}&amp;quot; eq &amp;quot;osg_shutdown2&amp;quot; )&lt;br /&gt;
  {&lt;br /&gt;
    # system(&amp;quot;/OPENSIM/shutdownGrid.py&amp;quot;);&lt;br /&gt;
    system(&amp;quot;screen -S Region-service -r -m -X quit&amp;quot;);&lt;br /&gt;
    system(&amp;quot;screen -S Inventory-service -r -m -X quit&amp;quot;);&lt;br /&gt;
    system(&amp;quot;screen -S Asset-service -r -m -X quit&amp;quot;);&lt;br /&gt;
    system(&amp;quot;screen -S Grid-service -r -m -X quit&amp;quot;);&lt;br /&gt;
    system(&amp;quot;screen -S User-service -r -m -X quit&amp;quot;);&lt;br /&gt;
    $EXIT = 0;&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Regards, &lt;br /&gt;
Ursula Matova.&lt;/div&gt;</summary>
		<author><name>Ursula Matova</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/wiki/Troubleshooting</id>
		<title>Troubleshooting</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/wiki/Troubleshooting"/>
				<updated>2008-10-09T13:05:45Z</updated>
		
		<summary type="html">&lt;p&gt;Ursula Matova: /* Locales Issues */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Users]]&lt;br /&gt;
This page gives any system-specific configuration settings that may be useful, and advice for problems that might be encountered.&lt;br /&gt;
&lt;br /&gt;
== System-specific configuration ==&lt;br /&gt;
=== CentOS 5 ===&lt;br /&gt;
&lt;br /&gt;
To install mono and nant, you can use the &amp;quot;Linux Installer for x86&amp;quot; found at http://www.mono-project.com/Downloads.&lt;br /&gt;
&lt;br /&gt;
SVN can be installed by:&lt;br /&gt;
&lt;br /&gt;
 yum install subversion&lt;br /&gt;
&lt;br /&gt;
Mono defaults to installing into &amp;lt;tt&amp;gt;/opt&amp;lt;/tt&amp;gt;, so you may have to add this path to your environment variables, for example, in your &amp;lt;tt&amp;gt;~/.bashrc&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 export PATH=&amp;quot;/opt/mono-1.2.5/bin:$PATH&amp;quot;&lt;br /&gt;
 export PKG_CONFIG_PATH=&amp;quot;/opt/mono-1.2.5/lib/pkgconfig:$PKG_CONFIG_PATH&amp;quot;&lt;br /&gt;
 export MANPATH=&amp;quot;/opt/mono-1.2.5/share/man:$MANPATH&amp;quot;&lt;br /&gt;
 export LD_LIBRARY_PATH=&amp;quot;/opt/mono-1.2.5/lib:$LD_LIBRARY_PATH&amp;quot;&lt;br /&gt;
&lt;br /&gt;
After changing &amp;lt;tt&amp;gt;LD_LIBRARY_PATH&amp;lt;/tt&amp;gt;, you should update the dynamic linker cache:&lt;br /&gt;
&lt;br /&gt;
 ldconfig&lt;br /&gt;
&lt;br /&gt;
You may still encounter the &amp;quot;The current runtime framework 'mono-2.0' is not correctly configured in the NAnt configuration file.&amp;quot; error listed below.  In that case, this may fix this:&lt;br /&gt;
&lt;br /&gt;
 yum install glib&lt;br /&gt;
&lt;br /&gt;
If you are running a firewall as well (i.e., if &amp;lt;tt&amp;gt;iptables -L&amp;lt;/tt&amp;gt; shows a list of ACCEPT and REJECT rules), you'll have to open the necessary ports if you want to access the sim from other machines.  For standalone mode:&lt;br /&gt;
&lt;br /&gt;
 iptables -I RH-Firewall-1-INPUT -p tcp --dport 9000 -j ACCEPT&lt;br /&gt;
 iptables -I RH-Firewall-1-INPUT -p udp --dport 9000 -j ACCEPT&lt;br /&gt;
&lt;br /&gt;
=== Debian 4.0r0 ===&lt;br /&gt;
&lt;br /&gt;
If you set your system to use unstable sources, and then install some packages listed below, everything should just work.  To use unstable sources, modify your &amp;lt;tt&amp;gt;/etc/apt/sources.list&amp;lt;/tt&amp;gt; file, replacing 'etch' or 'stable' with 'unstable':&lt;br /&gt;
&lt;br /&gt;
 deb ftp://ftp.debian.org/debian/ unstable main&lt;br /&gt;
 deb-src ftp://ftp.debian.org/debian/ unstable main&lt;br /&gt;
&lt;br /&gt;
Then update your packages to the new versions:&lt;br /&gt;
&lt;br /&gt;
 apt-get update&lt;br /&gt;
 apt-get dist-upgrade&lt;br /&gt;
&lt;br /&gt;
This will probably change a large number of packages, and may break things.&lt;br /&gt;
In my experience, however, if you do not use unstable sources then the packages are not up to date enough, and you run into version issues, which lead to two DllNotFoundException errors below appearing in the console output: gdiplus.dll and libopenjpeg-libsl-2.1.2.0.so.&lt;br /&gt;
&lt;br /&gt;
Once the sources are updated, we need to install the necessary packages to be able to build OpenSim:&lt;br /&gt;
&lt;br /&gt;
 apt-get install subversion mono nant mono-gmcs mono-mjs libmono-microsoft8.0-cil libmono-system-runtime2.0-cil&lt;br /&gt;
&lt;br /&gt;
If any of these packages are missing, you'll probably encounter one of the errors listed below.  However, with these packages, OpenSim should build cleanly.&lt;br /&gt;
&lt;br /&gt;
Please note: If you are using mysql as storage on unstable you may get the following error:-&lt;br /&gt;
&lt;br /&gt;
 Exception: System.NotSupportedException: CodePage 1252 not supported&lt;br /&gt;
  at System.Text.Encoding.GetEncoding (Int32 codePage) [0x00000] &lt;br /&gt;
&lt;br /&gt;
To get it to work, try installing the libmono-i18n2.0-cil package&lt;br /&gt;
&lt;br /&gt;
 apt-get install libmono-i18n2.0-cil&lt;br /&gt;
&lt;br /&gt;
=== Gentoo ===&lt;br /&gt;
some Mono dependency &amp;amp; latest Mono itself may use &amp;quot;~x86&amp;quot; masked packages (assuming x86 is your platform, change may be made to reflect your ex:&amp;quot;~amd64&amp;quot; for 64bits). You could check for USE parameter with:&lt;br /&gt;
&lt;br /&gt;
 ACCEPT_KEYWORDS=&amp;quot;~x86&amp;quot; emerge -vp subversion nant mono libgdiplus&lt;br /&gt;
&lt;br /&gt;
Then install with:&lt;br /&gt;
&lt;br /&gt;
 ACCEPT_KEYWORDS=&amp;quot;~x86&amp;quot; emerge subversion nant mono libgdiplus&lt;br /&gt;
&lt;br /&gt;
N.B: The ACCEPT_KEYWORDS=&amp;quot;~x86&amp;quot; can be set in Gentoo /etc/make.conf file, but that turn up all the emerges in testing/unstable, using it at the begining of emerge command line use it only for current emerge process&lt;br /&gt;
&lt;br /&gt;
=== Mac OS X ===&lt;br /&gt;
This assumes you're using the universal binary for mono from the [http://www.mono-project.com/ Mono Project] site.&lt;br /&gt;
&lt;br /&gt;
If you are using OS X 10.4, you should also install X11 from the OS X install CDs.&lt;br /&gt;
In OS X 10.5, this is not required.&lt;br /&gt;
&lt;br /&gt;
If you get errors about the 2.0 framework not being supported, you may need to update your &amp;lt;tt&amp;gt;pkg-config&amp;lt;/tt&amp;gt; path.&lt;br /&gt;
I set this in &amp;lt;tt&amp;gt;~/.bash_profile&amp;lt;/tt&amp;gt;:&lt;br /&gt;
 export PKG_CONFIG_PATH=&amp;quot;/Library/Frameworks/Mono.framework/Versions/Current/lib/pkgconfig/:${PKG_CONFIG_PATH}&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Errors and fixes ==&lt;br /&gt;
&lt;br /&gt;
=== Build workarounds due to non-functionality or bugs: ===&lt;br /&gt;
&lt;br /&gt;
==== Disappearing prims due to duplicate UID's ====&lt;br /&gt;
Generally this problem occurs when a save-xml/load-xml file is loaded into the same sim without using the -newUID switch to generate new UUID's for the objects. This switch is documented in the [[Running#General OpenSim server commands|general server commands]] section. (&amp;lt;nowiki&amp;gt;load-xml &amp;lt;filename&amp;gt; -newUID&amp;lt;/nowiki&amp;gt;). But if this does not work, the other way is to shift-copy your build and drag it up into the air.. then delete the one in the air, (which is actually the copy). This will generate new UID's on all your prims.. you can now leave that build, and load your original load-xml file in another region.&lt;br /&gt;
&lt;br /&gt;
==== Linked objects not scaling/editing properly ====&lt;br /&gt;
From Mantis [[http://opensimulator.org/mantis/view.php?id=135 # 135]] and [[http://opensimulator.org/mantis/view.php?id=223 # 223]]: &amp;lt;br /&amp;gt;&lt;br /&gt;
Linked objects: while linking/unlinking objects seems to work fine, the editing of single prims inside a linked object doesn't work correctly. You have to check the box &amp;quot;Edit linked parts&amp;quot;, then you can select a single prim and edit it, but in most cases the changes in size- and/or postion-parameters are not accepted and revert immediately to the original ones. It is not completely reproducible, as it may work in some single case though.&amp;lt;br /&amp;gt;&lt;br /&gt;
'''Workaround:''' unlink the whole object, make the changes, and relink the whole thing again. &amp;lt;br /&amp;gt; ''note:'' re-scaling unlinked objects in grid mode seems to work better than in standalone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Exception and loss of ode physics System.EntryPointNotFoundException: dSpaceLockQuery ===&lt;br /&gt;
&lt;br /&gt;
The following is usually caused by using the wrong version of libode.  First try find / -name &amp;quot;libode.so&amp;quot; to see if you have other copies of the ode physics engine.  Then make sure you have the latest version of this.&lt;br /&gt;
&lt;br /&gt;
[SCENE] [02-01 22:20:40] System.EntryPointNotFoundException: dSpaceLockQuery&lt;br /&gt;
  at (wrapper managed-to-native) Ode.NET.d:SpaceLockQuery (intptr)&lt;br /&gt;
  at OpenSim.Region.Physics.OdePlugin.OdeScene.waitForSpaceUnlock (IntPtr space) [0x00000] &lt;br /&gt;
  at OpenSim.Region.Physics.OdePlugin.OdeCharacter.AvatarGeomAndBodyCreation (Single npositionX, Single npositionY, Single npositionZ, Single tensor) [0x00000] &lt;br /&gt;
  at OpenSim.Region.Physics.OdePlugin.OdeCharacter..ctor (System.String avName, OpenSim.Region.Physics.OdePlugin.OdeScene parent_scene, OpenSim.Region.Physics.Manager.PhysicsVector pos) [0x00000] &lt;br /&gt;
  at OpenSim.Region.Physics.OdePlugin.OdeScene.AddAvatar (System.String avName, OpenSim.Region.Physics.Manager.PhysicsVector position) [0x00000] &lt;br /&gt;
  at OpenSim.Region.Environment.Scenes.ScenePresence.AddToPhysicalScene () [0x00000] &lt;br /&gt;
  at OpenSim.Region.Environment.Scenes.ScenePresence.MakeRootAgent (LLVector3 pos, Boolean isFlying) [0x00000] &lt;br /&gt;
  at OpenSim.Region.Environment.Scenes.Scene.AgentCrossing (UInt64 regionHandle, LLUUID agentID, LLVector3 position, Boolean isFlying) [0x00000]&lt;br /&gt;
=== MySQL connection errors after about 6-8 hours ===&lt;br /&gt;
&lt;br /&gt;
MySQL has a timeout which drops the connection after 28,800 seconds (8 hours) of inactivity, which will probably result in failure to login after the User server has been sitting idle for an extended period.  If you have this problem, increase the timeout to something larger, like 604800 (1 week) or 31536000 (1 year).  From the mysql console, type:&lt;br /&gt;
&lt;br /&gt;
 set global wait_timeout=604800;&lt;br /&gt;
&lt;br /&gt;
=== System.DllNotFoundException: gdiplus.dll ===&lt;br /&gt;
&lt;br /&gt;
First, check to make sure that &amp;lt;tt&amp;gt;libgdiplus.so&amp;lt;/tt&amp;gt; is known to the dynamic linker:&lt;br /&gt;
&lt;br /&gt;
 /sbin/ldconfig -p | grep libgdiplus&lt;br /&gt;
&lt;br /&gt;
If nothing is found, make sure that the directory libgdiplus.so exists in is either in your &amp;lt;tt&amp;gt;LD_LIBRARY_PATH&amp;lt;/tt&amp;gt; environment variable or listed in a *.conf file (e.g., gdiplus.conf) in /etc/ld.so.conf.d/.  Then run &amp;lt;tt&amp;gt;ldconfig&amp;lt;/tt&amp;gt; to update the cache.  Then it should be able to find the library.&lt;br /&gt;
&lt;br /&gt;
You may still have the above error, however, since libgdiplus also depends on other dynamic libraries, and if they fail to load, libgdiplus will fail.  To test for this, run OpenSim with debugging information turned on:&lt;br /&gt;
&lt;br /&gt;
 MONO_LOG_LEVEL=debug mono OpenSim.exe&lt;br /&gt;
&lt;br /&gt;
{It may show errors loading other libraries, like &amp;lt;tt&amp;gt;libexif.so.9&amp;lt;/tt&amp;gt;.  In that case, linking to an existing version of the offending library may work:&lt;br /&gt;
&lt;br /&gt;
 ln -s libexif.so.12 libexif.so.9&lt;br /&gt;
&lt;br /&gt;
On Mac OS X - check the following file exists... /opt/local/lib/libgdiplus.dylib if it does then as root user edit the file /opt/local/etc/mono/config &lt;br /&gt;
and add the line &lt;br /&gt;
 &amp;lt;dllmap dll=&amp;quot;gdiplus.dll&amp;quot; target=&amp;quot;/opt/local/lib/libgdiplus.dylib&amp;quot; os=&amp;quot;!windows&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''(Is there a cleaner solution than this?)''} **see below for alternative/cleaner fix**&lt;br /&gt;
&lt;br /&gt;
== When installing mono or libgdiplus0 you may get dependency missing libexif.so.9 == &lt;br /&gt;
&lt;br /&gt;
This was noticed on Centos5 but may occur on other systems, download ftp://rpmfind.net/linux/conectiva/snapshot/i386/RPMS.extra/libexif9-0.5.12-47547cl.i386.rpm and install problem solved. You will now be able to install mono (as long as nothing else goes wrong )&lt;br /&gt;
&lt;br /&gt;
=== The assembly mscorlib.dll was not found or could not be loaded ===&lt;br /&gt;
&lt;br /&gt;
This indicates that you are missing one of the mscor libs that comes with nant.  This is easily solved by getting NAnt, which comes with both versions 1.0 and 2.0 of the required lib.&lt;br /&gt;
&lt;br /&gt;
 apt-get install nant&lt;br /&gt;
&lt;br /&gt;
=== External Program Failed: /usr/lib/pkgconfig/../../lib/mono/2.0/gmcs.exe === &lt;br /&gt;
&lt;br /&gt;
This is quickly fixed by retrieving mono-gmcs.&lt;br /&gt;
&lt;br /&gt;
 apt-get install mono-gmcs&lt;br /&gt;
&lt;br /&gt;
=== The type or namespace name JScript does not exist in the namespace Microsoft ===&lt;br /&gt;
&lt;br /&gt;
Note that it says Jscript over and over again.  Hint perhaps?&lt;br /&gt;
&lt;br /&gt;
 apt-get install mono-mjs libmono-microsoft8.0-cil&lt;br /&gt;
&lt;br /&gt;
On Fedora, the needed package is mono-jscript&lt;br /&gt;
&lt;br /&gt;
=== The type or namespace name Tcp does not exist in the namespace System.Runtime.Remoting.Channels ===&lt;br /&gt;
&lt;br /&gt;
This one is taken care of with a quick install:&lt;br /&gt;
&lt;br /&gt;
 apt-get install libmono-system-runtime2.0-cil&lt;br /&gt;
&lt;br /&gt;
=== Missing: libopenjpeg-libsl-2.1.2.0-x86_64.so ===&lt;br /&gt;
  You are on 64bit linux machine and my need to follow these instructions: [[Installing_and_running_on_x86-64 |Installing and running on x86-64 ]]&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
=== error while loading shared libraries: libgthread-2.0.so.0: cannot open shared object file ===&lt;br /&gt;
&lt;br /&gt;
If you start with a base Debian system as we did at the top of the page, but instead of using the apt version of mono you use the installer from their website, then you may encounter this issue.&lt;br /&gt;
&lt;br /&gt;
After getting the .bin file from http://www.mono-project.com/Downloads, and executing it as per its instructions, upon finishing, you may find that if you try to run `mono --version` you are presented with this message. This one means you need to install libglib2.0-0.&lt;br /&gt;
&lt;br /&gt;
 apt-get install libglib2.0-0&lt;br /&gt;
&lt;br /&gt;
=== The current runtime framework 'mono-2.0' is not correctly configured in the NAnt configuration file. ===&lt;br /&gt;
&lt;br /&gt;
This one seems to be fixed by retrieving the apt version of nant.&lt;br /&gt;
&lt;br /&gt;
 apt-get install nant&lt;br /&gt;
&lt;br /&gt;
This can also be due to &amp;lt;tt&amp;gt;pkg-config&amp;lt;/tt&amp;gt; not being able to locate the &amp;lt;tt&amp;gt;mono.pc&amp;lt;/tt&amp;gt; file.  Adding the directory containing this file to the environment variable &amp;lt;tt&amp;gt;PKG_CONFIG_PATH&amp;lt;/tt&amp;gt; may solve this.&lt;br /&gt;
&lt;br /&gt;
== Networking and config issues ==&lt;br /&gt;
   [[OpenSim:Running |See Running section]]&lt;br /&gt;
&lt;br /&gt;
=== You are able to log in, but not connect to a Region from a remote client ===&lt;br /&gt;
&lt;br /&gt;
    Look in your OpenSimulator/bin/Regions folder &lt;br /&gt;
    1) Try 0.0.0.0 for the internal_ip_address in your region.xml(default.xml) file&lt;br /&gt;
         (you'll have one of those files *per* region you've created)&lt;br /&gt;
    2) external_host_name=&amp;quot;127.0.0.1&amp;quot; will need to be changed to the accessable DNS name&lt;br /&gt;
        such as &amp;quot;opensim.example-host.com&amp;quot; or &amp;quot;71.6.131.152&amp;quot; (your public accessable ip)&lt;br /&gt;
&lt;br /&gt;
==Building OpenSim==&lt;br /&gt;
===I can't find any build files or solution files===&lt;br /&gt;
* If you're on Windows, run &amp;lt;tt&amp;gt;runprebuild.bat&amp;lt;/tt&amp;gt; - on Linux/Mac/FreeBSD, run &amp;lt;tt&amp;gt;runprebuild.sh&amp;lt;/tt&amp;gt;&lt;br /&gt;
=== VS2005 won't open the .sln file ===&lt;br /&gt;
* Try running VS2005 C#. You are probably running VS2005 C++. This is a C# project.&lt;br /&gt;
&lt;br /&gt;
==Running OpenSim==&lt;br /&gt;
=== Running OpenSim.exe from a Cygwin shell has access denied for some dll's ===&lt;br /&gt;
* Do a '&amp;lt;tt&amp;gt;cd bin&amp;lt;/tt&amp;gt;' followed by '&amp;lt;tt&amp;gt;chmod a+x *&amp;lt;/tt&amp;gt;' to make all dll files executable.&lt;br /&gt;
===I cannot start my sim===&lt;br /&gt;
* See [[Configuration]]&lt;br /&gt;
&lt;br /&gt;
==Something Has Gone Wrong!==&lt;br /&gt;
=== I get errors concerning 'owner_uuid' when starting up my grid after updating from svn beyond r3254 ===&lt;br /&gt;
When updating to recent revisions after r3254, we are now using the unused owner_uuid. There are some grids whose mysql tables were created during a time when this field was inadvertently removed from the .sql script that initializes the regions table. Logging in to your mysql instance and executing this SQL query to add the missing owner_uuid should solve this issue:&lt;br /&gt;
 alter table `regions` add column `owner_uuid` varchar(36) default '00000000-0000-0000-0000-000000000000' not null, comment 'Rev.2';&lt;br /&gt;
The punctuation around regions and owner_uuid is &amp;quot;grave accent&amp;quot;. The punctuation around the default value and the comment is the single quote. The &amp;quot;grave accent&amp;quot; is the one generally to the left of the One button, under the tilde and the single-quote, is, well, underneath the double quote. I think this matters to mysql.&lt;br /&gt;
&lt;br /&gt;
=== I get errors concerning 'State' when starting up my grid after updating from svn beyond r3786 ===&lt;br /&gt;
After r3786, a new 'State' field has been added to the 'primshapes' table on SQLite. This field is used to persist trees and grass.&lt;br /&gt;
You may have an empty region at startup, because OpenSim does not find this 'State' field and does not know what to do.&lt;br /&gt;
The best is to use SQLiteBrowser or another SQLite table editor (download it at [http://sqlitebrowser.sourceforge.net/ http://sqlitebrowser.sourceforge.net/]) to create the missing field:&lt;br /&gt;
 alter table primshapes add column State integer default 0&lt;br /&gt;
Just launch SQLiteBrowser, use File/Open database, then browse to OpenSim.db file and open it. Then, go to the &amp;quot;Execute SQL&amp;quot; tab, copy/paste the command above in the &amp;quot;SQL string&amp;quot; textbox, then hit the &amp;quot;Execute query&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
=== I get a timeout during region handshake ===&lt;br /&gt;
* Do you have the correct IP in your Regions\* config files?&lt;br /&gt;
* Do you have multiple interfaces on the server running OpenSim? OpenSim will not bind outgoing UDP packets to a specific IP, its default IP to reach you will be what the Region answers UDP with. If you have configured the region for another IP you will get a timeout during connect.&lt;br /&gt;
&lt;br /&gt;
=== I cannot connect to my OpenSim ===&lt;br /&gt;
* See [[OpenSim: Connecting]]&lt;br /&gt;
&lt;br /&gt;
===I can connect but cannot move===&lt;br /&gt;
If the client connects but the avatar can only spin in place and not move, then the sim is not correctly configured. It completed the initial login function, but packets are not being exchanged between the client and the sim, probably due to a network configuration error on the sim.&lt;br /&gt;
* See [[OpenSim: Configuration]]&lt;br /&gt;
&lt;br /&gt;
=== From time to time my Avatar seems to get stuck ===&lt;br /&gt;
Right now there is a bottle neck when syncing prims off to the database.  This will cause small (5 - 10 second) apparent hangs of the Avatar, but it will recover fine once the data is synced.  It is a known issue based on legacy architecture of some of the data storage code.  We hope this will be removed soon.&lt;br /&gt;
&lt;br /&gt;
=== I have problems with viewing the worldmap ===&lt;br /&gt;
* This may happen when running OpenSim on a Linux server, both in grid or standalone mode.&lt;br /&gt;
* Symptoms: when opening the worldmap window in the SL-viewer, the sims are not displayed grahically in the worldmap, the server console shows some error related to openjpeg, the current session freezes...&lt;br /&gt;
* Reason: your svn source trunk does not have the correct (or whatever...) &amp;lt;tt&amp;gt;libopenjpeg-libsl&amp;lt;/tt&amp;gt; library.&lt;br /&gt;
* Other reason: the file &amp;quot;defaultstripe.png&amp;quot; does not exists in the same OpenSim folder, or is corrupted.&lt;br /&gt;
* Solution: get the newest code from libsecondlife (&amp;lt;tt&amp;gt;svn co svn://opensecondlife.org/libsl/trunk&amp;lt;/tt&amp;gt;), '&amp;lt;tt&amp;gt;make&amp;lt;/tt&amp;gt;' manually in the subdir &amp;lt;tt&amp;gt;openjpeg-libsl&amp;lt;/tt&amp;gt;, and copy the resulting &amp;lt;tt&amp;gt;libopenjpeg-libsl-2.1.2.0.so&amp;lt;/tt&amp;gt; into your OpenSim &amp;lt;tt&amp;gt;bin&amp;lt;/tt&amp;gt; subdir, overwriting the existing one.&lt;br /&gt;
* Recompile &amp;amp; restart OpenSim&lt;br /&gt;
&lt;br /&gt;
==Exceptions on the Console==&lt;br /&gt;
This is a list of Exceptions that you may see on the console, what they mean, and if they are a problem.&lt;br /&gt;
&lt;br /&gt;
===System.DllNotFoundException: ./libopenjpeg-libsl-2.1.2.0.so===&lt;br /&gt;
 Failed generating terrain map: System.DllNotFoundException: ./libopenjpeg-libsl-2.1.2.0.so&lt;br /&gt;
 at (wrapper managed-to-native) OpenJPEGNet.OpenJPEG:LibslAllocDecoded OpenJPEGNet.OpenJPEG/LibslImage&amp;amp;)&lt;br /&gt;
 at OpenJPEGNet.OpenJPEG.Encode (System.Byte[] decoded, Int32 width, Int32 height, Int32 components, Boolean lossless) [0x00000]&lt;br /&gt;
 at OpenJPEGNet.OpenJPEG.EncodeFromImage (System.Drawing.Bitmap bitmap, Boolean lossless) [0x00000]&lt;br /&gt;
 at OpenSim.Region.Terrain.TerrainEngine.ExportJpegImage (System.String gradientmap) [0x00000]&lt;br /&gt;
&lt;br /&gt;
You are on Linux, and the native lib libopenjpeg-libsl-2.1.2.0.so is not compatible with your system for one of the following reasons:&lt;br /&gt;
* You have an old processor (libopenjpeg has been compiled with optimizations)&lt;br /&gt;
* You are running in 64bit mode (none of the native libs are built for 64bit)&lt;br /&gt;
&lt;br /&gt;
You can rebuild your own libopenjpeg from source, or run in a compatible environment.&lt;br /&gt;
You can do this by:&lt;br /&gt;
 svn co svn://opensecondlife.org/libsl/trunk libsl&lt;br /&gt;
 cd libsl/openjpeg-libsl/&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
then copy libopenjpeg-libsl-2.1.2.0.so into OpenSim bin-folder.&lt;br /&gt;
&lt;br /&gt;
==Grid Mode==&lt;br /&gt;
Note: Grid Mode isn't officially supported yet.  As such, you are pretty much on your own if you are trying to get OpenSim up and running in Grid Mode.&lt;br /&gt;
&lt;br /&gt;
=== I start the sim and it doesn't connect to any grid ===&lt;br /&gt;
&lt;br /&gt;
When OpenSim is first started, it needs configuration.&lt;br /&gt;
&lt;br /&gt;
* See [[OpenSim: Configuration]].&lt;br /&gt;
&lt;br /&gt;
===I start the OpenSim.Grid.UserServer.exe and it gives an error===&lt;br /&gt;
If this error is access denied for &amp;lt;tt&amp;gt;username@localhost&amp;lt;/tt&amp;gt;, the mysql database is not set up.&lt;br /&gt;
It will print some text and wait for input - either an enter to accept a default value, or another value you can supply.&lt;br /&gt;
* See [[OpenSim: Configuration]].&lt;br /&gt;
&lt;br /&gt;
===I want to run my own Local Grid but one or more servers fail to start===&lt;br /&gt;
* Be sure that you're able to start &amp;lt;tt&amp;gt;OpenSim.exe&amp;lt;/tt&amp;gt; alone, in Standalone mode, and to be able to login.&lt;br /&gt;
* Start the servers in the correct UGAS order and answer the questions as recommended (see [[OpenSim: Configuration]]).&lt;br /&gt;
* Set all the external URI's to the correct IP: 127.0.0.1 if running on your local machine, or aaa.bbb.ccc.ddd if running on a remote server.&lt;br /&gt;
* Check again all the &amp;lt;tt&amp;gt;*.xml&amp;lt;/tt&amp;gt; configuration files for any wrong settings or typing errors...!&lt;br /&gt;
* Don't forget to connect with your SL-viewer to port 8002 (Grid User-Server) instead of 9000 (Standalone OpenSim-Server).&lt;br /&gt;
* Delete all &amp;lt;tt&amp;gt;*.xml&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;*.yap&amp;lt;/tt&amp;gt; files in the &amp;lt;tt&amp;gt;bin&amp;lt;/tt&amp;gt; directory if you want to run a full reconfiguration again.&lt;br /&gt;
&lt;br /&gt;
===I get a bunch of asset not found errors, while connected to a online grid, and my inventory doesn't seem to work right===&lt;br /&gt;
*Make sure your opensim.ini has '      asset_database = &amp;quot;grid&amp;quot;      ' otherwise it will not work correctly.&lt;br /&gt;
[[Category:Users]]&lt;br /&gt;
&lt;br /&gt;
== ScriptEngine Issues ==&lt;br /&gt;
=== Got &amp;quot;Primitive: Error compiling script: unknown char: . error&amp;quot; when compiling script ===&lt;br /&gt;
When trying to compile a script ( using DotNetEngine or XEngine ) you could have this error :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Primitive: Error compiling script:&lt;br /&gt;
unknown char: .&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And on the console :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
11:06:37 - [ScriptEngine.DotNetEngine]: Unloading script&lt;br /&gt;
11:06:37 - Exception in MaintenanceLoopThread. Thread will recover after 5 sec throttle. Exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.&lt;br /&gt;
 at System.Collections.Generic.Dictionary`2[OpenSim.Region.ScriptEngine.Interfaces.IEventReceiver,OpenSim.Region.ScriptEngine.Shared.Api.Plugins.Dataserver].get_Item (IEventReceiver key) [0x00000]&lt;br /&gt;
 at OpenSim.Region.ScriptEngine.Shared.Api.AsyncCommandManager.RemoveScript (IEventReceiver engine, UInt32 localID, UUID itemID) [0x00000]&lt;br /&gt;
 at OpenSim.Region.ScriptEngine.DotNetEngine.ScriptManager._StopScript (UInt32 localID, UUID itemID) [0x00000]&lt;br /&gt;
 at OpenSim.Region.ScriptEngine.DotNetEngine.ScriptManager.DoScriptLoadUnload () [0x00000]&lt;br /&gt;
 at OpenSim.Region.ScriptEngine.DotNetEngine.MaintenanceThread.MaintenanceLoop () [0x00000]&lt;br /&gt;
11:06:37 - [ScriptEngine.DotNetEngine]: Loading script&lt;br /&gt;
11:06:37 - [ScriptEngine.DotNetEngine]: ScriptManager StartScript: localID: 720001, itemID: 88c9d28c-6004-4609-a707-717190de044a&lt;br /&gt;
11:06:37 - [Compiler]: Compiled new assembly for fad15951-f9aa-493f-be68-2aaf5ff8a3c9&lt;br /&gt;
11:06:37 - [SCRIPT]: Compiled assetID fad15951-f9aa-493f-be68-2aaf5ff8a3c9: ScriptEngines/a83150da-1ab1-11dd-89fb-0014853ee9da/CommonCompiler_compiled_fad15951-f9aa-493f-be68-2aaf5ff8a3c9.dll&lt;br /&gt;
11:06:37 - [ScriptEngine.DotNetEngine]: AppDomain Loading: OpenSim.Region.ScriptEngine.Shared, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This happens on '''linux''' when your locales are not set to default ( &amp;quot;C&amp;quot; ).&lt;br /&gt;
* You could refer to [http://opensimulator.org/mantis/view.php?id=2088 Mantis #2088] and [http://opensimulator.org/mantis/view.php?id=2015 Mantis #2015] for a workaround to run opensim.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
env LANG=C mono --debug OpenSim.exe&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* You could also change your locale setup. Here is what I use in my '.bash_profile' :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LC_ALL=C&lt;br /&gt;
export LANG=C&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
I know it's a ugly way to setup locales on a linux box, but it works fine on my '''Linux From Scratch''' box.&lt;br /&gt;
== Locales Issues ==&lt;br /&gt;
Well, some of us, OpenSim users, ran into random crash of the OpenSim Region server in grid mode ... &lt;br /&gt;
&lt;br /&gt;
I have made many tests to find a solution about that problem.&lt;br /&gt;
&lt;br /&gt;
I first ran into this problem with OpenSIM SVN.6660 ... Even if I have no users connected, my OpenSim region server randomly crash ( after 1 hour, or 5 hours, ... ).&lt;br /&gt;
&lt;br /&gt;
My first idea was to upgrade to the latest SVN release, no chance, same problem. So I made a test with a previous SVN release ( SVN.6575 ) which is running fine on another server ( same OS, same parameters, same mono release, ... ) : No chance, same problem.&lt;br /&gt;
&lt;br /&gt;
Then, I tried to play with locales, recompile the '''screen''' unix command line utility I use to run my servers, ... No chance again.&lt;br /&gt;
&lt;br /&gt;
So, I checked the memory usage on my Server, and I discovered that with the last SVN release, the amount of memory needed to run OpenSim server in multi-region/grid mode increased :) ... So, I have tuned my MySQL server to use less memory. Was better, but my OpenSim region server still randomly crash ( but could stay alive longer than before ).&lt;br /&gt;
&lt;br /&gt;
Then, trying to play with the '''screen''' command line options ... And all my tests shows that the '''--debug''' option impact the stability of the server.&lt;br /&gt;
&lt;br /&gt;
Initially, I used such command line to run OpenSim :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/screen -S Region-service -d -m --debug mono OpenSim.exe&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Without the '''--debug''' option, everything seems to be more stable.&lt;br /&gt;
&lt;br /&gt;
About locales, if you read mantis and threads in opensim-dev / opensim-users, you know that there are issues on system that are not &amp;quot;en_US&amp;quot; or &amp;quot;C&amp;quot; local compliant.&lt;br /&gt;
&lt;br /&gt;
I have re-setup my server to be full &amp;quot;en_US.UTF8&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
So, the resulting '''screen''' command line options should be :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
screen -S Region-service -d -m -U mono OpenSim.exe&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This allow me to run OpenSim SVN.6575 without crash during more than 48 hours, and also SVN.6735 ... &lt;br /&gt;
&lt;br /&gt;
Hope those informations could help peoples.&lt;br /&gt;
&lt;br /&gt;
Just for your information : &lt;br /&gt;
&lt;br /&gt;
Here is my '''OpenSim Startup script''' :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;User-Service...&amp;quot;&lt;br /&gt;
/usr/local/bin/screen -S User-service -d -m -U mono OpenSim.Grid.UserServer.exe&lt;br /&gt;
sleep 5&lt;br /&gt;
echo &amp;quot;Grid-Service...&amp;quot;&lt;br /&gt;
/usr/local/bin/screen -S Grid-service -d -m -U mono OpenSim.Grid.GridServer.exe&lt;br /&gt;
sleep 5&lt;br /&gt;
echo &amp;quot;Asset-Service...&amp;quot;&lt;br /&gt;
/usr/local/bin/screen -S Asset-service -d -m -U mono OpenSim.Grid.AssetServer.exe&lt;br /&gt;
sleep 10&lt;br /&gt;
echo &amp;quot;Inventory-Service...&amp;quot;&lt;br /&gt;
/usr/local/bin/screen -S Inventory-service -d -m -U mono OpenSim.Grid.InventoryServer.exe&lt;br /&gt;
sleep 5&lt;br /&gt;
echo &amp;quot;Region-Service...&amp;quot;&lt;br /&gt;
/usr/local/bin/screen -S Region-service -d -m -U mono OpenSim.exe&lt;br /&gt;
sleep 5&lt;br /&gt;
echo &amp;quot; &amp;quot;&lt;br /&gt;
echo &amp;quot; &amp;quot;&lt;br /&gt;
/usr/local/bin/screen -list&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here is also a small script that give you a menu to connect to the '''screen(s)''' sessions :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/usr/bin/perl&lt;br /&gt;
&lt;br /&gt;
use strict;&lt;br /&gt;
use Term::Menu;&lt;br /&gt;
&lt;br /&gt;
my $EXIT = 1;&lt;br /&gt;
&lt;br /&gt;
my $MainTitle = &amp;quot;+-----------------------------------------------------+\n&amp;quot;;&lt;br /&gt;
$MainTitle .= &amp;quot;|        Connexion SCREEN aux Serveurs OPENSIM        |\n&amp;quot;;&lt;br /&gt;
$MainTitle .= &amp;quot;|                                                     |\n&amp;quot;;&lt;br /&gt;
$MainTitle .= &amp;quot;|    ( Type CTRL+A+D to exit the Screen Console. )    |\n&amp;quot;;&lt;br /&gt;
$MainTitle .= &amp;quot;+-----------------------------------------------------+\n&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
while ( $EXIT == 1 )&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
  system(&amp;quot;screen -list | grep service &amp;gt; /tmp/osg.services&amp;quot;);&lt;br /&gt;
  my %LIST = ();&lt;br /&gt;
  open(IN, &amp;quot;/tmp/osg.services&amp;quot;);&lt;br /&gt;
  while ( my $i = &amp;lt;IN&amp;gt; )&lt;br /&gt;
  {&lt;br /&gt;
    chomp($i);&lt;br /&gt;
&lt;br /&gt;
    $i =~ s/\./#/g;&lt;br /&gt;
    $i =~ s/\-service\t/#/g;&lt;br /&gt;
    $i =~ s/\t//g;&lt;br /&gt;
    $i =~ s/\(//g;&lt;br /&gt;
    $i =~ s/\)//g;&lt;br /&gt;
&lt;br /&gt;
    my @STATUS = split(/#/, $i);&lt;br /&gt;
    $LIST{$STATUS[1]} = $STATUS[2];&lt;br /&gt;
  }&lt;br /&gt;
  close(IN);&lt;br /&gt;
&lt;br /&gt;
  my %LIST2 = ();&lt;br /&gt;
  my @indices = ('User', 'Grid', 'Asset', 'Inventory', 'Region');&lt;br /&gt;
&lt;br /&gt;
  foreach my $key ( @indices )&lt;br /&gt;
  {&lt;br /&gt;
    # print &amp;quot;$key --&amp;gt; $LIST{$key}\n&amp;quot;;&lt;br /&gt;
    if ( $LIST{$key} =~ /Attached/ )&lt;br /&gt;
    {&lt;br /&gt;
      $LIST2{$key} = &amp;quot;[X]&amp;quot;;&lt;br /&gt;
    }&lt;br /&gt;
    else&lt;br /&gt;
    {&lt;br /&gt;
      $LIST2{$key} = &amp;quot;[ ]&amp;quot;;&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  if ( $LIST{'User'} =~ /Attached/ )&lt;br /&gt;
  {&lt;br /&gt;
    $LIST2{'USER'} = &amp;quot;X&amp;quot;;&lt;br /&gt;
  }&lt;br /&gt;
  else&lt;br /&gt;
  {&lt;br /&gt;
    $LIST2{'USER'} = &amp;quot;-&amp;quot;;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  system ('clear');&lt;br /&gt;
  my $prompt = new Term::Menu (&lt;br /&gt;
    spaces =&amp;gt; 3,&lt;br /&gt;
    aftertext =&amp;gt; &amp;quot;\nChoisir une option : &amp;quot;,&lt;br /&gt;
    beforetext =&amp;gt; ${MainTitle},&lt;br /&gt;
    delim =&amp;gt; &amp;quot;. &amp;quot;,&lt;br /&gt;
  );&lt;br /&gt;
&lt;br /&gt;
  my $SEP = &amp;quot;                   &amp;quot;;&lt;br /&gt;
&lt;br /&gt;
  my $answer = $prompt-&amp;gt;menu(&lt;br /&gt;
                osg_user       =&amp;gt; [&amp;quot;OpenSim User Server       $SEP$LIST2{'User'}&amp;quot;,  '1'],&lt;br /&gt;
                osg_grid       =&amp;gt; [&amp;quot;OpenSim Grid Server       $SEP$LIST2{'Grid'}&amp;quot;,  '2'],&lt;br /&gt;
                osg_asset      =&amp;gt; [&amp;quot;OpenSim Asset Server      $SEP$LIST2{'Asset'}&amp;quot;,  '3'],&lt;br /&gt;
                osg_inventory  =&amp;gt; [&amp;quot;OpenSim Inventory Server  $SEP$LIST2{'Inventory'}&amp;quot;,  '4'],&lt;br /&gt;
                osg_region     =&amp;gt; [&amp;quot;OpenSim Region Server     $SEP$LIST2{'Region'}\n&amp;quot;,  '5'],&lt;br /&gt;
                osg_shutdown   =&amp;gt; [&amp;quot;Shutdown Servers (Manual)&amp;quot;,'6'],&lt;br /&gt;
                osg_shutdown2  =&amp;gt; [&amp;quot;Shutdown Servers (Hard)\n&amp;quot;,'7'],&lt;br /&gt;
                quit    =&amp;gt; [&amp;quot;Quitter&amp;quot;, 'q'],&lt;br /&gt;
                            );&lt;br /&gt;
&lt;br /&gt;
  if ( &amp;quot;${answer}&amp;quot; eq &amp;quot;quit&amp;quot; )&lt;br /&gt;
  {&lt;br /&gt;
    $EXIT = 0;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  if ( &amp;quot;${answer}&amp;quot; eq &amp;quot;osg_user&amp;quot; )&lt;br /&gt;
  {&lt;br /&gt;
    system(&amp;quot;screen -d -r -S User-service&amp;quot;);&lt;br /&gt;
    $EXIT = 1;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  if ( &amp;quot;${answer}&amp;quot; eq &amp;quot;osg_grid&amp;quot; )&lt;br /&gt;
  {&lt;br /&gt;
    system(&amp;quot;screen -d -r -S Grid-service&amp;quot;);&lt;br /&gt;
    $EXIT = 1;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  if ( &amp;quot;${answer}&amp;quot; eq &amp;quot;osg_asset&amp;quot; )&lt;br /&gt;
  {&lt;br /&gt;
    system(&amp;quot;screen -d -r -S Asset-service&amp;quot;);&lt;br /&gt;
    $EXIT = 1;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  if ( &amp;quot;${answer}&amp;quot; eq &amp;quot;osg_inventory&amp;quot; )&lt;br /&gt;
  {&lt;br /&gt;
    system(&amp;quot;screen -d -r -S Inventory-service&amp;quot;);&lt;br /&gt;
    $EXIT = 1;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  if ( &amp;quot;${answer}&amp;quot; eq &amp;quot;osg_region&amp;quot; )&lt;br /&gt;
  {&lt;br /&gt;
    system(&amp;quot;screen -d -r -S Region-service&amp;quot;);&lt;br /&gt;
    $EXIT = 1;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  if ( &amp;quot;${answer}&amp;quot; eq &amp;quot;osg_shutdown&amp;quot; )&lt;br /&gt;
  {&lt;br /&gt;
    system(&amp;quot;screen -d -r -S Region-service&amp;quot;);&lt;br /&gt;
    system(&amp;quot;screen -d -r -S Inventory-service&amp;quot;);&lt;br /&gt;
    system(&amp;quot;screen -d -r -S Asset-service&amp;quot;);&lt;br /&gt;
    system(&amp;quot;screen -d -r -S Grid-service&amp;quot;);&lt;br /&gt;
    system(&amp;quot;screen -d -r -S User-service&amp;quot;);&lt;br /&gt;
    $EXIT = 1;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  if ( &amp;quot;${answer}&amp;quot; eq &amp;quot;osg_shutdown2&amp;quot; )&lt;br /&gt;
  {&lt;br /&gt;
    # system(&amp;quot;/OPENSIM/shutdownGrid.py&amp;quot;);&lt;br /&gt;
    system(&amp;quot;screen -S Region-service -r -m -X quit&amp;quot;);&lt;br /&gt;
    system(&amp;quot;screen -S Inventory-service -r -m -X quit&amp;quot;);&lt;br /&gt;
    system(&amp;quot;screen -S Asset-service -r -m -X quit&amp;quot;);&lt;br /&gt;
    system(&amp;quot;screen -S Grid-service -r -m -X quit&amp;quot;);&lt;br /&gt;
    system(&amp;quot;screen -S User-service -r -m -X quit&amp;quot;);&lt;br /&gt;
    $EXIT = 0;&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Regards, &lt;br /&gt;
Ursula Matova.&lt;/div&gt;</summary>
		<author><name>Ursula Matova</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/wiki/Troubleshooting</id>
		<title>Troubleshooting</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/wiki/Troubleshooting"/>
				<updated>2008-10-09T12:49:29Z</updated>
		
		<summary type="html">&lt;p&gt;Ursula Matova: /* ScriptEngine Issues */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Users]]&lt;br /&gt;
This page gives any system-specific configuration settings that may be useful, and advice for problems that might be encountered.&lt;br /&gt;
&lt;br /&gt;
== System-specific configuration ==&lt;br /&gt;
=== CentOS 5 ===&lt;br /&gt;
&lt;br /&gt;
To install mono and nant, you can use the &amp;quot;Linux Installer for x86&amp;quot; found at http://www.mono-project.com/Downloads.&lt;br /&gt;
&lt;br /&gt;
SVN can be installed by:&lt;br /&gt;
&lt;br /&gt;
 yum install subversion&lt;br /&gt;
&lt;br /&gt;
Mono defaults to installing into &amp;lt;tt&amp;gt;/opt&amp;lt;/tt&amp;gt;, so you may have to add this path to your environment variables, for example, in your &amp;lt;tt&amp;gt;~/.bashrc&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 export PATH=&amp;quot;/opt/mono-1.2.5/bin:$PATH&amp;quot;&lt;br /&gt;
 export PKG_CONFIG_PATH=&amp;quot;/opt/mono-1.2.5/lib/pkgconfig:$PKG_CONFIG_PATH&amp;quot;&lt;br /&gt;
 export MANPATH=&amp;quot;/opt/mono-1.2.5/share/man:$MANPATH&amp;quot;&lt;br /&gt;
 export LD_LIBRARY_PATH=&amp;quot;/opt/mono-1.2.5/lib:$LD_LIBRARY_PATH&amp;quot;&lt;br /&gt;
&lt;br /&gt;
After changing &amp;lt;tt&amp;gt;LD_LIBRARY_PATH&amp;lt;/tt&amp;gt;, you should update the dynamic linker cache:&lt;br /&gt;
&lt;br /&gt;
 ldconfig&lt;br /&gt;
&lt;br /&gt;
You may still encounter the &amp;quot;The current runtime framework 'mono-2.0' is not correctly configured in the NAnt configuration file.&amp;quot; error listed below.  In that case, this may fix this:&lt;br /&gt;
&lt;br /&gt;
 yum install glib&lt;br /&gt;
&lt;br /&gt;
If you are running a firewall as well (i.e., if &amp;lt;tt&amp;gt;iptables -L&amp;lt;/tt&amp;gt; shows a list of ACCEPT and REJECT rules), you'll have to open the necessary ports if you want to access the sim from other machines.  For standalone mode:&lt;br /&gt;
&lt;br /&gt;
 iptables -I RH-Firewall-1-INPUT -p tcp --dport 9000 -j ACCEPT&lt;br /&gt;
 iptables -I RH-Firewall-1-INPUT -p udp --dport 9000 -j ACCEPT&lt;br /&gt;
&lt;br /&gt;
=== Debian 4.0r0 ===&lt;br /&gt;
&lt;br /&gt;
If you set your system to use unstable sources, and then install some packages listed below, everything should just work.  To use unstable sources, modify your &amp;lt;tt&amp;gt;/etc/apt/sources.list&amp;lt;/tt&amp;gt; file, replacing 'etch' or 'stable' with 'unstable':&lt;br /&gt;
&lt;br /&gt;
 deb ftp://ftp.debian.org/debian/ unstable main&lt;br /&gt;
 deb-src ftp://ftp.debian.org/debian/ unstable main&lt;br /&gt;
&lt;br /&gt;
Then update your packages to the new versions:&lt;br /&gt;
&lt;br /&gt;
 apt-get update&lt;br /&gt;
 apt-get dist-upgrade&lt;br /&gt;
&lt;br /&gt;
This will probably change a large number of packages, and may break things.&lt;br /&gt;
In my experience, however, if you do not use unstable sources then the packages are not up to date enough, and you run into version issues, which lead to two DllNotFoundException errors below appearing in the console output: gdiplus.dll and libopenjpeg-libsl-2.1.2.0.so.&lt;br /&gt;
&lt;br /&gt;
Once the sources are updated, we need to install the necessary packages to be able to build OpenSim:&lt;br /&gt;
&lt;br /&gt;
 apt-get install subversion mono nant mono-gmcs mono-mjs libmono-microsoft8.0-cil libmono-system-runtime2.0-cil&lt;br /&gt;
&lt;br /&gt;
If any of these packages are missing, you'll probably encounter one of the errors listed below.  However, with these packages, OpenSim should build cleanly.&lt;br /&gt;
&lt;br /&gt;
Please note: If you are using mysql as storage on unstable you may get the following error:-&lt;br /&gt;
&lt;br /&gt;
 Exception: System.NotSupportedException: CodePage 1252 not supported&lt;br /&gt;
  at System.Text.Encoding.GetEncoding (Int32 codePage) [0x00000] &lt;br /&gt;
&lt;br /&gt;
To get it to work, try installing the libmono-i18n2.0-cil package&lt;br /&gt;
&lt;br /&gt;
 apt-get install libmono-i18n2.0-cil&lt;br /&gt;
&lt;br /&gt;
=== Gentoo ===&lt;br /&gt;
some Mono dependency &amp;amp; latest Mono itself may use &amp;quot;~x86&amp;quot; masked packages (assuming x86 is your platform, change may be made to reflect your ex:&amp;quot;~amd64&amp;quot; for 64bits). You could check for USE parameter with:&lt;br /&gt;
&lt;br /&gt;
 ACCEPT_KEYWORDS=&amp;quot;~x86&amp;quot; emerge -vp subversion nant mono libgdiplus&lt;br /&gt;
&lt;br /&gt;
Then install with:&lt;br /&gt;
&lt;br /&gt;
 ACCEPT_KEYWORDS=&amp;quot;~x86&amp;quot; emerge subversion nant mono libgdiplus&lt;br /&gt;
&lt;br /&gt;
N.B: The ACCEPT_KEYWORDS=&amp;quot;~x86&amp;quot; can be set in Gentoo /etc/make.conf file, but that turn up all the emerges in testing/unstable, using it at the begining of emerge command line use it only for current emerge process&lt;br /&gt;
&lt;br /&gt;
=== Mac OS X ===&lt;br /&gt;
This assumes you're using the universal binary for mono from the [http://www.mono-project.com/ Mono Project] site.&lt;br /&gt;
&lt;br /&gt;
If you are using OS X 10.4, you should also install X11 from the OS X install CDs.&lt;br /&gt;
In OS X 10.5, this is not required.&lt;br /&gt;
&lt;br /&gt;
If you get errors about the 2.0 framework not being supported, you may need to update your &amp;lt;tt&amp;gt;pkg-config&amp;lt;/tt&amp;gt; path.&lt;br /&gt;
I set this in &amp;lt;tt&amp;gt;~/.bash_profile&amp;lt;/tt&amp;gt;:&lt;br /&gt;
 export PKG_CONFIG_PATH=&amp;quot;/Library/Frameworks/Mono.framework/Versions/Current/lib/pkgconfig/:${PKG_CONFIG_PATH}&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Errors and fixes ==&lt;br /&gt;
&lt;br /&gt;
=== Build workarounds due to non-functionality or bugs: ===&lt;br /&gt;
&lt;br /&gt;
==== Disappearing prims due to duplicate UID's ====&lt;br /&gt;
Generally this problem occurs when a save-xml/load-xml file is loaded into the same sim without using the -newUID switch to generate new UUID's for the objects. This switch is documented in the [[Running#General OpenSim server commands|general server commands]] section. (&amp;lt;nowiki&amp;gt;load-xml &amp;lt;filename&amp;gt; -newUID&amp;lt;/nowiki&amp;gt;). But if this does not work, the other way is to shift-copy your build and drag it up into the air.. then delete the one in the air, (which is actually the copy). This will generate new UID's on all your prims.. you can now leave that build, and load your original load-xml file in another region.&lt;br /&gt;
&lt;br /&gt;
==== Linked objects not scaling/editing properly ====&lt;br /&gt;
From Mantis [[http://opensimulator.org/mantis/view.php?id=135 # 135]] and [[http://opensimulator.org/mantis/view.php?id=223 # 223]]: &amp;lt;br /&amp;gt;&lt;br /&gt;
Linked objects: while linking/unlinking objects seems to work fine, the editing of single prims inside a linked object doesn't work correctly. You have to check the box &amp;quot;Edit linked parts&amp;quot;, then you can select a single prim and edit it, but in most cases the changes in size- and/or postion-parameters are not accepted and revert immediately to the original ones. It is not completely reproducible, as it may work in some single case though.&amp;lt;br /&amp;gt;&lt;br /&gt;
'''Workaround:''' unlink the whole object, make the changes, and relink the whole thing again. &amp;lt;br /&amp;gt; ''note:'' re-scaling unlinked objects in grid mode seems to work better than in standalone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Exception and loss of ode physics System.EntryPointNotFoundException: dSpaceLockQuery ===&lt;br /&gt;
&lt;br /&gt;
The following is usually caused by using the wrong version of libode.  First try find / -name &amp;quot;libode.so&amp;quot; to see if you have other copies of the ode physics engine.  Then make sure you have the latest version of this.&lt;br /&gt;
&lt;br /&gt;
[SCENE] [02-01 22:20:40] System.EntryPointNotFoundException: dSpaceLockQuery&lt;br /&gt;
  at (wrapper managed-to-native) Ode.NET.d:SpaceLockQuery (intptr)&lt;br /&gt;
  at OpenSim.Region.Physics.OdePlugin.OdeScene.waitForSpaceUnlock (IntPtr space) [0x00000] &lt;br /&gt;
  at OpenSim.Region.Physics.OdePlugin.OdeCharacter.AvatarGeomAndBodyCreation (Single npositionX, Single npositionY, Single npositionZ, Single tensor) [0x00000] &lt;br /&gt;
  at OpenSim.Region.Physics.OdePlugin.OdeCharacter..ctor (System.String avName, OpenSim.Region.Physics.OdePlugin.OdeScene parent_scene, OpenSim.Region.Physics.Manager.PhysicsVector pos) [0x00000] &lt;br /&gt;
  at OpenSim.Region.Physics.OdePlugin.OdeScene.AddAvatar (System.String avName, OpenSim.Region.Physics.Manager.PhysicsVector position) [0x00000] &lt;br /&gt;
  at OpenSim.Region.Environment.Scenes.ScenePresence.AddToPhysicalScene () [0x00000] &lt;br /&gt;
  at OpenSim.Region.Environment.Scenes.ScenePresence.MakeRootAgent (LLVector3 pos, Boolean isFlying) [0x00000] &lt;br /&gt;
  at OpenSim.Region.Environment.Scenes.Scene.AgentCrossing (UInt64 regionHandle, LLUUID agentID, LLVector3 position, Boolean isFlying) [0x00000]&lt;br /&gt;
=== MySQL connection errors after about 6-8 hours ===&lt;br /&gt;
&lt;br /&gt;
MySQL has a timeout which drops the connection after 28,800 seconds (8 hours) of inactivity, which will probably result in failure to login after the User server has been sitting idle for an extended period.  If you have this problem, increase the timeout to something larger, like 604800 (1 week) or 31536000 (1 year).  From the mysql console, type:&lt;br /&gt;
&lt;br /&gt;
 set global wait_timeout=604800;&lt;br /&gt;
&lt;br /&gt;
=== System.DllNotFoundException: gdiplus.dll ===&lt;br /&gt;
&lt;br /&gt;
First, check to make sure that &amp;lt;tt&amp;gt;libgdiplus.so&amp;lt;/tt&amp;gt; is known to the dynamic linker:&lt;br /&gt;
&lt;br /&gt;
 /sbin/ldconfig -p | grep libgdiplus&lt;br /&gt;
&lt;br /&gt;
If nothing is found, make sure that the directory libgdiplus.so exists in is either in your &amp;lt;tt&amp;gt;LD_LIBRARY_PATH&amp;lt;/tt&amp;gt; environment variable or listed in a *.conf file (e.g., gdiplus.conf) in /etc/ld.so.conf.d/.  Then run &amp;lt;tt&amp;gt;ldconfig&amp;lt;/tt&amp;gt; to update the cache.  Then it should be able to find the library.&lt;br /&gt;
&lt;br /&gt;
You may still have the above error, however, since libgdiplus also depends on other dynamic libraries, and if they fail to load, libgdiplus will fail.  To test for this, run OpenSim with debugging information turned on:&lt;br /&gt;
&lt;br /&gt;
 MONO_LOG_LEVEL=debug mono OpenSim.exe&lt;br /&gt;
&lt;br /&gt;
{It may show errors loading other libraries, like &amp;lt;tt&amp;gt;libexif.so.9&amp;lt;/tt&amp;gt;.  In that case, linking to an existing version of the offending library may work:&lt;br /&gt;
&lt;br /&gt;
 ln -s libexif.so.12 libexif.so.9&lt;br /&gt;
&lt;br /&gt;
On Mac OS X - check the following file exists... /opt/local/lib/libgdiplus.dylib if it does then as root user edit the file /opt/local/etc/mono/config &lt;br /&gt;
and add the line &lt;br /&gt;
 &amp;lt;dllmap dll=&amp;quot;gdiplus.dll&amp;quot; target=&amp;quot;/opt/local/lib/libgdiplus.dylib&amp;quot; os=&amp;quot;!windows&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''(Is there a cleaner solution than this?)''} **see below for alternative/cleaner fix**&lt;br /&gt;
&lt;br /&gt;
== When installing mono or libgdiplus0 you may get dependency missing libexif.so.9 == &lt;br /&gt;
&lt;br /&gt;
This was noticed on Centos5 but may occur on other systems, download ftp://rpmfind.net/linux/conectiva/snapshot/i386/RPMS.extra/libexif9-0.5.12-47547cl.i386.rpm and install problem solved. You will now be able to install mono (as long as nothing else goes wrong )&lt;br /&gt;
&lt;br /&gt;
=== The assembly mscorlib.dll was not found or could not be loaded ===&lt;br /&gt;
&lt;br /&gt;
This indicates that you are missing one of the mscor libs that comes with nant.  This is easily solved by getting NAnt, which comes with both versions 1.0 and 2.0 of the required lib.&lt;br /&gt;
&lt;br /&gt;
 apt-get install nant&lt;br /&gt;
&lt;br /&gt;
=== External Program Failed: /usr/lib/pkgconfig/../../lib/mono/2.0/gmcs.exe === &lt;br /&gt;
&lt;br /&gt;
This is quickly fixed by retrieving mono-gmcs.&lt;br /&gt;
&lt;br /&gt;
 apt-get install mono-gmcs&lt;br /&gt;
&lt;br /&gt;
=== The type or namespace name JScript does not exist in the namespace Microsoft ===&lt;br /&gt;
&lt;br /&gt;
Note that it says Jscript over and over again.  Hint perhaps?&lt;br /&gt;
&lt;br /&gt;
 apt-get install mono-mjs libmono-microsoft8.0-cil&lt;br /&gt;
&lt;br /&gt;
On Fedora, the needed package is mono-jscript&lt;br /&gt;
&lt;br /&gt;
=== The type or namespace name Tcp does not exist in the namespace System.Runtime.Remoting.Channels ===&lt;br /&gt;
&lt;br /&gt;
This one is taken care of with a quick install:&lt;br /&gt;
&lt;br /&gt;
 apt-get install libmono-system-runtime2.0-cil&lt;br /&gt;
&lt;br /&gt;
=== Missing: libopenjpeg-libsl-2.1.2.0-x86_64.so ===&lt;br /&gt;
  You are on 64bit linux machine and my need to follow these instructions: [[Installing_and_running_on_x86-64 |Installing and running on x86-64 ]]&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
=== error while loading shared libraries: libgthread-2.0.so.0: cannot open shared object file ===&lt;br /&gt;
&lt;br /&gt;
If you start with a base Debian system as we did at the top of the page, but instead of using the apt version of mono you use the installer from their website, then you may encounter this issue.&lt;br /&gt;
&lt;br /&gt;
After getting the .bin file from http://www.mono-project.com/Downloads, and executing it as per its instructions, upon finishing, you may find that if you try to run `mono --version` you are presented with this message. This one means you need to install libglib2.0-0.&lt;br /&gt;
&lt;br /&gt;
 apt-get install libglib2.0-0&lt;br /&gt;
&lt;br /&gt;
=== The current runtime framework 'mono-2.0' is not correctly configured in the NAnt configuration file. ===&lt;br /&gt;
&lt;br /&gt;
This one seems to be fixed by retrieving the apt version of nant.&lt;br /&gt;
&lt;br /&gt;
 apt-get install nant&lt;br /&gt;
&lt;br /&gt;
This can also be due to &amp;lt;tt&amp;gt;pkg-config&amp;lt;/tt&amp;gt; not being able to locate the &amp;lt;tt&amp;gt;mono.pc&amp;lt;/tt&amp;gt; file.  Adding the directory containing this file to the environment variable &amp;lt;tt&amp;gt;PKG_CONFIG_PATH&amp;lt;/tt&amp;gt; may solve this.&lt;br /&gt;
&lt;br /&gt;
== Networking and config issues ==&lt;br /&gt;
   [[OpenSim:Running |See Running section]]&lt;br /&gt;
&lt;br /&gt;
=== You are able to log in, but not connect to a Region from a remote client ===&lt;br /&gt;
&lt;br /&gt;
    Look in your OpenSimulator/bin/Regions folder &lt;br /&gt;
    1) Try 0.0.0.0 for the internal_ip_address in your region.xml(default.xml) file&lt;br /&gt;
         (you'll have one of those files *per* region you've created)&lt;br /&gt;
    2) external_host_name=&amp;quot;127.0.0.1&amp;quot; will need to be changed to the accessable DNS name&lt;br /&gt;
        such as &amp;quot;opensim.example-host.com&amp;quot; or &amp;quot;71.6.131.152&amp;quot; (your public accessable ip)&lt;br /&gt;
&lt;br /&gt;
==Building OpenSim==&lt;br /&gt;
===I can't find any build files or solution files===&lt;br /&gt;
* If you're on Windows, run &amp;lt;tt&amp;gt;runprebuild.bat&amp;lt;/tt&amp;gt; - on Linux/Mac/FreeBSD, run &amp;lt;tt&amp;gt;runprebuild.sh&amp;lt;/tt&amp;gt;&lt;br /&gt;
=== VS2005 won't open the .sln file ===&lt;br /&gt;
* Try running VS2005 C#. You are probably running VS2005 C++. This is a C# project.&lt;br /&gt;
&lt;br /&gt;
==Running OpenSim==&lt;br /&gt;
=== Running OpenSim.exe from a Cygwin shell has access denied for some dll's ===&lt;br /&gt;
* Do a '&amp;lt;tt&amp;gt;cd bin&amp;lt;/tt&amp;gt;' followed by '&amp;lt;tt&amp;gt;chmod a+x *&amp;lt;/tt&amp;gt;' to make all dll files executable.&lt;br /&gt;
===I cannot start my sim===&lt;br /&gt;
* See [[Configuration]]&lt;br /&gt;
&lt;br /&gt;
==Something Has Gone Wrong!==&lt;br /&gt;
=== I get errors concerning 'owner_uuid' when starting up my grid after updating from svn beyond r3254 ===&lt;br /&gt;
When updating to recent revisions after r3254, we are now using the unused owner_uuid. There are some grids whose mysql tables were created during a time when this field was inadvertently removed from the .sql script that initializes the regions table. Logging in to your mysql instance and executing this SQL query to add the missing owner_uuid should solve this issue:&lt;br /&gt;
 alter table `regions` add column `owner_uuid` varchar(36) default '00000000-0000-0000-0000-000000000000' not null, comment 'Rev.2';&lt;br /&gt;
The punctuation around regions and owner_uuid is &amp;quot;grave accent&amp;quot;. The punctuation around the default value and the comment is the single quote. The &amp;quot;grave accent&amp;quot; is the one generally to the left of the One button, under the tilde and the single-quote, is, well, underneath the double quote. I think this matters to mysql.&lt;br /&gt;
&lt;br /&gt;
=== I get errors concerning 'State' when starting up my grid after updating from svn beyond r3786 ===&lt;br /&gt;
After r3786, a new 'State' field has been added to the 'primshapes' table on SQLite. This field is used to persist trees and grass.&lt;br /&gt;
You may have an empty region at startup, because OpenSim does not find this 'State' field and does not know what to do.&lt;br /&gt;
The best is to use SQLiteBrowser or another SQLite table editor (download it at [http://sqlitebrowser.sourceforge.net/ http://sqlitebrowser.sourceforge.net/]) to create the missing field:&lt;br /&gt;
 alter table primshapes add column State integer default 0&lt;br /&gt;
Just launch SQLiteBrowser, use File/Open database, then browse to OpenSim.db file and open it. Then, go to the &amp;quot;Execute SQL&amp;quot; tab, copy/paste the command above in the &amp;quot;SQL string&amp;quot; textbox, then hit the &amp;quot;Execute query&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
=== I get a timeout during region handshake ===&lt;br /&gt;
* Do you have the correct IP in your Regions\* config files?&lt;br /&gt;
* Do you have multiple interfaces on the server running OpenSim? OpenSim will not bind outgoing UDP packets to a specific IP, its default IP to reach you will be what the Region answers UDP with. If you have configured the region for another IP you will get a timeout during connect.&lt;br /&gt;
&lt;br /&gt;
=== I cannot connect to my OpenSim ===&lt;br /&gt;
* See [[OpenSim: Connecting]]&lt;br /&gt;
&lt;br /&gt;
===I can connect but cannot move===&lt;br /&gt;
If the client connects but the avatar can only spin in place and not move, then the sim is not correctly configured. It completed the initial login function, but packets are not being exchanged between the client and the sim, probably due to a network configuration error on the sim.&lt;br /&gt;
* See [[OpenSim: Configuration]]&lt;br /&gt;
&lt;br /&gt;
=== From time to time my Avatar seems to get stuck ===&lt;br /&gt;
Right now there is a bottle neck when syncing prims off to the database.  This will cause small (5 - 10 second) apparent hangs of the Avatar, but it will recover fine once the data is synced.  It is a known issue based on legacy architecture of some of the data storage code.  We hope this will be removed soon.&lt;br /&gt;
&lt;br /&gt;
=== I have problems with viewing the worldmap ===&lt;br /&gt;
* This may happen when running OpenSim on a Linux server, both in grid or standalone mode.&lt;br /&gt;
* Symptoms: when opening the worldmap window in the SL-viewer, the sims are not displayed grahically in the worldmap, the server console shows some error related to openjpeg, the current session freezes...&lt;br /&gt;
* Reason: your svn source trunk does not have the correct (or whatever...) &amp;lt;tt&amp;gt;libopenjpeg-libsl&amp;lt;/tt&amp;gt; library.&lt;br /&gt;
* Other reason: the file &amp;quot;defaultstripe.png&amp;quot; does not exists in the same OpenSim folder, or is corrupted.&lt;br /&gt;
* Solution: get the newest code from libsecondlife (&amp;lt;tt&amp;gt;svn co svn://opensecondlife.org/libsl/trunk&amp;lt;/tt&amp;gt;), '&amp;lt;tt&amp;gt;make&amp;lt;/tt&amp;gt;' manually in the subdir &amp;lt;tt&amp;gt;openjpeg-libsl&amp;lt;/tt&amp;gt;, and copy the resulting &amp;lt;tt&amp;gt;libopenjpeg-libsl-2.1.2.0.so&amp;lt;/tt&amp;gt; into your OpenSim &amp;lt;tt&amp;gt;bin&amp;lt;/tt&amp;gt; subdir, overwriting the existing one.&lt;br /&gt;
* Recompile &amp;amp; restart OpenSim&lt;br /&gt;
&lt;br /&gt;
==Exceptions on the Console==&lt;br /&gt;
This is a list of Exceptions that you may see on the console, what they mean, and if they are a problem.&lt;br /&gt;
&lt;br /&gt;
===System.DllNotFoundException: ./libopenjpeg-libsl-2.1.2.0.so===&lt;br /&gt;
 Failed generating terrain map: System.DllNotFoundException: ./libopenjpeg-libsl-2.1.2.0.so&lt;br /&gt;
 at (wrapper managed-to-native) OpenJPEGNet.OpenJPEG:LibslAllocDecoded OpenJPEGNet.OpenJPEG/LibslImage&amp;amp;)&lt;br /&gt;
 at OpenJPEGNet.OpenJPEG.Encode (System.Byte[] decoded, Int32 width, Int32 height, Int32 components, Boolean lossless) [0x00000]&lt;br /&gt;
 at OpenJPEGNet.OpenJPEG.EncodeFromImage (System.Drawing.Bitmap bitmap, Boolean lossless) [0x00000]&lt;br /&gt;
 at OpenSim.Region.Terrain.TerrainEngine.ExportJpegImage (System.String gradientmap) [0x00000]&lt;br /&gt;
&lt;br /&gt;
You are on Linux, and the native lib libopenjpeg-libsl-2.1.2.0.so is not compatible with your system for one of the following reasons:&lt;br /&gt;
* You have an old processor (libopenjpeg has been compiled with optimizations)&lt;br /&gt;
* You are running in 64bit mode (none of the native libs are built for 64bit)&lt;br /&gt;
&lt;br /&gt;
You can rebuild your own libopenjpeg from source, or run in a compatible environment.&lt;br /&gt;
You can do this by:&lt;br /&gt;
 svn co svn://opensecondlife.org/libsl/trunk libsl&lt;br /&gt;
 cd libsl/openjpeg-libsl/&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
then copy libopenjpeg-libsl-2.1.2.0.so into OpenSim bin-folder.&lt;br /&gt;
&lt;br /&gt;
==Grid Mode==&lt;br /&gt;
Note: Grid Mode isn't officially supported yet.  As such, you are pretty much on your own if you are trying to get OpenSim up and running in Grid Mode.&lt;br /&gt;
&lt;br /&gt;
=== I start the sim and it doesn't connect to any grid ===&lt;br /&gt;
&lt;br /&gt;
When OpenSim is first started, it needs configuration.&lt;br /&gt;
&lt;br /&gt;
* See [[OpenSim: Configuration]].&lt;br /&gt;
&lt;br /&gt;
===I start the OpenSim.Grid.UserServer.exe and it gives an error===&lt;br /&gt;
If this error is access denied for &amp;lt;tt&amp;gt;username@localhost&amp;lt;/tt&amp;gt;, the mysql database is not set up.&lt;br /&gt;
It will print some text and wait for input - either an enter to accept a default value, or another value you can supply.&lt;br /&gt;
* See [[OpenSim: Configuration]].&lt;br /&gt;
&lt;br /&gt;
===I want to run my own Local Grid but one or more servers fail to start===&lt;br /&gt;
* Be sure that you're able to start &amp;lt;tt&amp;gt;OpenSim.exe&amp;lt;/tt&amp;gt; alone, in Standalone mode, and to be able to login.&lt;br /&gt;
* Start the servers in the correct UGAS order and answer the questions as recommended (see [[OpenSim: Configuration]]).&lt;br /&gt;
* Set all the external URI's to the correct IP: 127.0.0.1 if running on your local machine, or aaa.bbb.ccc.ddd if running on a remote server.&lt;br /&gt;
* Check again all the &amp;lt;tt&amp;gt;*.xml&amp;lt;/tt&amp;gt; configuration files for any wrong settings or typing errors...!&lt;br /&gt;
* Don't forget to connect with your SL-viewer to port 8002 (Grid User-Server) instead of 9000 (Standalone OpenSim-Server).&lt;br /&gt;
* Delete all &amp;lt;tt&amp;gt;*.xml&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;*.yap&amp;lt;/tt&amp;gt; files in the &amp;lt;tt&amp;gt;bin&amp;lt;/tt&amp;gt; directory if you want to run a full reconfiguration again.&lt;br /&gt;
&lt;br /&gt;
===I get a bunch of asset not found errors, while connected to a online grid, and my inventory doesn't seem to work right===&lt;br /&gt;
*Make sure your opensim.ini has '      asset_database = &amp;quot;grid&amp;quot;      ' otherwise it will not work correctly.&lt;br /&gt;
[[Category:Users]]&lt;br /&gt;
&lt;br /&gt;
== ScriptEngine Issues ==&lt;br /&gt;
=== Got &amp;quot;Primitive: Error compiling script: unknown char: . error&amp;quot; when compiling script ===&lt;br /&gt;
When trying to compile a script ( using DotNetEngine or XEngine ) you could have this error :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Primitive: Error compiling script:&lt;br /&gt;
unknown char: .&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And on the console :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
11:06:37 - [ScriptEngine.DotNetEngine]: Unloading script&lt;br /&gt;
11:06:37 - Exception in MaintenanceLoopThread. Thread will recover after 5 sec throttle. Exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.&lt;br /&gt;
 at System.Collections.Generic.Dictionary`2[OpenSim.Region.ScriptEngine.Interfaces.IEventReceiver,OpenSim.Region.ScriptEngine.Shared.Api.Plugins.Dataserver].get_Item (IEventReceiver key) [0x00000]&lt;br /&gt;
 at OpenSim.Region.ScriptEngine.Shared.Api.AsyncCommandManager.RemoveScript (IEventReceiver engine, UInt32 localID, UUID itemID) [0x00000]&lt;br /&gt;
 at OpenSim.Region.ScriptEngine.DotNetEngine.ScriptManager._StopScript (UInt32 localID, UUID itemID) [0x00000]&lt;br /&gt;
 at OpenSim.Region.ScriptEngine.DotNetEngine.ScriptManager.DoScriptLoadUnload () [0x00000]&lt;br /&gt;
 at OpenSim.Region.ScriptEngine.DotNetEngine.MaintenanceThread.MaintenanceLoop () [0x00000]&lt;br /&gt;
11:06:37 - [ScriptEngine.DotNetEngine]: Loading script&lt;br /&gt;
11:06:37 - [ScriptEngine.DotNetEngine]: ScriptManager StartScript: localID: 720001, itemID: 88c9d28c-6004-4609-a707-717190de044a&lt;br /&gt;
11:06:37 - [Compiler]: Compiled new assembly for fad15951-f9aa-493f-be68-2aaf5ff8a3c9&lt;br /&gt;
11:06:37 - [SCRIPT]: Compiled assetID fad15951-f9aa-493f-be68-2aaf5ff8a3c9: ScriptEngines/a83150da-1ab1-11dd-89fb-0014853ee9da/CommonCompiler_compiled_fad15951-f9aa-493f-be68-2aaf5ff8a3c9.dll&lt;br /&gt;
11:06:37 - [ScriptEngine.DotNetEngine]: AppDomain Loading: OpenSim.Region.ScriptEngine.Shared, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This happens on '''linux''' when your locales are not set to default ( &amp;quot;C&amp;quot; ).&lt;br /&gt;
* You could refer to [http://opensimulator.org/mantis/view.php?id=2088 Mantis #2088] and [http://opensimulator.org/mantis/view.php?id=2015 Mantis #2015] for a workaround to run opensim.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
env LANG=C mono --debug OpenSim.exe&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* You could also change your locale setup. Here is what I use in my '.bash_profile' :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LC_ALL=C&lt;br /&gt;
export LANG=C&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
I know it's a ugly way to setup locales on a linux box, but it works fine on my '''Linux From Scratch''' box.&lt;br /&gt;
== Locales Issues ==&lt;br /&gt;
Well, some of us, OpenSim users, ran into random crash of the OpenSim Region server in grid mode ... &lt;br /&gt;
&lt;br /&gt;
I have made many tests to find a solution about that problem.&lt;/div&gt;</summary>
		<author><name>Ursula Matova</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/wiki/User:Ursula_Matova</id>
		<title>User:Ursula Matova</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/wiki/User:Ursula_Matova"/>
				<updated>2008-09-28T18:19:14Z</updated>
		
		<summary type="html">&lt;p&gt;Ursula Matova: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi all, &lt;br /&gt;
&lt;br /&gt;
Just to introduce myself shortly :&lt;br /&gt;
&lt;br /&gt;
I'm french, 38yo, living in Paris, working as a System Engineer, Database Administrator, ... &lt;br /&gt;
&lt;br /&gt;
Now working as a Performance Tester ( with LoadRunner ) for a huge &amp;quot;electronic document management&amp;quot; project.&lt;br /&gt;
&lt;br /&gt;
I have been employed by the following companies in France :&lt;br /&gt;
&lt;br /&gt;
* Cerene Services (1995-1998),&lt;br /&gt;
* IBM (1998-2000), &lt;br /&gt;
* SEMA Group (2000-2002),&lt;br /&gt;
* SchlumbergerSema (2002-2004),&lt;br /&gt;
* ATOS Origin (2004-now),&lt;br /&gt;
&lt;br /&gt;
I'm playing with OpenSim for more than one year. Initially, I was looking for a free alternative to SecondLife.&lt;br /&gt;
&lt;br /&gt;
Why ?&lt;br /&gt;
&lt;br /&gt;
* I'm not at all interrested in the business side of S/L, and with the new VAT tax they apply for european citizen, playing S/L is really a luxury,&lt;br /&gt;
* I'm very frustrated about the poor S/L performances some days,&lt;br /&gt;
* I'm very frustrated about LSL limits,&lt;br /&gt;
* I'm also disappointed in some meetings with some players who really had no education at all.&lt;br /&gt;
&lt;br /&gt;
So : &lt;br /&gt;
&lt;br /&gt;
* OpenSim is the best alternative I've found around, &lt;br /&gt;
* It's the most dynamic development team I ever found, &lt;br /&gt;
* Everybody is working hard ( developing &amp;amp; testing &amp;amp; helping ... ),&lt;br /&gt;
* OpenSim is growing so fast, an new functions are added every days.&lt;br /&gt;
* The ability to add your own modules is also a &amp;quot;must&amp;quot; :) &lt;br /&gt;
&lt;br /&gt;
I'm not at all a developer ( especially in C# ), but I've started to try to customize some LSL functions to be able to bypass some limits ( for example the 10m limit for rezzing an object - llRezObject ).&lt;br /&gt;
&lt;br /&gt;
Here are computers I'm using at home for my '''testing''' activities in the OpenSim project :&lt;br /&gt;
&lt;br /&gt;
* Windows 2003 Server on a Pentium4 3.2GHz based computer - for running S/L Viewer,&lt;br /&gt;
* MacOSX on a Dual G4 800MHz - for remotely managing my unix servers thru SSH,&lt;br /&gt;
* Linux ( Linux From Scratch, Debian 4.0, Ubuntu, ... ) on an Athlon64 X2 4400+ 4GB Ram - for running OpenSim server,&lt;br /&gt;
&lt;br /&gt;
As of the beginning of August, I start renting my first [http://dedibox.fr Dedibox] ( Dedicated &amp;amp; Outsourced server ). As it wasn't powerfull enough, I got a new one at the begining of September :)&lt;br /&gt;
&lt;br /&gt;
* Dedibox #1 : Via C7 2GHz 1GB Ram based server,&lt;br /&gt;
* Dedibox #2 : Intel Core2 duo T7200 3GB Ram based server,&lt;br /&gt;
&lt;br /&gt;
So, I'm the proud owner of '''Sorohna''', a 25 Regions grid. I haven't advertise yet, but it's open to everybody for testing &amp;amp; playing. &lt;br /&gt;
&lt;br /&gt;
Feel free to drop me an EMail : [mailto:ursula.matova@klintcentral.net ursula.matova@klintcentral.net]&lt;br /&gt;
&lt;br /&gt;
I don't think I'll increase the number of Regions on my grid, because it's large enough :) My plans are to continue playing with scripting ( LSL and maybe C# ), build a nice virtual world for my friends &amp;amp; myself, maybe in the future contribute to the OpenSim project, ...&lt;br /&gt;
&lt;br /&gt;
I may also join the OsGrid project, and connect my server to that grid, BUT I'd like to keep the control of my inventory, so, it's only plans :)&lt;br /&gt;
&lt;br /&gt;
One last word : &amp;quot;Ursula&amp;quot; is not my real name, it's my S/L Avatar Name :P&lt;br /&gt;
&lt;br /&gt;
'''And please forgive me, my english is so poor'''. :S&lt;/div&gt;</summary>
		<author><name>Ursula Matova</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/wiki/User:Ursula_Matova</id>
		<title>User:Ursula Matova</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/wiki/User:Ursula_Matova"/>
				<updated>2008-09-28T18:10:21Z</updated>
		
		<summary type="html">&lt;p&gt;Ursula Matova: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi all, &lt;br /&gt;
&lt;br /&gt;
Just to introduce myself shortly :&lt;br /&gt;
&lt;br /&gt;
I'm french, 38yo, living in Paris, working as a System Engineer, Database Administrator, ... &lt;br /&gt;
&lt;br /&gt;
Now working as a Performance Tester ( with LoadRunner ) for a huge &amp;quot;electronic document management&amp;quot; project.&lt;br /&gt;
&lt;br /&gt;
I have been employed by the following companies in France :&lt;br /&gt;
&lt;br /&gt;
* Cerene Services (1995-1998),&lt;br /&gt;
* IBM (1998-2000), &lt;br /&gt;
* SEMA Group (2000-2002),&lt;br /&gt;
* SchlumbergerSema (2002-2004),&lt;br /&gt;
* ATOS Origin (2004-now),&lt;br /&gt;
&lt;br /&gt;
I'm playing with OpenSim for more than one year. Initially, I was looking for a free alternative to SecondLife.&lt;br /&gt;
&lt;br /&gt;
Why ?&lt;br /&gt;
&lt;br /&gt;
* I'm not at all interrested in the business side of S/L, and with the new VAT tax they apply for european citizen, playing S/L is really a luxury,&lt;br /&gt;
* I'm very frustrated about the poor S/L performances some days,&lt;br /&gt;
* I'm very frustrated about LSL limits,&lt;br /&gt;
* I'm also disappointed in some meetings with some players who really had no education at all.&lt;br /&gt;
&lt;br /&gt;
So : &lt;br /&gt;
&lt;br /&gt;
* OpenSim is the best alternative I've found around, &lt;br /&gt;
* It's the most dynamic development team I ever found, &lt;br /&gt;
* Everybody is working hard ( developing &amp;amp; testing &amp;amp; helping ... ),&lt;br /&gt;
* OpenSim is growing so fast, an new functions are added every days.&lt;br /&gt;
* The ability to add your own modules is also a &amp;quot;must&amp;quot; :) &lt;br /&gt;
&lt;br /&gt;
I'm not at all a developer ( especially in C# ), but I've started to try to customize some LSL functions to be able to bypass some limits ( for example the 10m limit for rezzing an object - llRezObject ).&lt;br /&gt;
&lt;br /&gt;
As of the beginning of August, I start renting my first [http://dedibox.fr Dedibox] ( Dedicated &amp;amp; Outsourced server ). As it wasn't powerfull enough, I got a new one at the begining of September :)&lt;br /&gt;
&lt;br /&gt;
So, I'm the proud owner of '''Sorohna''', a 25 Regions grid. I haven't advertise yet, but it's open to everybody for testing &amp;amp; playing. &lt;br /&gt;
&lt;br /&gt;
Feel free to drop me an EMail : [mailto:ursula.matova@klintcentral.net ursula.matova@klintcentral.net]&lt;br /&gt;
&lt;br /&gt;
One last word : &amp;quot;Ursula&amp;quot; is not my real name, it's my S/L Avatar Name :P&lt;br /&gt;
&lt;br /&gt;
'''And please forgive me, my english is so poor'''. :S&lt;/div&gt;</summary>
		<author><name>Ursula Matova</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/wiki/User:Ursula_Matova</id>
		<title>User:Ursula Matova</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/wiki/User:Ursula_Matova"/>
				<updated>2008-09-28T18:09:54Z</updated>
		
		<summary type="html">&lt;p&gt;Ursula Matova: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi all, &lt;br /&gt;
&lt;br /&gt;
Just to introduce myself shortly :&lt;br /&gt;
&lt;br /&gt;
I'm french, 38yo, living in Paris, working as a System Engineer, Database Administrator, ... &lt;br /&gt;
&lt;br /&gt;
Now working as a Performance Tester ( with LoadRunner ) for a huge &amp;quot;electronic document management&amp;quot; project.&lt;br /&gt;
&lt;br /&gt;
I have been employed by the following companies in France :&lt;br /&gt;
&lt;br /&gt;
* Cerene Services (1995-1998),&lt;br /&gt;
* IBM (1998-2000), &lt;br /&gt;
* SEMA Group (2000-2002),&lt;br /&gt;
* SchlumbergerSema (2002-2004),&lt;br /&gt;
* ATOS Origin (2004-now),&lt;br /&gt;
&lt;br /&gt;
I'm playing with OpenSim for more than one year. Initially, I was looking for a free alternative to SecondLife.&lt;br /&gt;
&lt;br /&gt;
Why ?&lt;br /&gt;
&lt;br /&gt;
* I'm not at all interrested in the business side of S/L, and with the new VAT tax they apply for european citizen, playing S/L is really a luxury,&lt;br /&gt;
* I'm very frustrated about the poor S/L performances some days,&lt;br /&gt;
* I'm very frustrated about LSL limits,&lt;br /&gt;
* I'm also disappointed in some meetings with some players who really had no education at all.&lt;br /&gt;
&lt;br /&gt;
So : &lt;br /&gt;
&lt;br /&gt;
* OpenSim is the best alternative I've found around, &lt;br /&gt;
* It's the most dynamic development team I ever found, &lt;br /&gt;
* Everybody is working hard ( developing &amp;amp; testing &amp;amp; helping ... ),&lt;br /&gt;
* OpenSim is growing so fast, an new functions are added every days.&lt;br /&gt;
* The ability to add your own modules is also a &amp;quot;must&amp;quot; :) &lt;br /&gt;
&lt;br /&gt;
I'm not at all a developer ( especially in C# ), but I've started to try to customize some LSL functions to be able to bypass some limits ( for example the 10m limit for rezzing an object - llRezObject ).&lt;br /&gt;
&lt;br /&gt;
As of the beginning of August, I start renting my first [http://dedibox.fr Dedibox] ( Dedicated &amp;amp; Outsourced server ). As it wasn't powerfull enough, I got a new one at the begining of September :)&lt;br /&gt;
&lt;br /&gt;
So, I'm the proud owner of '''Sorohna''', a 25 Regions grid. I haven't advertise yet, but it's open to everybody for testing &amp;amp; playing. &lt;br /&gt;
&lt;br /&gt;
Feel free to drop me an EMail : [mailto:ursula.matova@klintcentral.net]&lt;br /&gt;
&lt;br /&gt;
One last word : &amp;quot;Ursula&amp;quot; is not my real name, it's my S/L Avatar Name :P&lt;br /&gt;
&lt;br /&gt;
'''And please forgive me, my english is so poor'''. :S&lt;/div&gt;</summary>
		<author><name>Ursula Matova</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/wiki/User:Ursula_Matova</id>
		<title>User:Ursula Matova</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/wiki/User:Ursula_Matova"/>
				<updated>2008-09-28T18:09:28Z</updated>
		
		<summary type="html">&lt;p&gt;Ursula Matova: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi all, &lt;br /&gt;
&lt;br /&gt;
Just to introduce myself shortly :&lt;br /&gt;
&lt;br /&gt;
I'm french, 38yo, living in Paris, working as a System Engineer, Database Administrator, ... &lt;br /&gt;
&lt;br /&gt;
Now working as a Performance Tester ( with LoadRunner ) for a huge &amp;quot;electronic document management&amp;quot; project.&lt;br /&gt;
&lt;br /&gt;
I have been employed by the following companies in France :&lt;br /&gt;
&lt;br /&gt;
* Cerene Services (1995-1998),&lt;br /&gt;
* IBM (1998-2000), &lt;br /&gt;
* SEMA Group (2000-2002),&lt;br /&gt;
* SchlumbergerSema (2002-2004),&lt;br /&gt;
* ATOS Origin (2004-now),&lt;br /&gt;
&lt;br /&gt;
I'm playing with OpenSim for more than one year. Initially, I was looking for a free alternative to SecondLife.&lt;br /&gt;
&lt;br /&gt;
Why ?&lt;br /&gt;
&lt;br /&gt;
* I'm not at all interrested in the business side of S/L, and with the new VAT tax they apply for european citizen, playing S/L is really a luxury,&lt;br /&gt;
* I'm very frustrated about the poor S/L performances some days,&lt;br /&gt;
* I'm very frustrated about LSL limits,&lt;br /&gt;
* I'm also disappointed in some meetings with some players who really had no education at all.&lt;br /&gt;
&lt;br /&gt;
So : &lt;br /&gt;
&lt;br /&gt;
* OpenSim is the best alternative I've found around, &lt;br /&gt;
* It's the most dynamic development team I ever found, &lt;br /&gt;
* Everybody is working hard ( developing &amp;amp; testing &amp;amp; helping ... ),&lt;br /&gt;
* OpenSim is growing so fast, an new functions are added every days.&lt;br /&gt;
* The ability to add your own modules is also a &amp;quot;must&amp;quot; :) &lt;br /&gt;
&lt;br /&gt;
I'm not at all a developer ( especially in C# ), but I've started to try to customize some LSL functions to be able to bypass some limits ( for example the 10m limit for rezzing an object - llRezObject ).&lt;br /&gt;
&lt;br /&gt;
As of the beginning of August, I start renting my first [http://dedibox.fr Dedibox] ( Dedicated &amp;amp; Outsourced server ). As it wasn't powerfull enough, I got a new one at the begining of September :)&lt;br /&gt;
&lt;br /&gt;
So, I'm the proud owner of '''Sorohna''', a 25 Regions grid. I haven't advertise yet, but it's open to everybody for testing &amp;amp; playing. &lt;br /&gt;
&lt;br /&gt;
Feel free to drop me an EMail : [ursula.matova@klintcentral.net]&lt;br /&gt;
&lt;br /&gt;
One last word : &amp;quot;Ursula&amp;quot; is not my real name, it's my S/L Avatar Name :P&lt;br /&gt;
&lt;br /&gt;
'''And please forgive me, my english is so poor'''. :S&lt;/div&gt;</summary>
		<author><name>Ursula Matova</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/wiki/User:Ursula_Matova</id>
		<title>User:Ursula Matova</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/wiki/User:Ursula_Matova"/>
				<updated>2008-09-28T18:02:42Z</updated>
		
		<summary type="html">&lt;p&gt;Ursula Matova: New page: Hi all,   Just to introduce myself shortly :  I'm french, 38yo, living in Paris, working as a System Engineer, Database Administrator, ... now working as a Performance Tester ( with LoadRu...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi all, &lt;br /&gt;
&lt;br /&gt;
Just to introduce myself shortly :&lt;br /&gt;
&lt;br /&gt;
I'm french, 38yo, living in Paris, working as a System Engineer, Database Administrator, ... now working as a Performance Tester ( with LoadRunner ) for a huge &amp;quot;electronic document management&amp;quot; project.&lt;br /&gt;
&lt;br /&gt;
I have been employed by the following companies in France :&lt;br /&gt;
&lt;br /&gt;
* Cerene Services (1995-1998),&lt;br /&gt;
* IBM (1998-2000), &lt;br /&gt;
* SEMA Group (2000-2002),&lt;br /&gt;
* SchlumbergerSema (2002-2004),&lt;br /&gt;
* ATOS Origin (2004-now),&lt;br /&gt;
&lt;br /&gt;
I'm playing with OpenSim for more than one year. Initially, I was looking for a free alternative to SecondLife.&lt;br /&gt;
&lt;br /&gt;
Why ?&lt;br /&gt;
&lt;br /&gt;
* I'm not at all interrested in the business side of S/L, and with the new VAT taxes they apply for european citizen, playing S/L is really a luxury.&lt;br /&gt;
* I'm very frustrated about the poor S/L performances some days,&lt;br /&gt;
* I'm very frustrated about LSL limits,&lt;br /&gt;
* I'm also disappointed in some meetings with some players who really had no education at all.&lt;br /&gt;
&lt;br /&gt;
So : &lt;br /&gt;
&lt;br /&gt;
* OpenSim is the best alternative I've found around, &lt;br /&gt;
* It's the most dynamic development team I ever found, &lt;br /&gt;
* Everybody is working hard ( developing &amp;amp; testing &amp;amp; helping ... ),&lt;br /&gt;
* OpenSim is growing so fast, an new functions are added every days.&lt;br /&gt;
* The ability to add your own modules is also a &amp;quot;must&amp;quot; :) &lt;br /&gt;
&lt;br /&gt;
I'm not at all a developer ( especially in C# ), but I've started to try to customize some LSL functions to be able to bypass some limits ( for example the 10m limit for rezzing an object - llRezObject ).&lt;/div&gt;</summary>
		<author><name>Ursula Matova</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/wiki/Troubleshooting</id>
		<title>Troubleshooting</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/wiki/Troubleshooting"/>
				<updated>2008-09-28T17:43:11Z</updated>
		
		<summary type="html">&lt;p&gt;Ursula Matova: /* Got Primitive: Error compiling script: unknown char: . error when compiling script */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Users]]&lt;br /&gt;
This page gives any system-specific configuration settings that may be useful, and advice for problems that might be encountered.&lt;br /&gt;
&lt;br /&gt;
== System-specific configuration ==&lt;br /&gt;
=== CentOS 5 ===&lt;br /&gt;
&lt;br /&gt;
To install mono and nant, you can use the &amp;quot;Linux Installer for x86&amp;quot; found at http://www.mono-project.com/Downloads.&lt;br /&gt;
&lt;br /&gt;
SVN can be installed by:&lt;br /&gt;
&lt;br /&gt;
 yum install subversion&lt;br /&gt;
&lt;br /&gt;
Mono defaults to installing into &amp;lt;tt&amp;gt;/opt&amp;lt;/tt&amp;gt;, so you may have to add this path to your environment variables, for example, in your &amp;lt;tt&amp;gt;~/.bashrc&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 export PATH=&amp;quot;/opt/mono-1.2.5/bin:$PATH&amp;quot;&lt;br /&gt;
 export PKG_CONFIG_PATH=&amp;quot;/opt/mono-1.2.5/lib/pkgconfig:$PKG_CONFIG_PATH&amp;quot;&lt;br /&gt;
 export MANPATH=&amp;quot;/opt/mono-1.2.5/share/man:$MANPATH&amp;quot;&lt;br /&gt;
 export LD_LIBRARY_PATH=&amp;quot;/opt/mono-1.2.5/lib:$LD_LIBRARY_PATH&amp;quot;&lt;br /&gt;
&lt;br /&gt;
After changing &amp;lt;tt&amp;gt;LD_LIBRARY_PATH&amp;lt;/tt&amp;gt;, you should update the dynamic linker cache:&lt;br /&gt;
&lt;br /&gt;
 ldconfig&lt;br /&gt;
&lt;br /&gt;
You may still encounter the &amp;quot;The current runtime framework 'mono-2.0' is not correctly configured in the NAnt configuration file.&amp;quot; error listed below.  In that case, this may fix this:&lt;br /&gt;
&lt;br /&gt;
 yum install glib&lt;br /&gt;
&lt;br /&gt;
If you are running a firewall as well (i.e., if &amp;lt;tt&amp;gt;iptables -L&amp;lt;/tt&amp;gt; shows a list of ACCEPT and REJECT rules), you'll have to open the necessary ports if you want to access the sim from other machines.  For standalone mode:&lt;br /&gt;
&lt;br /&gt;
 iptables -I RH-Firewall-1-INPUT -p tcp --dport 9000 -j ACCEPT&lt;br /&gt;
 iptables -I RH-Firewall-1-INPUT -p udp --dport 9000 -j ACCEPT&lt;br /&gt;
&lt;br /&gt;
=== Debian 4.0r0 ===&lt;br /&gt;
&lt;br /&gt;
If you set your system to use unstable sources, and then install some packages listed below, everything should just work.  To use unstable sources, modify your &amp;lt;tt&amp;gt;/etc/apt/sources.list&amp;lt;/tt&amp;gt; file, replacing 'etch' or 'stable' with 'unstable':&lt;br /&gt;
&lt;br /&gt;
 deb ftp://ftp.debian.org/debian/ unstable main&lt;br /&gt;
 deb-src ftp://ftp.debian.org/debian/ unstable main&lt;br /&gt;
&lt;br /&gt;
Then update your packages to the new versions:&lt;br /&gt;
&lt;br /&gt;
 apt-get update&lt;br /&gt;
 apt-get dist-upgrade&lt;br /&gt;
&lt;br /&gt;
This will probably change a large number of packages, and may break things.&lt;br /&gt;
In my experience, however, if you do not use unstable sources then the packages are not up to date enough, and you run into version issues, which lead to two DllNotFoundException errors below appearing in the console output: gdiplus.dll and libopenjpeg-libsl-2.1.2.0.so.&lt;br /&gt;
&lt;br /&gt;
Once the sources are updated, we need to install the necessary packages to be able to build OpenSim:&lt;br /&gt;
&lt;br /&gt;
 apt-get install subversion mono nant mono-gmcs mono-mjs libmono-microsoft8.0-cil libmono-system-runtime2.0-cil&lt;br /&gt;
&lt;br /&gt;
If any of these packages are missing, you'll probably encounter one of the errors listed below.  However, with these packages, OpenSim should build cleanly.&lt;br /&gt;
&lt;br /&gt;
Please note: If you are using mysql as storage on unstable you may get the following error:-&lt;br /&gt;
&lt;br /&gt;
 Exception: System.NotSupportedException: CodePage 1252 not supported&lt;br /&gt;
  at System.Text.Encoding.GetEncoding (Int32 codePage) [0x00000] &lt;br /&gt;
&lt;br /&gt;
To get it to work, try installing the libmono-i18n2.0-cil package&lt;br /&gt;
&lt;br /&gt;
 apt-get install libmono-i18n2.0-cil&lt;br /&gt;
&lt;br /&gt;
=== Gentoo ===&lt;br /&gt;
some Mono dependency &amp;amp; latest Mono itself may use &amp;quot;~x86&amp;quot; masked packages (assuming x86 is your platform, change may be made to reflect your ex:&amp;quot;~amd64&amp;quot; for 64bits). You could check for USE parameter with:&lt;br /&gt;
&lt;br /&gt;
 ACCEPT_KEYWORDS=&amp;quot;~x86&amp;quot; emerge -vp subversion nant mono libgdiplus&lt;br /&gt;
&lt;br /&gt;
Then install with:&lt;br /&gt;
&lt;br /&gt;
 ACCEPT_KEYWORDS=&amp;quot;~x86&amp;quot; emerge subversion nant mono libgdiplus&lt;br /&gt;
&lt;br /&gt;
N.B: The ACCEPT_KEYWORDS=&amp;quot;~x86&amp;quot; can be set in Gentoo /etc/make.conf file, but that turn up all the emerges in testing/unstable, using it at the begining of emerge command line use it only for current emerge process&lt;br /&gt;
&lt;br /&gt;
=== Mac OS X ===&lt;br /&gt;
This assumes you're using the universal binary for mono from the [http://www.mono-project.com/ Mono Project] site.&lt;br /&gt;
&lt;br /&gt;
If you are using OS X 10.4, you should also install X11 from the OS X install CDs.&lt;br /&gt;
In OS X 10.5, this is not required.&lt;br /&gt;
&lt;br /&gt;
If you get errors about the 2.0 framework not being supported, you may need to update your &amp;lt;tt&amp;gt;pkg-config&amp;lt;/tt&amp;gt; path.&lt;br /&gt;
I set this in &amp;lt;tt&amp;gt;~/.bash_profile&amp;lt;/tt&amp;gt;:&lt;br /&gt;
 export PKG_CONFIG_PATH=&amp;quot;/Library/Frameworks/Mono.framework/Versions/Current/lib/pkgconfig/:${PKG_CONFIG_PATH}&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Errors and fixes ==&lt;br /&gt;
&lt;br /&gt;
=== Build workarounds due to non-functionality or bugs: ===&lt;br /&gt;
&lt;br /&gt;
==== Disappearing prims due to duplicate UID's ====&lt;br /&gt;
Generally this problem occurs when a save-xml/load-xml file is loaded into the same sim without using the -newUID switch to generate new UUID's for the objects. This switch is documented in the [[Running#General OpenSim server commands|general server commands]] section. (&amp;lt;nowiki&amp;gt;load-xml &amp;lt;filename&amp;gt; -newUID&amp;lt;/nowiki&amp;gt;). But if this does not work, the other way is to shift-copy your build and drag it up into the air.. then delete the one in the air, (which is actually the copy). This will generate new UID's on all your prims.. you can now leave that build, and load your original load-xml file in another region.&lt;br /&gt;
&lt;br /&gt;
==== Linked objects not scaling/editing properly ====&lt;br /&gt;
From Mantis [[http://opensimulator.org/mantis/view.php?id=135 # 135]] and [[http://opensimulator.org/mantis/view.php?id=223 # 223]]: &amp;lt;br /&amp;gt;&lt;br /&gt;
Linked objects: while linking/unlinking objects seems to work fine, the editing of single prims inside a linked object doesn't work correctly. You have to check the box &amp;quot;Edit linked parts&amp;quot;, then you can select a single prim and edit it, but in most cases the changes in size- and/or postion-parameters are not accepted and revert immediately to the original ones. It is not completely reproducible, as it may work in some single case though.&amp;lt;br /&amp;gt;&lt;br /&gt;
'''Workaround:''' unlink the whole object, make the changes, and relink the whole thing again. &amp;lt;br /&amp;gt; ''note:'' re-scaling unlinked objects in grid mode seems to work better than in standalone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Exception and loss of ode physics System.EntryPointNotFoundException: dSpaceLockQuery ===&lt;br /&gt;
&lt;br /&gt;
The following is usually caused by using the wrong version of libode.  First try find / -name &amp;quot;libode.so&amp;quot; to see if you have other copies of the ode physics engine.  Then make sure you have the latest version of this.&lt;br /&gt;
&lt;br /&gt;
[SCENE] [02-01 22:20:40] System.EntryPointNotFoundException: dSpaceLockQuery&lt;br /&gt;
  at (wrapper managed-to-native) Ode.NET.d:SpaceLockQuery (intptr)&lt;br /&gt;
  at OpenSim.Region.Physics.OdePlugin.OdeScene.waitForSpaceUnlock (IntPtr space) [0x00000] &lt;br /&gt;
  at OpenSim.Region.Physics.OdePlugin.OdeCharacter.AvatarGeomAndBodyCreation (Single npositionX, Single npositionY, Single npositionZ, Single tensor) [0x00000] &lt;br /&gt;
  at OpenSim.Region.Physics.OdePlugin.OdeCharacter..ctor (System.String avName, OpenSim.Region.Physics.OdePlugin.OdeScene parent_scene, OpenSim.Region.Physics.Manager.PhysicsVector pos) [0x00000] &lt;br /&gt;
  at OpenSim.Region.Physics.OdePlugin.OdeScene.AddAvatar (System.String avName, OpenSim.Region.Physics.Manager.PhysicsVector position) [0x00000] &lt;br /&gt;
  at OpenSim.Region.Environment.Scenes.ScenePresence.AddToPhysicalScene () [0x00000] &lt;br /&gt;
  at OpenSim.Region.Environment.Scenes.ScenePresence.MakeRootAgent (LLVector3 pos, Boolean isFlying) [0x00000] &lt;br /&gt;
  at OpenSim.Region.Environment.Scenes.Scene.AgentCrossing (UInt64 regionHandle, LLUUID agentID, LLVector3 position, Boolean isFlying) [0x00000]&lt;br /&gt;
=== MySQL connection errors after about 6-8 hours ===&lt;br /&gt;
&lt;br /&gt;
MySQL has a timeout which drops the connection after 28,800 seconds (8 hours) of inactivity, which will probably result in failure to login after the User server has been sitting idle for an extended period.  If you have this problem, increase the timeout to something larger, like 604800 (1 week) or 31536000 (1 year).  From the mysql console, type:&lt;br /&gt;
&lt;br /&gt;
 set global wait_timeout=604800;&lt;br /&gt;
&lt;br /&gt;
=== System.DllNotFoundException: gdiplus.dll ===&lt;br /&gt;
&lt;br /&gt;
First, check to make sure that &amp;lt;tt&amp;gt;libgdiplus.so&amp;lt;/tt&amp;gt; is known to the dynamic linker:&lt;br /&gt;
&lt;br /&gt;
 /sbin/ldconfig -p | grep libgdiplus&lt;br /&gt;
&lt;br /&gt;
If nothing is found, make sure that the directory libgdiplus.so exists in is either in your &amp;lt;tt&amp;gt;LD_LIBRARY_PATH&amp;lt;/tt&amp;gt; environment variable or listed in a *.conf file (e.g., gdiplus.conf) in /etc/ld.so.conf.d/.  Then run &amp;lt;tt&amp;gt;ldconfig&amp;lt;/tt&amp;gt; to update the cache.  Then it should be able to find the library.&lt;br /&gt;
&lt;br /&gt;
You may still have the above error, however, since libgdiplus also depends on other dynamic libraries, and if they fail to load, libgdiplus will fail.  To test for this, run OpenSim with debugging information turned on:&lt;br /&gt;
&lt;br /&gt;
 MONO_LOG_LEVEL=debug mono OpenSim.exe&lt;br /&gt;
&lt;br /&gt;
{It may show errors loading other libraries, like &amp;lt;tt&amp;gt;libexif.so.9&amp;lt;/tt&amp;gt;.  In that case, linking to an existing version of the offending library may work:&lt;br /&gt;
&lt;br /&gt;
 ln -s libexif.so.12 libexif.so.9&lt;br /&gt;
&lt;br /&gt;
On Mac OS X - check the following file exists... /opt/local/lib/libgdiplus.dylib if it does then as root user edit the file /opt/local/etc/mono/config &lt;br /&gt;
and add the line &lt;br /&gt;
 &amp;lt;dllmap dll=&amp;quot;gdiplus.dll&amp;quot; target=&amp;quot;/opt/local/lib/libgdiplus.dylib&amp;quot; os=&amp;quot;!windows&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''(Is there a cleaner solution than this?)''} **see below for alternative/cleaner fix**&lt;br /&gt;
&lt;br /&gt;
== When installing mono or libgdiplus0 you may get dependency missing libexif.so.9 == &lt;br /&gt;
&lt;br /&gt;
This was noticed on Centos5 but may occur on other systems, download ftp://rpmfind.net/linux/conectiva/snapshot/i386/RPMS.extra/libexif9-0.5.12-47547cl.i386.rpm and install problem solved. You will now be able to install mono (as long as nothing else goes wrong )&lt;br /&gt;
&lt;br /&gt;
=== The assembly mscorlib.dll was not found or could not be loaded ===&lt;br /&gt;
&lt;br /&gt;
This indicates that you are missing one of the mscor libs that comes with nant.  This is easily solved by getting NAnt, which comes with both versions 1.0 and 2.0 of the required lib.&lt;br /&gt;
&lt;br /&gt;
 apt-get install nant&lt;br /&gt;
&lt;br /&gt;
=== External Program Failed: /usr/lib/pkgconfig/../../lib/mono/2.0/gmcs.exe === &lt;br /&gt;
&lt;br /&gt;
This is quickly fixed by retrieving mono-gmcs.&lt;br /&gt;
&lt;br /&gt;
 apt-get install mono-gmcs&lt;br /&gt;
&lt;br /&gt;
=== The type or namespace name JScript does not exist in the namespace Microsoft ===&lt;br /&gt;
&lt;br /&gt;
Note that it says Jscript over and over again.  Hint perhaps?&lt;br /&gt;
&lt;br /&gt;
 apt-get install mono-mjs libmono-microsoft8.0-cil&lt;br /&gt;
&lt;br /&gt;
On Fedora, the needed package is mono-jscript&lt;br /&gt;
&lt;br /&gt;
=== The type or namespace name Tcp does not exist in the namespace System.Runtime.Remoting.Channels ===&lt;br /&gt;
&lt;br /&gt;
This one is taken care of with a quick install:&lt;br /&gt;
&lt;br /&gt;
 apt-get install libmono-system-runtime2.0-cil&lt;br /&gt;
&lt;br /&gt;
=== Missing: libopenjpeg-libsl-2.1.2.0-x86_64.so ===&lt;br /&gt;
  You are on 64bit linux machine and my need to follow these instructions: [[Installing_and_running_on_x86-64 |Installing and running on x86-64 ]]&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
=== error while loading shared libraries: libgthread-2.0.so.0: cannot open shared object file ===&lt;br /&gt;
&lt;br /&gt;
If you start with a base Debian system as we did at the top of the page, but instead of using the apt version of mono you use the installer from their website, then you may encounter this issue.&lt;br /&gt;
&lt;br /&gt;
After getting the .bin file from http://www.mono-project.com/Downloads, and executing it as per its instructions, upon finishing, you may find that if you try to run `mono --version` you are presented with this message. This one means you need to install libglib2.0-0.&lt;br /&gt;
&lt;br /&gt;
 apt-get install libglib2.0-0&lt;br /&gt;
&lt;br /&gt;
=== The current runtime framework 'mono-2.0' is not correctly configured in the NAnt configuration file. ===&lt;br /&gt;
&lt;br /&gt;
This one seems to be fixed by retrieving the apt version of nant.&lt;br /&gt;
&lt;br /&gt;
 apt-get install nant&lt;br /&gt;
&lt;br /&gt;
This can also be due to &amp;lt;tt&amp;gt;pkg-config&amp;lt;/tt&amp;gt; not being able to locate the &amp;lt;tt&amp;gt;mono.pc&amp;lt;/tt&amp;gt; file.  Adding the directory containing this file to the environment variable &amp;lt;tt&amp;gt;PKG_CONFIG_PATH&amp;lt;/tt&amp;gt; may solve this.&lt;br /&gt;
&lt;br /&gt;
== Networking and config issues ==&lt;br /&gt;
   [[OpenSim:Running |See Running section]]&lt;br /&gt;
&lt;br /&gt;
=== You are able to log in, but not connect to a Region from a remote client ===&lt;br /&gt;
&lt;br /&gt;
    Look in your OpenSimulator/bin/Regions folder &lt;br /&gt;
    1) Try 0.0.0.0 for the internal_ip_address in your region.xml(default.xml) file&lt;br /&gt;
         (you'll have one of those files *per* region you've created)&lt;br /&gt;
    2) external_host_name=&amp;quot;127.0.0.1&amp;quot; will need to be changed to the accessable DNS name&lt;br /&gt;
        such as &amp;quot;opensim.example-host.com&amp;quot; or &amp;quot;71.6.131.152&amp;quot; (your public accessable ip)&lt;br /&gt;
&lt;br /&gt;
==Building OpenSim==&lt;br /&gt;
===I can't find any build files or solution files===&lt;br /&gt;
* If you're on Windows, run &amp;lt;tt&amp;gt;runprebuild.bat&amp;lt;/tt&amp;gt; - on Linux/Mac/FreeBSD, run &amp;lt;tt&amp;gt;runprebuild.sh&amp;lt;/tt&amp;gt;&lt;br /&gt;
=== VS2005 won't open the .sln file ===&lt;br /&gt;
* Try running VS2005 C#. You are probably running VS2005 C++. This is a C# project.&lt;br /&gt;
&lt;br /&gt;
==Running OpenSim==&lt;br /&gt;
=== Running OpenSim.exe from a Cygwin shell has access denied for some dll's ===&lt;br /&gt;
* Do a '&amp;lt;tt&amp;gt;cd bin&amp;lt;/tt&amp;gt;' followed by '&amp;lt;tt&amp;gt;chmod a+x *&amp;lt;/tt&amp;gt;' to make all dll files executable.&lt;br /&gt;
===I cannot start my sim===&lt;br /&gt;
* See [[Configuration]]&lt;br /&gt;
&lt;br /&gt;
==Something Has Gone Wrong!==&lt;br /&gt;
=== I get errors concerning 'owner_uuid' when starting up my grid after updating from svn beyond r3254 ===&lt;br /&gt;
When updating to recent revisions after r3254, we are now using the unused owner_uuid. There are some grids whose mysql tables were created during a time when this field was inadvertently removed from the .sql script that initializes the regions table. Logging in to your mysql instance and executing this SQL query to add the missing owner_uuid should solve this issue:&lt;br /&gt;
 alter table `regions` add column `owner_uuid` varchar(36) default '00000000-0000-0000-0000-000000000000' not null, comment 'Rev.2';&lt;br /&gt;
The punctuation around regions and owner_uuid is &amp;quot;grave accent&amp;quot;. The punctuation around the default value and the comment is the single quote. The &amp;quot;grave accent&amp;quot; is the one generally to the left of the One button, under the tilde and the single-quote, is, well, underneath the double quote. I think this matters to mysql.&lt;br /&gt;
&lt;br /&gt;
=== I get errors concerning 'State' when starting up my grid after updating from svn beyond r3786 ===&lt;br /&gt;
After r3786, a new 'State' field has been added to the 'primshapes' table on SQLite. This field is used to persist trees and grass.&lt;br /&gt;
You may have an empty region at startup, because OpenSim does not find this 'State' field and does not know what to do.&lt;br /&gt;
The best is to use SQLiteBrowser or another SQLite table editor (download it at [http://sqlitebrowser.sourceforge.net/ http://sqlitebrowser.sourceforge.net/]) to create the missing field:&lt;br /&gt;
 alter table primshapes add column State integer default 0&lt;br /&gt;
Just launch SQLiteBrowser, use File/Open database, then browse to OpenSim.db file and open it. Then, go to the &amp;quot;Execute SQL&amp;quot; tab, copy/paste the command above in the &amp;quot;SQL string&amp;quot; textbox, then hit the &amp;quot;Execute query&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
=== I get a timeout during region handshake ===&lt;br /&gt;
* Do you have the correct IP in your Regions\* config files?&lt;br /&gt;
* Do you have multiple interfaces on the server running OpenSim? OpenSim will not bind outgoing UDP packets to a specific IP, its default IP to reach you will be what the Region answers UDP with. If you have configured the region for another IP you will get a timeout during connect.&lt;br /&gt;
&lt;br /&gt;
=== I cannot connect to my OpenSim ===&lt;br /&gt;
* See [[OpenSim: Connecting]]&lt;br /&gt;
&lt;br /&gt;
===I can connect but cannot move===&lt;br /&gt;
If the client connects but the avatar can only spin in place and not move, then the sim is not correctly configured. It completed the initial login function, but packets are not being exchanged between the client and the sim, probably due to a network configuration error on the sim.&lt;br /&gt;
* See [[OpenSim: Configuration]]&lt;br /&gt;
&lt;br /&gt;
=== From time to time my Avatar seems to get stuck ===&lt;br /&gt;
Right now there is a bottle neck when syncing prims off to the database.  This will cause small (5 - 10 second) apparent hangs of the Avatar, but it will recover fine once the data is synced.  It is a known issue based on legacy architecture of some of the data storage code.  We hope this will be removed soon.&lt;br /&gt;
&lt;br /&gt;
=== I have problems with viewing the worldmap ===&lt;br /&gt;
* This may happen when running OpenSim on a Linux server, both in grid or standalone mode.&lt;br /&gt;
* Symptoms: when opening the worldmap window in the SL-viewer, the sims are not displayed grahically in the worldmap, the server console shows some error related to openjpeg, the current session freezes...&lt;br /&gt;
* Reason: your svn source trunk does not have the correct (or whatever...) &amp;lt;tt&amp;gt;libopenjpeg-libsl&amp;lt;/tt&amp;gt; library.&lt;br /&gt;
* Other reason: the file &amp;quot;defaultstripe.png&amp;quot; does not exists in the same OpenSim folder, or is corrupted.&lt;br /&gt;
* Solution: get the newest code from libsecondlife (&amp;lt;tt&amp;gt;svn co svn://opensecondlife.org/libsl/trunk&amp;lt;/tt&amp;gt;), '&amp;lt;tt&amp;gt;make&amp;lt;/tt&amp;gt;' manually in the subdir &amp;lt;tt&amp;gt;openjpeg-libsl&amp;lt;/tt&amp;gt;, and copy the resulting &amp;lt;tt&amp;gt;libopenjpeg-libsl-2.1.2.0.so&amp;lt;/tt&amp;gt; into your OpenSim &amp;lt;tt&amp;gt;bin&amp;lt;/tt&amp;gt; subdir, overwriting the existing one.&lt;br /&gt;
* Recompile &amp;amp; restart OpenSim&lt;br /&gt;
&lt;br /&gt;
==Exceptions on the Console==&lt;br /&gt;
This is a list of Exceptions that you may see on the console, what they mean, and if they are a problem.&lt;br /&gt;
&lt;br /&gt;
===System.DllNotFoundException: ./libopenjpeg-libsl-2.1.2.0.so===&lt;br /&gt;
 Failed generating terrain map: System.DllNotFoundException: ./libopenjpeg-libsl-2.1.2.0.so&lt;br /&gt;
 at (wrapper managed-to-native) OpenJPEGNet.OpenJPEG:LibslAllocDecoded OpenJPEGNet.OpenJPEG/LibslImage&amp;amp;)&lt;br /&gt;
 at OpenJPEGNet.OpenJPEG.Encode (System.Byte[] decoded, Int32 width, Int32 height, Int32 components, Boolean lossless) [0x00000]&lt;br /&gt;
 at OpenJPEGNet.OpenJPEG.EncodeFromImage (System.Drawing.Bitmap bitmap, Boolean lossless) [0x00000]&lt;br /&gt;
 at OpenSim.Region.Terrain.TerrainEngine.ExportJpegImage (System.String gradientmap) [0x00000]&lt;br /&gt;
&lt;br /&gt;
You are on Linux, and the native lib libopenjpeg-libsl-2.1.2.0.so is not compatible with your system for one of the following reasons:&lt;br /&gt;
* You have an old processor (libopenjpeg has been compiled with optimizations)&lt;br /&gt;
* You are running in 64bit mode (none of the native libs are built for 64bit)&lt;br /&gt;
&lt;br /&gt;
You can rebuild your own libopenjpeg from source, or run in a compatible environment.&lt;br /&gt;
You can do this by:&lt;br /&gt;
 svn co svn://opensecondlife.org/libsl/trunk libsl&lt;br /&gt;
 cd libsl/openjpeg-libsl/&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
then copy libopenjpeg-libsl-2.1.2.0.so into OpenSim bin-folder.&lt;br /&gt;
&lt;br /&gt;
==Grid Mode==&lt;br /&gt;
Note: Grid Mode isn't officially supported yet.  As such, you are pretty much on your own if you are trying to get OpenSim up and running in Grid Mode.&lt;br /&gt;
&lt;br /&gt;
=== I start the sim and it doesn't connect to any grid ===&lt;br /&gt;
&lt;br /&gt;
When OpenSim is first started, it needs configuration.&lt;br /&gt;
&lt;br /&gt;
* See [[OpenSim: Configuration]].&lt;br /&gt;
&lt;br /&gt;
===I start the OpenSim.Grid.UserServer.exe and it gives an error===&lt;br /&gt;
If this error is access denied for &amp;lt;tt&amp;gt;username@localhost&amp;lt;/tt&amp;gt;, the mysql database is not set up.&lt;br /&gt;
It will print some text and wait for input - either an enter to accept a default value, or another value you can supply.&lt;br /&gt;
* See [[OpenSim: Configuration]].&lt;br /&gt;
&lt;br /&gt;
===I want to run my own Local Grid but one or more servers fail to start===&lt;br /&gt;
* Be sure that you're able to start &amp;lt;tt&amp;gt;OpenSim.exe&amp;lt;/tt&amp;gt; alone, in Standalone mode, and to be able to login.&lt;br /&gt;
* Start the servers in the correct UGAS order and answer the questions as recommended (see [[OpenSim: Configuration]]).&lt;br /&gt;
* Set all the external URI's to the correct IP: 127.0.0.1 if running on your local machine, or aaa.bbb.ccc.ddd if running on a remote server.&lt;br /&gt;
* Check again all the &amp;lt;tt&amp;gt;*.xml&amp;lt;/tt&amp;gt; configuration files for any wrong settings or typing errors...!&lt;br /&gt;
* Don't forget to connect with your SL-viewer to port 8002 (Grid User-Server) instead of 9000 (Standalone OpenSim-Server).&lt;br /&gt;
* Delete all &amp;lt;tt&amp;gt;*.xml&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;*.yap&amp;lt;/tt&amp;gt; files in the &amp;lt;tt&amp;gt;bin&amp;lt;/tt&amp;gt; directory if you want to run a full reconfiguration again.&lt;br /&gt;
&lt;br /&gt;
===I get a bunch of asset not found errors, while connected to a online grid, and my inventory doesn't seem to work right===&lt;br /&gt;
*Make sure your opensim.ini has '      asset_database = &amp;quot;grid&amp;quot;      ' otherwise it will not work correctly.&lt;br /&gt;
[[Category:Users]]&lt;br /&gt;
&lt;br /&gt;
== ScriptEngine Issues ==&lt;br /&gt;
=== Got &amp;quot;Primitive: Error compiling script: unknown char: . error&amp;quot; when compiling script ===&lt;br /&gt;
When trying to compile a script ( using DotNetEngine or XEngine ) you could have this error :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Primitive: Error compiling script:&lt;br /&gt;
unknown char: .&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And on the console :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
11:06:37 - [ScriptEngine.DotNetEngine]: Unloading script&lt;br /&gt;
11:06:37 - Exception in MaintenanceLoopThread. Thread will recover after 5 sec throttle. Exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.&lt;br /&gt;
 at System.Collections.Generic.Dictionary`2[OpenSim.Region.ScriptEngine.Interfaces.IEventReceiver,OpenSim.Region.ScriptEngine.Shared.Api.Plugins.Dataserver].get_Item (IEventReceiver key) [0x00000]&lt;br /&gt;
 at OpenSim.Region.ScriptEngine.Shared.Api.AsyncCommandManager.RemoveScript (IEventReceiver engine, UInt32 localID, UUID itemID) [0x00000]&lt;br /&gt;
 at OpenSim.Region.ScriptEngine.DotNetEngine.ScriptManager._StopScript (UInt32 localID, UUID itemID) [0x00000]&lt;br /&gt;
 at OpenSim.Region.ScriptEngine.DotNetEngine.ScriptManager.DoScriptLoadUnload () [0x00000]&lt;br /&gt;
 at OpenSim.Region.ScriptEngine.DotNetEngine.MaintenanceThread.MaintenanceLoop () [0x00000]&lt;br /&gt;
11:06:37 - [ScriptEngine.DotNetEngine]: Loading script&lt;br /&gt;
11:06:37 - [ScriptEngine.DotNetEngine]: ScriptManager StartScript: localID: 720001, itemID: 88c9d28c-6004-4609-a707-717190de044a&lt;br /&gt;
11:06:37 - [Compiler]: Compiled new assembly for fad15951-f9aa-493f-be68-2aaf5ff8a3c9&lt;br /&gt;
11:06:37 - [SCRIPT]: Compiled assetID fad15951-f9aa-493f-be68-2aaf5ff8a3c9: ScriptEngines/a83150da-1ab1-11dd-89fb-0014853ee9da/CommonCompiler_compiled_fad15951-f9aa-493f-be68-2aaf5ff8a3c9.dll&lt;br /&gt;
11:06:37 - [ScriptEngine.DotNetEngine]: AppDomain Loading: OpenSim.Region.ScriptEngine.Shared, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This happens on '''linux''' when your locales are not set to default ( &amp;quot;C&amp;quot; ).&lt;br /&gt;
* You could refer to [http://opensimulator.org/mantis/view.php?id=2088 Mantis #2088] and [http://opensimulator.org/mantis/view.php?id=2015 Mantis #2015] for a workaround to run opensim.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
env LANG=C mono --debug OpenSim.exe&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* You could also change your locale setup. Here is what I use in my '.bash_profile' :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LC_ALL=C&lt;br /&gt;
export LANG=C&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
I know it's a ugly way to setup locales on a linux box, but it works fine on my '''Linux From Scratch''' box.&lt;/div&gt;</summary>
		<author><name>Ursula Matova</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/wiki/Troubleshooting</id>
		<title>Troubleshooting</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/wiki/Troubleshooting"/>
				<updated>2008-09-28T17:41:05Z</updated>
		
		<summary type="html">&lt;p&gt;Ursula Matova: /* Got Primitive: Error compiling script: unknown char: . error when compiling script */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Users]]&lt;br /&gt;
This page gives any system-specific configuration settings that may be useful, and advice for problems that might be encountered.&lt;br /&gt;
&lt;br /&gt;
== System-specific configuration ==&lt;br /&gt;
=== CentOS 5 ===&lt;br /&gt;
&lt;br /&gt;
To install mono and nant, you can use the &amp;quot;Linux Installer for x86&amp;quot; found at http://www.mono-project.com/Downloads.&lt;br /&gt;
&lt;br /&gt;
SVN can be installed by:&lt;br /&gt;
&lt;br /&gt;
 yum install subversion&lt;br /&gt;
&lt;br /&gt;
Mono defaults to installing into &amp;lt;tt&amp;gt;/opt&amp;lt;/tt&amp;gt;, so you may have to add this path to your environment variables, for example, in your &amp;lt;tt&amp;gt;~/.bashrc&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 export PATH=&amp;quot;/opt/mono-1.2.5/bin:$PATH&amp;quot;&lt;br /&gt;
 export PKG_CONFIG_PATH=&amp;quot;/opt/mono-1.2.5/lib/pkgconfig:$PKG_CONFIG_PATH&amp;quot;&lt;br /&gt;
 export MANPATH=&amp;quot;/opt/mono-1.2.5/share/man:$MANPATH&amp;quot;&lt;br /&gt;
 export LD_LIBRARY_PATH=&amp;quot;/opt/mono-1.2.5/lib:$LD_LIBRARY_PATH&amp;quot;&lt;br /&gt;
&lt;br /&gt;
After changing &amp;lt;tt&amp;gt;LD_LIBRARY_PATH&amp;lt;/tt&amp;gt;, you should update the dynamic linker cache:&lt;br /&gt;
&lt;br /&gt;
 ldconfig&lt;br /&gt;
&lt;br /&gt;
You may still encounter the &amp;quot;The current runtime framework 'mono-2.0' is not correctly configured in the NAnt configuration file.&amp;quot; error listed below.  In that case, this may fix this:&lt;br /&gt;
&lt;br /&gt;
 yum install glib&lt;br /&gt;
&lt;br /&gt;
If you are running a firewall as well (i.e., if &amp;lt;tt&amp;gt;iptables -L&amp;lt;/tt&amp;gt; shows a list of ACCEPT and REJECT rules), you'll have to open the necessary ports if you want to access the sim from other machines.  For standalone mode:&lt;br /&gt;
&lt;br /&gt;
 iptables -I RH-Firewall-1-INPUT -p tcp --dport 9000 -j ACCEPT&lt;br /&gt;
 iptables -I RH-Firewall-1-INPUT -p udp --dport 9000 -j ACCEPT&lt;br /&gt;
&lt;br /&gt;
=== Debian 4.0r0 ===&lt;br /&gt;
&lt;br /&gt;
If you set your system to use unstable sources, and then install some packages listed below, everything should just work.  To use unstable sources, modify your &amp;lt;tt&amp;gt;/etc/apt/sources.list&amp;lt;/tt&amp;gt; file, replacing 'etch' or 'stable' with 'unstable':&lt;br /&gt;
&lt;br /&gt;
 deb ftp://ftp.debian.org/debian/ unstable main&lt;br /&gt;
 deb-src ftp://ftp.debian.org/debian/ unstable main&lt;br /&gt;
&lt;br /&gt;
Then update your packages to the new versions:&lt;br /&gt;
&lt;br /&gt;
 apt-get update&lt;br /&gt;
 apt-get dist-upgrade&lt;br /&gt;
&lt;br /&gt;
This will probably change a large number of packages, and may break things.&lt;br /&gt;
In my experience, however, if you do not use unstable sources then the packages are not up to date enough, and you run into version issues, which lead to two DllNotFoundException errors below appearing in the console output: gdiplus.dll and libopenjpeg-libsl-2.1.2.0.so.&lt;br /&gt;
&lt;br /&gt;
Once the sources are updated, we need to install the necessary packages to be able to build OpenSim:&lt;br /&gt;
&lt;br /&gt;
 apt-get install subversion mono nant mono-gmcs mono-mjs libmono-microsoft8.0-cil libmono-system-runtime2.0-cil&lt;br /&gt;
&lt;br /&gt;
If any of these packages are missing, you'll probably encounter one of the errors listed below.  However, with these packages, OpenSim should build cleanly.&lt;br /&gt;
&lt;br /&gt;
Please note: If you are using mysql as storage on unstable you may get the following error:-&lt;br /&gt;
&lt;br /&gt;
 Exception: System.NotSupportedException: CodePage 1252 not supported&lt;br /&gt;
  at System.Text.Encoding.GetEncoding (Int32 codePage) [0x00000] &lt;br /&gt;
&lt;br /&gt;
To get it to work, try installing the libmono-i18n2.0-cil package&lt;br /&gt;
&lt;br /&gt;
 apt-get install libmono-i18n2.0-cil&lt;br /&gt;
&lt;br /&gt;
=== Gentoo ===&lt;br /&gt;
some Mono dependency &amp;amp; latest Mono itself may use &amp;quot;~x86&amp;quot; masked packages (assuming x86 is your platform, change may be made to reflect your ex:&amp;quot;~amd64&amp;quot; for 64bits). You could check for USE parameter with:&lt;br /&gt;
&lt;br /&gt;
 ACCEPT_KEYWORDS=&amp;quot;~x86&amp;quot; emerge -vp subversion nant mono libgdiplus&lt;br /&gt;
&lt;br /&gt;
Then install with:&lt;br /&gt;
&lt;br /&gt;
 ACCEPT_KEYWORDS=&amp;quot;~x86&amp;quot; emerge subversion nant mono libgdiplus&lt;br /&gt;
&lt;br /&gt;
N.B: The ACCEPT_KEYWORDS=&amp;quot;~x86&amp;quot; can be set in Gentoo /etc/make.conf file, but that turn up all the emerges in testing/unstable, using it at the begining of emerge command line use it only for current emerge process&lt;br /&gt;
&lt;br /&gt;
=== Mac OS X ===&lt;br /&gt;
This assumes you're using the universal binary for mono from the [http://www.mono-project.com/ Mono Project] site.&lt;br /&gt;
&lt;br /&gt;
If you are using OS X 10.4, you should also install X11 from the OS X install CDs.&lt;br /&gt;
In OS X 10.5, this is not required.&lt;br /&gt;
&lt;br /&gt;
If you get errors about the 2.0 framework not being supported, you may need to update your &amp;lt;tt&amp;gt;pkg-config&amp;lt;/tt&amp;gt; path.&lt;br /&gt;
I set this in &amp;lt;tt&amp;gt;~/.bash_profile&amp;lt;/tt&amp;gt;:&lt;br /&gt;
 export PKG_CONFIG_PATH=&amp;quot;/Library/Frameworks/Mono.framework/Versions/Current/lib/pkgconfig/:${PKG_CONFIG_PATH}&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Errors and fixes ==&lt;br /&gt;
&lt;br /&gt;
=== Build workarounds due to non-functionality or bugs: ===&lt;br /&gt;
&lt;br /&gt;
==== Disappearing prims due to duplicate UID's ====&lt;br /&gt;
Generally this problem occurs when a save-xml/load-xml file is loaded into the same sim without using the -newUID switch to generate new UUID's for the objects. This switch is documented in the [[Running#General OpenSim server commands|general server commands]] section. (&amp;lt;nowiki&amp;gt;load-xml &amp;lt;filename&amp;gt; -newUID&amp;lt;/nowiki&amp;gt;). But if this does not work, the other way is to shift-copy your build and drag it up into the air.. then delete the one in the air, (which is actually the copy). This will generate new UID's on all your prims.. you can now leave that build, and load your original load-xml file in another region.&lt;br /&gt;
&lt;br /&gt;
==== Linked objects not scaling/editing properly ====&lt;br /&gt;
From Mantis [[http://opensimulator.org/mantis/view.php?id=135 # 135]] and [[http://opensimulator.org/mantis/view.php?id=223 # 223]]: &amp;lt;br /&amp;gt;&lt;br /&gt;
Linked objects: while linking/unlinking objects seems to work fine, the editing of single prims inside a linked object doesn't work correctly. You have to check the box &amp;quot;Edit linked parts&amp;quot;, then you can select a single prim and edit it, but in most cases the changes in size- and/or postion-parameters are not accepted and revert immediately to the original ones. It is not completely reproducible, as it may work in some single case though.&amp;lt;br /&amp;gt;&lt;br /&gt;
'''Workaround:''' unlink the whole object, make the changes, and relink the whole thing again. &amp;lt;br /&amp;gt; ''note:'' re-scaling unlinked objects in grid mode seems to work better than in standalone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Exception and loss of ode physics System.EntryPointNotFoundException: dSpaceLockQuery ===&lt;br /&gt;
&lt;br /&gt;
The following is usually caused by using the wrong version of libode.  First try find / -name &amp;quot;libode.so&amp;quot; to see if you have other copies of the ode physics engine.  Then make sure you have the latest version of this.&lt;br /&gt;
&lt;br /&gt;
[SCENE] [02-01 22:20:40] System.EntryPointNotFoundException: dSpaceLockQuery&lt;br /&gt;
  at (wrapper managed-to-native) Ode.NET.d:SpaceLockQuery (intptr)&lt;br /&gt;
  at OpenSim.Region.Physics.OdePlugin.OdeScene.waitForSpaceUnlock (IntPtr space) [0x00000] &lt;br /&gt;
  at OpenSim.Region.Physics.OdePlugin.OdeCharacter.AvatarGeomAndBodyCreation (Single npositionX, Single npositionY, Single npositionZ, Single tensor) [0x00000] &lt;br /&gt;
  at OpenSim.Region.Physics.OdePlugin.OdeCharacter..ctor (System.String avName, OpenSim.Region.Physics.OdePlugin.OdeScene parent_scene, OpenSim.Region.Physics.Manager.PhysicsVector pos) [0x00000] &lt;br /&gt;
  at OpenSim.Region.Physics.OdePlugin.OdeScene.AddAvatar (System.String avName, OpenSim.Region.Physics.Manager.PhysicsVector position) [0x00000] &lt;br /&gt;
  at OpenSim.Region.Environment.Scenes.ScenePresence.AddToPhysicalScene () [0x00000] &lt;br /&gt;
  at OpenSim.Region.Environment.Scenes.ScenePresence.MakeRootAgent (LLVector3 pos, Boolean isFlying) [0x00000] &lt;br /&gt;
  at OpenSim.Region.Environment.Scenes.Scene.AgentCrossing (UInt64 regionHandle, LLUUID agentID, LLVector3 position, Boolean isFlying) [0x00000]&lt;br /&gt;
=== MySQL connection errors after about 6-8 hours ===&lt;br /&gt;
&lt;br /&gt;
MySQL has a timeout which drops the connection after 28,800 seconds (8 hours) of inactivity, which will probably result in failure to login after the User server has been sitting idle for an extended period.  If you have this problem, increase the timeout to something larger, like 604800 (1 week) or 31536000 (1 year).  From the mysql console, type:&lt;br /&gt;
&lt;br /&gt;
 set global wait_timeout=604800;&lt;br /&gt;
&lt;br /&gt;
=== System.DllNotFoundException: gdiplus.dll ===&lt;br /&gt;
&lt;br /&gt;
First, check to make sure that &amp;lt;tt&amp;gt;libgdiplus.so&amp;lt;/tt&amp;gt; is known to the dynamic linker:&lt;br /&gt;
&lt;br /&gt;
 /sbin/ldconfig -p | grep libgdiplus&lt;br /&gt;
&lt;br /&gt;
If nothing is found, make sure that the directory libgdiplus.so exists in is either in your &amp;lt;tt&amp;gt;LD_LIBRARY_PATH&amp;lt;/tt&amp;gt; environment variable or listed in a *.conf file (e.g., gdiplus.conf) in /etc/ld.so.conf.d/.  Then run &amp;lt;tt&amp;gt;ldconfig&amp;lt;/tt&amp;gt; to update the cache.  Then it should be able to find the library.&lt;br /&gt;
&lt;br /&gt;
You may still have the above error, however, since libgdiplus also depends on other dynamic libraries, and if they fail to load, libgdiplus will fail.  To test for this, run OpenSim with debugging information turned on:&lt;br /&gt;
&lt;br /&gt;
 MONO_LOG_LEVEL=debug mono OpenSim.exe&lt;br /&gt;
&lt;br /&gt;
{It may show errors loading other libraries, like &amp;lt;tt&amp;gt;libexif.so.9&amp;lt;/tt&amp;gt;.  In that case, linking to an existing version of the offending library may work:&lt;br /&gt;
&lt;br /&gt;
 ln -s libexif.so.12 libexif.so.9&lt;br /&gt;
&lt;br /&gt;
On Mac OS X - check the following file exists... /opt/local/lib/libgdiplus.dylib if it does then as root user edit the file /opt/local/etc/mono/config &lt;br /&gt;
and add the line &lt;br /&gt;
 &amp;lt;dllmap dll=&amp;quot;gdiplus.dll&amp;quot; target=&amp;quot;/opt/local/lib/libgdiplus.dylib&amp;quot; os=&amp;quot;!windows&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''(Is there a cleaner solution than this?)''} **see below for alternative/cleaner fix**&lt;br /&gt;
&lt;br /&gt;
== When installing mono or libgdiplus0 you may get dependency missing libexif.so.9 == &lt;br /&gt;
&lt;br /&gt;
This was noticed on Centos5 but may occur on other systems, download ftp://rpmfind.net/linux/conectiva/snapshot/i386/RPMS.extra/libexif9-0.5.12-47547cl.i386.rpm and install problem solved. You will now be able to install mono (as long as nothing else goes wrong )&lt;br /&gt;
&lt;br /&gt;
=== The assembly mscorlib.dll was not found or could not be loaded ===&lt;br /&gt;
&lt;br /&gt;
This indicates that you are missing one of the mscor libs that comes with nant.  This is easily solved by getting NAnt, which comes with both versions 1.0 and 2.0 of the required lib.&lt;br /&gt;
&lt;br /&gt;
 apt-get install nant&lt;br /&gt;
&lt;br /&gt;
=== External Program Failed: /usr/lib/pkgconfig/../../lib/mono/2.0/gmcs.exe === &lt;br /&gt;
&lt;br /&gt;
This is quickly fixed by retrieving mono-gmcs.&lt;br /&gt;
&lt;br /&gt;
 apt-get install mono-gmcs&lt;br /&gt;
&lt;br /&gt;
=== The type or namespace name JScript does not exist in the namespace Microsoft ===&lt;br /&gt;
&lt;br /&gt;
Note that it says Jscript over and over again.  Hint perhaps?&lt;br /&gt;
&lt;br /&gt;
 apt-get install mono-mjs libmono-microsoft8.0-cil&lt;br /&gt;
&lt;br /&gt;
On Fedora, the needed package is mono-jscript&lt;br /&gt;
&lt;br /&gt;
=== The type or namespace name Tcp does not exist in the namespace System.Runtime.Remoting.Channels ===&lt;br /&gt;
&lt;br /&gt;
This one is taken care of with a quick install:&lt;br /&gt;
&lt;br /&gt;
 apt-get install libmono-system-runtime2.0-cil&lt;br /&gt;
&lt;br /&gt;
=== Missing: libopenjpeg-libsl-2.1.2.0-x86_64.so ===&lt;br /&gt;
  You are on 64bit linux machine and my need to follow these instructions: [[Installing_and_running_on_x86-64 |Installing and running on x86-64 ]]&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
=== error while loading shared libraries: libgthread-2.0.so.0: cannot open shared object file ===&lt;br /&gt;
&lt;br /&gt;
If you start with a base Debian system as we did at the top of the page, but instead of using the apt version of mono you use the installer from their website, then you may encounter this issue.&lt;br /&gt;
&lt;br /&gt;
After getting the .bin file from http://www.mono-project.com/Downloads, and executing it as per its instructions, upon finishing, you may find that if you try to run `mono --version` you are presented with this message. This one means you need to install libglib2.0-0.&lt;br /&gt;
&lt;br /&gt;
 apt-get install libglib2.0-0&lt;br /&gt;
&lt;br /&gt;
=== The current runtime framework 'mono-2.0' is not correctly configured in the NAnt configuration file. ===&lt;br /&gt;
&lt;br /&gt;
This one seems to be fixed by retrieving the apt version of nant.&lt;br /&gt;
&lt;br /&gt;
 apt-get install nant&lt;br /&gt;
&lt;br /&gt;
This can also be due to &amp;lt;tt&amp;gt;pkg-config&amp;lt;/tt&amp;gt; not being able to locate the &amp;lt;tt&amp;gt;mono.pc&amp;lt;/tt&amp;gt; file.  Adding the directory containing this file to the environment variable &amp;lt;tt&amp;gt;PKG_CONFIG_PATH&amp;lt;/tt&amp;gt; may solve this.&lt;br /&gt;
&lt;br /&gt;
== Networking and config issues ==&lt;br /&gt;
   [[OpenSim:Running |See Running section]]&lt;br /&gt;
&lt;br /&gt;
=== You are able to log in, but not connect to a Region from a remote client ===&lt;br /&gt;
&lt;br /&gt;
    Look in your OpenSimulator/bin/Regions folder &lt;br /&gt;
    1) Try 0.0.0.0 for the internal_ip_address in your region.xml(default.xml) file&lt;br /&gt;
         (you'll have one of those files *per* region you've created)&lt;br /&gt;
    2) external_host_name=&amp;quot;127.0.0.1&amp;quot; will need to be changed to the accessable DNS name&lt;br /&gt;
        such as &amp;quot;opensim.example-host.com&amp;quot; or &amp;quot;71.6.131.152&amp;quot; (your public accessable ip)&lt;br /&gt;
&lt;br /&gt;
==Building OpenSim==&lt;br /&gt;
===I can't find any build files or solution files===&lt;br /&gt;
* If you're on Windows, run &amp;lt;tt&amp;gt;runprebuild.bat&amp;lt;/tt&amp;gt; - on Linux/Mac/FreeBSD, run &amp;lt;tt&amp;gt;runprebuild.sh&amp;lt;/tt&amp;gt;&lt;br /&gt;
=== VS2005 won't open the .sln file ===&lt;br /&gt;
* Try running VS2005 C#. You are probably running VS2005 C++. This is a C# project.&lt;br /&gt;
&lt;br /&gt;
==Running OpenSim==&lt;br /&gt;
=== Running OpenSim.exe from a Cygwin shell has access denied for some dll's ===&lt;br /&gt;
* Do a '&amp;lt;tt&amp;gt;cd bin&amp;lt;/tt&amp;gt;' followed by '&amp;lt;tt&amp;gt;chmod a+x *&amp;lt;/tt&amp;gt;' to make all dll files executable.&lt;br /&gt;
===I cannot start my sim===&lt;br /&gt;
* See [[Configuration]]&lt;br /&gt;
&lt;br /&gt;
==Something Has Gone Wrong!==&lt;br /&gt;
=== I get errors concerning 'owner_uuid' when starting up my grid after updating from svn beyond r3254 ===&lt;br /&gt;
When updating to recent revisions after r3254, we are now using the unused owner_uuid. There are some grids whose mysql tables were created during a time when this field was inadvertently removed from the .sql script that initializes the regions table. Logging in to your mysql instance and executing this SQL query to add the missing owner_uuid should solve this issue:&lt;br /&gt;
 alter table `regions` add column `owner_uuid` varchar(36) default '00000000-0000-0000-0000-000000000000' not null, comment 'Rev.2';&lt;br /&gt;
The punctuation around regions and owner_uuid is &amp;quot;grave accent&amp;quot;. The punctuation around the default value and the comment is the single quote. The &amp;quot;grave accent&amp;quot; is the one generally to the left of the One button, under the tilde and the single-quote, is, well, underneath the double quote. I think this matters to mysql.&lt;br /&gt;
&lt;br /&gt;
=== I get errors concerning 'State' when starting up my grid after updating from svn beyond r3786 ===&lt;br /&gt;
After r3786, a new 'State' field has been added to the 'primshapes' table on SQLite. This field is used to persist trees and grass.&lt;br /&gt;
You may have an empty region at startup, because OpenSim does not find this 'State' field and does not know what to do.&lt;br /&gt;
The best is to use SQLiteBrowser or another SQLite table editor (download it at [http://sqlitebrowser.sourceforge.net/ http://sqlitebrowser.sourceforge.net/]) to create the missing field:&lt;br /&gt;
 alter table primshapes add column State integer default 0&lt;br /&gt;
Just launch SQLiteBrowser, use File/Open database, then browse to OpenSim.db file and open it. Then, go to the &amp;quot;Execute SQL&amp;quot; tab, copy/paste the command above in the &amp;quot;SQL string&amp;quot; textbox, then hit the &amp;quot;Execute query&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
=== I get a timeout during region handshake ===&lt;br /&gt;
* Do you have the correct IP in your Regions\* config files?&lt;br /&gt;
* Do you have multiple interfaces on the server running OpenSim? OpenSim will not bind outgoing UDP packets to a specific IP, its default IP to reach you will be what the Region answers UDP with. If you have configured the region for another IP you will get a timeout during connect.&lt;br /&gt;
&lt;br /&gt;
=== I cannot connect to my OpenSim ===&lt;br /&gt;
* See [[OpenSim: Connecting]]&lt;br /&gt;
&lt;br /&gt;
===I can connect but cannot move===&lt;br /&gt;
If the client connects but the avatar can only spin in place and not move, then the sim is not correctly configured. It completed the initial login function, but packets are not being exchanged between the client and the sim, probably due to a network configuration error on the sim.&lt;br /&gt;
* See [[OpenSim: Configuration]]&lt;br /&gt;
&lt;br /&gt;
=== From time to time my Avatar seems to get stuck ===&lt;br /&gt;
Right now there is a bottle neck when syncing prims off to the database.  This will cause small (5 - 10 second) apparent hangs of the Avatar, but it will recover fine once the data is synced.  It is a known issue based on legacy architecture of some of the data storage code.  We hope this will be removed soon.&lt;br /&gt;
&lt;br /&gt;
=== I have problems with viewing the worldmap ===&lt;br /&gt;
* This may happen when running OpenSim on a Linux server, both in grid or standalone mode.&lt;br /&gt;
* Symptoms: when opening the worldmap window in the SL-viewer, the sims are not displayed grahically in the worldmap, the server console shows some error related to openjpeg, the current session freezes...&lt;br /&gt;
* Reason: your svn source trunk does not have the correct (or whatever...) &amp;lt;tt&amp;gt;libopenjpeg-libsl&amp;lt;/tt&amp;gt; library.&lt;br /&gt;
* Other reason: the file &amp;quot;defaultstripe.png&amp;quot; does not exists in the same OpenSim folder, or is corrupted.&lt;br /&gt;
* Solution: get the newest code from libsecondlife (&amp;lt;tt&amp;gt;svn co svn://opensecondlife.org/libsl/trunk&amp;lt;/tt&amp;gt;), '&amp;lt;tt&amp;gt;make&amp;lt;/tt&amp;gt;' manually in the subdir &amp;lt;tt&amp;gt;openjpeg-libsl&amp;lt;/tt&amp;gt;, and copy the resulting &amp;lt;tt&amp;gt;libopenjpeg-libsl-2.1.2.0.so&amp;lt;/tt&amp;gt; into your OpenSim &amp;lt;tt&amp;gt;bin&amp;lt;/tt&amp;gt; subdir, overwriting the existing one.&lt;br /&gt;
* Recompile &amp;amp; restart OpenSim&lt;br /&gt;
&lt;br /&gt;
==Exceptions on the Console==&lt;br /&gt;
This is a list of Exceptions that you may see on the console, what they mean, and if they are a problem.&lt;br /&gt;
&lt;br /&gt;
===System.DllNotFoundException: ./libopenjpeg-libsl-2.1.2.0.so===&lt;br /&gt;
 Failed generating terrain map: System.DllNotFoundException: ./libopenjpeg-libsl-2.1.2.0.so&lt;br /&gt;
 at (wrapper managed-to-native) OpenJPEGNet.OpenJPEG:LibslAllocDecoded OpenJPEGNet.OpenJPEG/LibslImage&amp;amp;)&lt;br /&gt;
 at OpenJPEGNet.OpenJPEG.Encode (System.Byte[] decoded, Int32 width, Int32 height, Int32 components, Boolean lossless) [0x00000]&lt;br /&gt;
 at OpenJPEGNet.OpenJPEG.EncodeFromImage (System.Drawing.Bitmap bitmap, Boolean lossless) [0x00000]&lt;br /&gt;
 at OpenSim.Region.Terrain.TerrainEngine.ExportJpegImage (System.String gradientmap) [0x00000]&lt;br /&gt;
&lt;br /&gt;
You are on Linux, and the native lib libopenjpeg-libsl-2.1.2.0.so is not compatible with your system for one of the following reasons:&lt;br /&gt;
* You have an old processor (libopenjpeg has been compiled with optimizations)&lt;br /&gt;
* You are running in 64bit mode (none of the native libs are built for 64bit)&lt;br /&gt;
&lt;br /&gt;
You can rebuild your own libopenjpeg from source, or run in a compatible environment.&lt;br /&gt;
You can do this by:&lt;br /&gt;
 svn co svn://opensecondlife.org/libsl/trunk libsl&lt;br /&gt;
 cd libsl/openjpeg-libsl/&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
then copy libopenjpeg-libsl-2.1.2.0.so into OpenSim bin-folder.&lt;br /&gt;
&lt;br /&gt;
==Grid Mode==&lt;br /&gt;
Note: Grid Mode isn't officially supported yet.  As such, you are pretty much on your own if you are trying to get OpenSim up and running in Grid Mode.&lt;br /&gt;
&lt;br /&gt;
=== I start the sim and it doesn't connect to any grid ===&lt;br /&gt;
&lt;br /&gt;
When OpenSim is first started, it needs configuration.&lt;br /&gt;
&lt;br /&gt;
* See [[OpenSim: Configuration]].&lt;br /&gt;
&lt;br /&gt;
===I start the OpenSim.Grid.UserServer.exe and it gives an error===&lt;br /&gt;
If this error is access denied for &amp;lt;tt&amp;gt;username@localhost&amp;lt;/tt&amp;gt;, the mysql database is not set up.&lt;br /&gt;
It will print some text and wait for input - either an enter to accept a default value, or another value you can supply.&lt;br /&gt;
* See [[OpenSim: Configuration]].&lt;br /&gt;
&lt;br /&gt;
===I want to run my own Local Grid but one or more servers fail to start===&lt;br /&gt;
* Be sure that you're able to start &amp;lt;tt&amp;gt;OpenSim.exe&amp;lt;/tt&amp;gt; alone, in Standalone mode, and to be able to login.&lt;br /&gt;
* Start the servers in the correct UGAS order and answer the questions as recommended (see [[OpenSim: Configuration]]).&lt;br /&gt;
* Set all the external URI's to the correct IP: 127.0.0.1 if running on your local machine, or aaa.bbb.ccc.ddd if running on a remote server.&lt;br /&gt;
* Check again all the &amp;lt;tt&amp;gt;*.xml&amp;lt;/tt&amp;gt; configuration files for any wrong settings or typing errors...!&lt;br /&gt;
* Don't forget to connect with your SL-viewer to port 8002 (Grid User-Server) instead of 9000 (Standalone OpenSim-Server).&lt;br /&gt;
* Delete all &amp;lt;tt&amp;gt;*.xml&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;*.yap&amp;lt;/tt&amp;gt; files in the &amp;lt;tt&amp;gt;bin&amp;lt;/tt&amp;gt; directory if you want to run a full reconfiguration again.&lt;br /&gt;
&lt;br /&gt;
===I get a bunch of asset not found errors, while connected to a online grid, and my inventory doesn't seem to work right===&lt;br /&gt;
*Make sure your opensim.ini has '      asset_database = &amp;quot;grid&amp;quot;      ' otherwise it will not work correctly.&lt;br /&gt;
[[Category:Users]]&lt;br /&gt;
&lt;br /&gt;
== ScriptEngine Issues ==&lt;br /&gt;
=== Got Primitive: Error compiling script: unknown char: . error when compiling script ===&lt;br /&gt;
When trying to compile a script ( using DotNetEngine or XEngine ) you could have this error :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Primitive: Error compiling script:&lt;br /&gt;
unknown char: .&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And on the console :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
11:06:37 - [ScriptEngine.DotNetEngine]: Unloading script&lt;br /&gt;
11:06:37 - Exception in MaintenanceLoopThread. Thread will recover after 5 sec throttle. Exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.&lt;br /&gt;
 at System.Collections.Generic.Dictionary`2[OpenSim.Region.ScriptEngine.Interfaces.IEventReceiver,OpenSim.Region.ScriptEngine.Shared.Api.Plugins.Dataserver].get_Item (IEventReceiver key) [0x00000]&lt;br /&gt;
 at OpenSim.Region.ScriptEngine.Shared.Api.AsyncCommandManager.RemoveScript (IEventReceiver engine, UInt32 localID, UUID itemID) [0x00000]&lt;br /&gt;
 at OpenSim.Region.ScriptEngine.DotNetEngine.ScriptManager._StopScript (UInt32 localID, UUID itemID) [0x00000]&lt;br /&gt;
 at OpenSim.Region.ScriptEngine.DotNetEngine.ScriptManager.DoScriptLoadUnload () [0x00000]&lt;br /&gt;
 at OpenSim.Region.ScriptEngine.DotNetEngine.MaintenanceThread.MaintenanceLoop () [0x00000]&lt;br /&gt;
11:06:37 - [ScriptEngine.DotNetEngine]: Loading script&lt;br /&gt;
11:06:37 - [ScriptEngine.DotNetEngine]: ScriptManager StartScript: localID: 720001, itemID: 88c9d28c-6004-4609-a707-717190de044a&lt;br /&gt;
11:06:37 - [Compiler]: Compiled new assembly for fad15951-f9aa-493f-be68-2aaf5ff8a3c9&lt;br /&gt;
11:06:37 - [SCRIPT]: Compiled assetID fad15951-f9aa-493f-be68-2aaf5ff8a3c9: ScriptEngines/a83150da-1ab1-11dd-89fb-0014853ee9da/CommonCompiler_compiled_fad15951-f9aa-493f-be68-2aaf5ff8a3c9.dll&lt;br /&gt;
11:06:37 - [ScriptEngine.DotNetEngine]: AppDomain Loading: OpenSim.Region.ScriptEngine.Shared, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This happens on '''linux''' when your locales are not set to default ( &amp;quot;C&amp;quot; ).&lt;br /&gt;
* You could refer to [http://opensimulator.org/mantis/view.php?id=2088 Mantis #2088] and [http://opensimulator.org/mantis/view.php?id=2015 Mantis #2015] for a workaround to run opensim.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
env LANG=C mono --debug OpenSim.exe&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* You could also change your locale setup. Here is what I use in my '.bash_profile' :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LC_ALL=C&lt;br /&gt;
export LANG=C&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
I know it's a ugly way to setup locales on a linux box, but it works fine on my '''Linux From Scratch''' box.&lt;/div&gt;</summary>
		<author><name>Ursula Matova</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/wiki/Troubleshooting</id>
		<title>Troubleshooting</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/wiki/Troubleshooting"/>
				<updated>2008-09-28T17:39:35Z</updated>
		
		<summary type="html">&lt;p&gt;Ursula Matova: /* Grid Mode */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Users]]&lt;br /&gt;
This page gives any system-specific configuration settings that may be useful, and advice for problems that might be encountered.&lt;br /&gt;
&lt;br /&gt;
== System-specific configuration ==&lt;br /&gt;
=== CentOS 5 ===&lt;br /&gt;
&lt;br /&gt;
To install mono and nant, you can use the &amp;quot;Linux Installer for x86&amp;quot; found at http://www.mono-project.com/Downloads.&lt;br /&gt;
&lt;br /&gt;
SVN can be installed by:&lt;br /&gt;
&lt;br /&gt;
 yum install subversion&lt;br /&gt;
&lt;br /&gt;
Mono defaults to installing into &amp;lt;tt&amp;gt;/opt&amp;lt;/tt&amp;gt;, so you may have to add this path to your environment variables, for example, in your &amp;lt;tt&amp;gt;~/.bashrc&amp;lt;/tt&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
 export PATH=&amp;quot;/opt/mono-1.2.5/bin:$PATH&amp;quot;&lt;br /&gt;
 export PKG_CONFIG_PATH=&amp;quot;/opt/mono-1.2.5/lib/pkgconfig:$PKG_CONFIG_PATH&amp;quot;&lt;br /&gt;
 export MANPATH=&amp;quot;/opt/mono-1.2.5/share/man:$MANPATH&amp;quot;&lt;br /&gt;
 export LD_LIBRARY_PATH=&amp;quot;/opt/mono-1.2.5/lib:$LD_LIBRARY_PATH&amp;quot;&lt;br /&gt;
&lt;br /&gt;
After changing &amp;lt;tt&amp;gt;LD_LIBRARY_PATH&amp;lt;/tt&amp;gt;, you should update the dynamic linker cache:&lt;br /&gt;
&lt;br /&gt;
 ldconfig&lt;br /&gt;
&lt;br /&gt;
You may still encounter the &amp;quot;The current runtime framework 'mono-2.0' is not correctly configured in the NAnt configuration file.&amp;quot; error listed below.  In that case, this may fix this:&lt;br /&gt;
&lt;br /&gt;
 yum install glib&lt;br /&gt;
&lt;br /&gt;
If you are running a firewall as well (i.e., if &amp;lt;tt&amp;gt;iptables -L&amp;lt;/tt&amp;gt; shows a list of ACCEPT and REJECT rules), you'll have to open the necessary ports if you want to access the sim from other machines.  For standalone mode:&lt;br /&gt;
&lt;br /&gt;
 iptables -I RH-Firewall-1-INPUT -p tcp --dport 9000 -j ACCEPT&lt;br /&gt;
 iptables -I RH-Firewall-1-INPUT -p udp --dport 9000 -j ACCEPT&lt;br /&gt;
&lt;br /&gt;
=== Debian 4.0r0 ===&lt;br /&gt;
&lt;br /&gt;
If you set your system to use unstable sources, and then install some packages listed below, everything should just work.  To use unstable sources, modify your &amp;lt;tt&amp;gt;/etc/apt/sources.list&amp;lt;/tt&amp;gt; file, replacing 'etch' or 'stable' with 'unstable':&lt;br /&gt;
&lt;br /&gt;
 deb ftp://ftp.debian.org/debian/ unstable main&lt;br /&gt;
 deb-src ftp://ftp.debian.org/debian/ unstable main&lt;br /&gt;
&lt;br /&gt;
Then update your packages to the new versions:&lt;br /&gt;
&lt;br /&gt;
 apt-get update&lt;br /&gt;
 apt-get dist-upgrade&lt;br /&gt;
&lt;br /&gt;
This will probably change a large number of packages, and may break things.&lt;br /&gt;
In my experience, however, if you do not use unstable sources then the packages are not up to date enough, and you run into version issues, which lead to two DllNotFoundException errors below appearing in the console output: gdiplus.dll and libopenjpeg-libsl-2.1.2.0.so.&lt;br /&gt;
&lt;br /&gt;
Once the sources are updated, we need to install the necessary packages to be able to build OpenSim:&lt;br /&gt;
&lt;br /&gt;
 apt-get install subversion mono nant mono-gmcs mono-mjs libmono-microsoft8.0-cil libmono-system-runtime2.0-cil&lt;br /&gt;
&lt;br /&gt;
If any of these packages are missing, you'll probably encounter one of the errors listed below.  However, with these packages, OpenSim should build cleanly.&lt;br /&gt;
&lt;br /&gt;
Please note: If you are using mysql as storage on unstable you may get the following error:-&lt;br /&gt;
&lt;br /&gt;
 Exception: System.NotSupportedException: CodePage 1252 not supported&lt;br /&gt;
  at System.Text.Encoding.GetEncoding (Int32 codePage) [0x00000] &lt;br /&gt;
&lt;br /&gt;
To get it to work, try installing the libmono-i18n2.0-cil package&lt;br /&gt;
&lt;br /&gt;
 apt-get install libmono-i18n2.0-cil&lt;br /&gt;
&lt;br /&gt;
=== Gentoo ===&lt;br /&gt;
some Mono dependency &amp;amp; latest Mono itself may use &amp;quot;~x86&amp;quot; masked packages (assuming x86 is your platform, change may be made to reflect your ex:&amp;quot;~amd64&amp;quot; for 64bits). You could check for USE parameter with:&lt;br /&gt;
&lt;br /&gt;
 ACCEPT_KEYWORDS=&amp;quot;~x86&amp;quot; emerge -vp subversion nant mono libgdiplus&lt;br /&gt;
&lt;br /&gt;
Then install with:&lt;br /&gt;
&lt;br /&gt;
 ACCEPT_KEYWORDS=&amp;quot;~x86&amp;quot; emerge subversion nant mono libgdiplus&lt;br /&gt;
&lt;br /&gt;
N.B: The ACCEPT_KEYWORDS=&amp;quot;~x86&amp;quot; can be set in Gentoo /etc/make.conf file, but that turn up all the emerges in testing/unstable, using it at the begining of emerge command line use it only for current emerge process&lt;br /&gt;
&lt;br /&gt;
=== Mac OS X ===&lt;br /&gt;
This assumes you're using the universal binary for mono from the [http://www.mono-project.com/ Mono Project] site.&lt;br /&gt;
&lt;br /&gt;
If you are using OS X 10.4, you should also install X11 from the OS X install CDs.&lt;br /&gt;
In OS X 10.5, this is not required.&lt;br /&gt;
&lt;br /&gt;
If you get errors about the 2.0 framework not being supported, you may need to update your &amp;lt;tt&amp;gt;pkg-config&amp;lt;/tt&amp;gt; path.&lt;br /&gt;
I set this in &amp;lt;tt&amp;gt;~/.bash_profile&amp;lt;/tt&amp;gt;:&lt;br /&gt;
 export PKG_CONFIG_PATH=&amp;quot;/Library/Frameworks/Mono.framework/Versions/Current/lib/pkgconfig/:${PKG_CONFIG_PATH}&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Errors and fixes ==&lt;br /&gt;
&lt;br /&gt;
=== Build workarounds due to non-functionality or bugs: ===&lt;br /&gt;
&lt;br /&gt;
==== Disappearing prims due to duplicate UID's ====&lt;br /&gt;
Generally this problem occurs when a save-xml/load-xml file is loaded into the same sim without using the -newUID switch to generate new UUID's for the objects. This switch is documented in the [[Running#General OpenSim server commands|general server commands]] section. (&amp;lt;nowiki&amp;gt;load-xml &amp;lt;filename&amp;gt; -newUID&amp;lt;/nowiki&amp;gt;). But if this does not work, the other way is to shift-copy your build and drag it up into the air.. then delete the one in the air, (which is actually the copy). This will generate new UID's on all your prims.. you can now leave that build, and load your original load-xml file in another region.&lt;br /&gt;
&lt;br /&gt;
==== Linked objects not scaling/editing properly ====&lt;br /&gt;
From Mantis [[http://opensimulator.org/mantis/view.php?id=135 # 135]] and [[http://opensimulator.org/mantis/view.php?id=223 # 223]]: &amp;lt;br /&amp;gt;&lt;br /&gt;
Linked objects: while linking/unlinking objects seems to work fine, the editing of single prims inside a linked object doesn't work correctly. You have to check the box &amp;quot;Edit linked parts&amp;quot;, then you can select a single prim and edit it, but in most cases the changes in size- and/or postion-parameters are not accepted and revert immediately to the original ones. It is not completely reproducible, as it may work in some single case though.&amp;lt;br /&amp;gt;&lt;br /&gt;
'''Workaround:''' unlink the whole object, make the changes, and relink the whole thing again. &amp;lt;br /&amp;gt; ''note:'' re-scaling unlinked objects in grid mode seems to work better than in standalone. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;hr&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Exception and loss of ode physics System.EntryPointNotFoundException: dSpaceLockQuery ===&lt;br /&gt;
&lt;br /&gt;
The following is usually caused by using the wrong version of libode.  First try find / -name &amp;quot;libode.so&amp;quot; to see if you have other copies of the ode physics engine.  Then make sure you have the latest version of this.&lt;br /&gt;
&lt;br /&gt;
[SCENE] [02-01 22:20:40] System.EntryPointNotFoundException: dSpaceLockQuery&lt;br /&gt;
  at (wrapper managed-to-native) Ode.NET.d:SpaceLockQuery (intptr)&lt;br /&gt;
  at OpenSim.Region.Physics.OdePlugin.OdeScene.waitForSpaceUnlock (IntPtr space) [0x00000] &lt;br /&gt;
  at OpenSim.Region.Physics.OdePlugin.OdeCharacter.AvatarGeomAndBodyCreation (Single npositionX, Single npositionY, Single npositionZ, Single tensor) [0x00000] &lt;br /&gt;
  at OpenSim.Region.Physics.OdePlugin.OdeCharacter..ctor (System.String avName, OpenSim.Region.Physics.OdePlugin.OdeScene parent_scene, OpenSim.Region.Physics.Manager.PhysicsVector pos) [0x00000] &lt;br /&gt;
  at OpenSim.Region.Physics.OdePlugin.OdeScene.AddAvatar (System.String avName, OpenSim.Region.Physics.Manager.PhysicsVector position) [0x00000] &lt;br /&gt;
  at OpenSim.Region.Environment.Scenes.ScenePresence.AddToPhysicalScene () [0x00000] &lt;br /&gt;
  at OpenSim.Region.Environment.Scenes.ScenePresence.MakeRootAgent (LLVector3 pos, Boolean isFlying) [0x00000] &lt;br /&gt;
  at OpenSim.Region.Environment.Scenes.Scene.AgentCrossing (UInt64 regionHandle, LLUUID agentID, LLVector3 position, Boolean isFlying) [0x00000]&lt;br /&gt;
=== MySQL connection errors after about 6-8 hours ===&lt;br /&gt;
&lt;br /&gt;
MySQL has a timeout which drops the connection after 28,800 seconds (8 hours) of inactivity, which will probably result in failure to login after the User server has been sitting idle for an extended period.  If you have this problem, increase the timeout to something larger, like 604800 (1 week) or 31536000 (1 year).  From the mysql console, type:&lt;br /&gt;
&lt;br /&gt;
 set global wait_timeout=604800;&lt;br /&gt;
&lt;br /&gt;
=== System.DllNotFoundException: gdiplus.dll ===&lt;br /&gt;
&lt;br /&gt;
First, check to make sure that &amp;lt;tt&amp;gt;libgdiplus.so&amp;lt;/tt&amp;gt; is known to the dynamic linker:&lt;br /&gt;
&lt;br /&gt;
 /sbin/ldconfig -p | grep libgdiplus&lt;br /&gt;
&lt;br /&gt;
If nothing is found, make sure that the directory libgdiplus.so exists in is either in your &amp;lt;tt&amp;gt;LD_LIBRARY_PATH&amp;lt;/tt&amp;gt; environment variable or listed in a *.conf file (e.g., gdiplus.conf) in /etc/ld.so.conf.d/.  Then run &amp;lt;tt&amp;gt;ldconfig&amp;lt;/tt&amp;gt; to update the cache.  Then it should be able to find the library.&lt;br /&gt;
&lt;br /&gt;
You may still have the above error, however, since libgdiplus also depends on other dynamic libraries, and if they fail to load, libgdiplus will fail.  To test for this, run OpenSim with debugging information turned on:&lt;br /&gt;
&lt;br /&gt;
 MONO_LOG_LEVEL=debug mono OpenSim.exe&lt;br /&gt;
&lt;br /&gt;
{It may show errors loading other libraries, like &amp;lt;tt&amp;gt;libexif.so.9&amp;lt;/tt&amp;gt;.  In that case, linking to an existing version of the offending library may work:&lt;br /&gt;
&lt;br /&gt;
 ln -s libexif.so.12 libexif.so.9&lt;br /&gt;
&lt;br /&gt;
On Mac OS X - check the following file exists... /opt/local/lib/libgdiplus.dylib if it does then as root user edit the file /opt/local/etc/mono/config &lt;br /&gt;
and add the line &lt;br /&gt;
 &amp;lt;dllmap dll=&amp;quot;gdiplus.dll&amp;quot; target=&amp;quot;/opt/local/lib/libgdiplus.dylib&amp;quot; os=&amp;quot;!windows&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''(Is there a cleaner solution than this?)''} **see below for alternative/cleaner fix**&lt;br /&gt;
&lt;br /&gt;
== When installing mono or libgdiplus0 you may get dependency missing libexif.so.9 == &lt;br /&gt;
&lt;br /&gt;
This was noticed on Centos5 but may occur on other systems, download ftp://rpmfind.net/linux/conectiva/snapshot/i386/RPMS.extra/libexif9-0.5.12-47547cl.i386.rpm and install problem solved. You will now be able to install mono (as long as nothing else goes wrong )&lt;br /&gt;
&lt;br /&gt;
=== The assembly mscorlib.dll was not found or could not be loaded ===&lt;br /&gt;
&lt;br /&gt;
This indicates that you are missing one of the mscor libs that comes with nant.  This is easily solved by getting NAnt, which comes with both versions 1.0 and 2.0 of the required lib.&lt;br /&gt;
&lt;br /&gt;
 apt-get install nant&lt;br /&gt;
&lt;br /&gt;
=== External Program Failed: /usr/lib/pkgconfig/../../lib/mono/2.0/gmcs.exe === &lt;br /&gt;
&lt;br /&gt;
This is quickly fixed by retrieving mono-gmcs.&lt;br /&gt;
&lt;br /&gt;
 apt-get install mono-gmcs&lt;br /&gt;
&lt;br /&gt;
=== The type or namespace name JScript does not exist in the namespace Microsoft ===&lt;br /&gt;
&lt;br /&gt;
Note that it says Jscript over and over again.  Hint perhaps?&lt;br /&gt;
&lt;br /&gt;
 apt-get install mono-mjs libmono-microsoft8.0-cil&lt;br /&gt;
&lt;br /&gt;
On Fedora, the needed package is mono-jscript&lt;br /&gt;
&lt;br /&gt;
=== The type or namespace name Tcp does not exist in the namespace System.Runtime.Remoting.Channels ===&lt;br /&gt;
&lt;br /&gt;
This one is taken care of with a quick install:&lt;br /&gt;
&lt;br /&gt;
 apt-get install libmono-system-runtime2.0-cil&lt;br /&gt;
&lt;br /&gt;
=== Missing: libopenjpeg-libsl-2.1.2.0-x86_64.so ===&lt;br /&gt;
  You are on 64bit linux machine and my need to follow these instructions: [[Installing_and_running_on_x86-64 |Installing and running on x86-64 ]]&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
=== error while loading shared libraries: libgthread-2.0.so.0: cannot open shared object file ===&lt;br /&gt;
&lt;br /&gt;
If you start with a base Debian system as we did at the top of the page, but instead of using the apt version of mono you use the installer from their website, then you may encounter this issue.&lt;br /&gt;
&lt;br /&gt;
After getting the .bin file from http://www.mono-project.com/Downloads, and executing it as per its instructions, upon finishing, you may find that if you try to run `mono --version` you are presented with this message. This one means you need to install libglib2.0-0.&lt;br /&gt;
&lt;br /&gt;
 apt-get install libglib2.0-0&lt;br /&gt;
&lt;br /&gt;
=== The current runtime framework 'mono-2.0' is not correctly configured in the NAnt configuration file. ===&lt;br /&gt;
&lt;br /&gt;
This one seems to be fixed by retrieving the apt version of nant.&lt;br /&gt;
&lt;br /&gt;
 apt-get install nant&lt;br /&gt;
&lt;br /&gt;
This can also be due to &amp;lt;tt&amp;gt;pkg-config&amp;lt;/tt&amp;gt; not being able to locate the &amp;lt;tt&amp;gt;mono.pc&amp;lt;/tt&amp;gt; file.  Adding the directory containing this file to the environment variable &amp;lt;tt&amp;gt;PKG_CONFIG_PATH&amp;lt;/tt&amp;gt; may solve this.&lt;br /&gt;
&lt;br /&gt;
== Networking and config issues ==&lt;br /&gt;
   [[OpenSim:Running |See Running section]]&lt;br /&gt;
&lt;br /&gt;
=== You are able to log in, but not connect to a Region from a remote client ===&lt;br /&gt;
&lt;br /&gt;
    Look in your OpenSimulator/bin/Regions folder &lt;br /&gt;
    1) Try 0.0.0.0 for the internal_ip_address in your region.xml(default.xml) file&lt;br /&gt;
         (you'll have one of those files *per* region you've created)&lt;br /&gt;
    2) external_host_name=&amp;quot;127.0.0.1&amp;quot; will need to be changed to the accessable DNS name&lt;br /&gt;
        such as &amp;quot;opensim.example-host.com&amp;quot; or &amp;quot;71.6.131.152&amp;quot; (your public accessable ip)&lt;br /&gt;
&lt;br /&gt;
==Building OpenSim==&lt;br /&gt;
===I can't find any build files or solution files===&lt;br /&gt;
* If you're on Windows, run &amp;lt;tt&amp;gt;runprebuild.bat&amp;lt;/tt&amp;gt; - on Linux/Mac/FreeBSD, run &amp;lt;tt&amp;gt;runprebuild.sh&amp;lt;/tt&amp;gt;&lt;br /&gt;
=== VS2005 won't open the .sln file ===&lt;br /&gt;
* Try running VS2005 C#. You are probably running VS2005 C++. This is a C# project.&lt;br /&gt;
&lt;br /&gt;
==Running OpenSim==&lt;br /&gt;
=== Running OpenSim.exe from a Cygwin shell has access denied for some dll's ===&lt;br /&gt;
* Do a '&amp;lt;tt&amp;gt;cd bin&amp;lt;/tt&amp;gt;' followed by '&amp;lt;tt&amp;gt;chmod a+x *&amp;lt;/tt&amp;gt;' to make all dll files executable.&lt;br /&gt;
===I cannot start my sim===&lt;br /&gt;
* See [[Configuration]]&lt;br /&gt;
&lt;br /&gt;
==Something Has Gone Wrong!==&lt;br /&gt;
=== I get errors concerning 'owner_uuid' when starting up my grid after updating from svn beyond r3254 ===&lt;br /&gt;
When updating to recent revisions after r3254, we are now using the unused owner_uuid. There are some grids whose mysql tables were created during a time when this field was inadvertently removed from the .sql script that initializes the regions table. Logging in to your mysql instance and executing this SQL query to add the missing owner_uuid should solve this issue:&lt;br /&gt;
 alter table `regions` add column `owner_uuid` varchar(36) default '00000000-0000-0000-0000-000000000000' not null, comment 'Rev.2';&lt;br /&gt;
The punctuation around regions and owner_uuid is &amp;quot;grave accent&amp;quot;. The punctuation around the default value and the comment is the single quote. The &amp;quot;grave accent&amp;quot; is the one generally to the left of the One button, under the tilde and the single-quote, is, well, underneath the double quote. I think this matters to mysql.&lt;br /&gt;
&lt;br /&gt;
=== I get errors concerning 'State' when starting up my grid after updating from svn beyond r3786 ===&lt;br /&gt;
After r3786, a new 'State' field has been added to the 'primshapes' table on SQLite. This field is used to persist trees and grass.&lt;br /&gt;
You may have an empty region at startup, because OpenSim does not find this 'State' field and does not know what to do.&lt;br /&gt;
The best is to use SQLiteBrowser or another SQLite table editor (download it at [http://sqlitebrowser.sourceforge.net/ http://sqlitebrowser.sourceforge.net/]) to create the missing field:&lt;br /&gt;
 alter table primshapes add column State integer default 0&lt;br /&gt;
Just launch SQLiteBrowser, use File/Open database, then browse to OpenSim.db file and open it. Then, go to the &amp;quot;Execute SQL&amp;quot; tab, copy/paste the command above in the &amp;quot;SQL string&amp;quot; textbox, then hit the &amp;quot;Execute query&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
=== I get a timeout during region handshake ===&lt;br /&gt;
* Do you have the correct IP in your Regions\* config files?&lt;br /&gt;
* Do you have multiple interfaces on the server running OpenSim? OpenSim will not bind outgoing UDP packets to a specific IP, its default IP to reach you will be what the Region answers UDP with. If you have configured the region for another IP you will get a timeout during connect.&lt;br /&gt;
&lt;br /&gt;
=== I cannot connect to my OpenSim ===&lt;br /&gt;
* See [[OpenSim: Connecting]]&lt;br /&gt;
&lt;br /&gt;
===I can connect but cannot move===&lt;br /&gt;
If the client connects but the avatar can only spin in place and not move, then the sim is not correctly configured. It completed the initial login function, but packets are not being exchanged between the client and the sim, probably due to a network configuration error on the sim.&lt;br /&gt;
* See [[OpenSim: Configuration]]&lt;br /&gt;
&lt;br /&gt;
=== From time to time my Avatar seems to get stuck ===&lt;br /&gt;
Right now there is a bottle neck when syncing prims off to the database.  This will cause small (5 - 10 second) apparent hangs of the Avatar, but it will recover fine once the data is synced.  It is a known issue based on legacy architecture of some of the data storage code.  We hope this will be removed soon.&lt;br /&gt;
&lt;br /&gt;
=== I have problems with viewing the worldmap ===&lt;br /&gt;
* This may happen when running OpenSim on a Linux server, both in grid or standalone mode.&lt;br /&gt;
* Symptoms: when opening the worldmap window in the SL-viewer, the sims are not displayed grahically in the worldmap, the server console shows some error related to openjpeg, the current session freezes...&lt;br /&gt;
* Reason: your svn source trunk does not have the correct (or whatever...) &amp;lt;tt&amp;gt;libopenjpeg-libsl&amp;lt;/tt&amp;gt; library.&lt;br /&gt;
* Other reason: the file &amp;quot;defaultstripe.png&amp;quot; does not exists in the same OpenSim folder, or is corrupted.&lt;br /&gt;
* Solution: get the newest code from libsecondlife (&amp;lt;tt&amp;gt;svn co svn://opensecondlife.org/libsl/trunk&amp;lt;/tt&amp;gt;), '&amp;lt;tt&amp;gt;make&amp;lt;/tt&amp;gt;' manually in the subdir &amp;lt;tt&amp;gt;openjpeg-libsl&amp;lt;/tt&amp;gt;, and copy the resulting &amp;lt;tt&amp;gt;libopenjpeg-libsl-2.1.2.0.so&amp;lt;/tt&amp;gt; into your OpenSim &amp;lt;tt&amp;gt;bin&amp;lt;/tt&amp;gt; subdir, overwriting the existing one.&lt;br /&gt;
* Recompile &amp;amp; restart OpenSim&lt;br /&gt;
&lt;br /&gt;
==Exceptions on the Console==&lt;br /&gt;
This is a list of Exceptions that you may see on the console, what they mean, and if they are a problem.&lt;br /&gt;
&lt;br /&gt;
===System.DllNotFoundException: ./libopenjpeg-libsl-2.1.2.0.so===&lt;br /&gt;
 Failed generating terrain map: System.DllNotFoundException: ./libopenjpeg-libsl-2.1.2.0.so&lt;br /&gt;
 at (wrapper managed-to-native) OpenJPEGNet.OpenJPEG:LibslAllocDecoded OpenJPEGNet.OpenJPEG/LibslImage&amp;amp;)&lt;br /&gt;
 at OpenJPEGNet.OpenJPEG.Encode (System.Byte[] decoded, Int32 width, Int32 height, Int32 components, Boolean lossless) [0x00000]&lt;br /&gt;
 at OpenJPEGNet.OpenJPEG.EncodeFromImage (System.Drawing.Bitmap bitmap, Boolean lossless) [0x00000]&lt;br /&gt;
 at OpenSim.Region.Terrain.TerrainEngine.ExportJpegImage (System.String gradientmap) [0x00000]&lt;br /&gt;
&lt;br /&gt;
You are on Linux, and the native lib libopenjpeg-libsl-2.1.2.0.so is not compatible with your system for one of the following reasons:&lt;br /&gt;
* You have an old processor (libopenjpeg has been compiled with optimizations)&lt;br /&gt;
* You are running in 64bit mode (none of the native libs are built for 64bit)&lt;br /&gt;
&lt;br /&gt;
You can rebuild your own libopenjpeg from source, or run in a compatible environment.&lt;br /&gt;
You can do this by:&lt;br /&gt;
 svn co svn://opensecondlife.org/libsl/trunk libsl&lt;br /&gt;
 cd libsl/openjpeg-libsl/&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
then copy libopenjpeg-libsl-2.1.2.0.so into OpenSim bin-folder.&lt;br /&gt;
&lt;br /&gt;
==Grid Mode==&lt;br /&gt;
Note: Grid Mode isn't officially supported yet.  As such, you are pretty much on your own if you are trying to get OpenSim up and running in Grid Mode.&lt;br /&gt;
&lt;br /&gt;
=== I start the sim and it doesn't connect to any grid ===&lt;br /&gt;
&lt;br /&gt;
When OpenSim is first started, it needs configuration.&lt;br /&gt;
&lt;br /&gt;
* See [[OpenSim: Configuration]].&lt;br /&gt;
&lt;br /&gt;
===I start the OpenSim.Grid.UserServer.exe and it gives an error===&lt;br /&gt;
If this error is access denied for &amp;lt;tt&amp;gt;username@localhost&amp;lt;/tt&amp;gt;, the mysql database is not set up.&lt;br /&gt;
It will print some text and wait for input - either an enter to accept a default value, or another value you can supply.&lt;br /&gt;
* See [[OpenSim: Configuration]].&lt;br /&gt;
&lt;br /&gt;
===I want to run my own Local Grid but one or more servers fail to start===&lt;br /&gt;
* Be sure that you're able to start &amp;lt;tt&amp;gt;OpenSim.exe&amp;lt;/tt&amp;gt; alone, in Standalone mode, and to be able to login.&lt;br /&gt;
* Start the servers in the correct UGAS order and answer the questions as recommended (see [[OpenSim: Configuration]]).&lt;br /&gt;
* Set all the external URI's to the correct IP: 127.0.0.1 if running on your local machine, or aaa.bbb.ccc.ddd if running on a remote server.&lt;br /&gt;
* Check again all the &amp;lt;tt&amp;gt;*.xml&amp;lt;/tt&amp;gt; configuration files for any wrong settings or typing errors...!&lt;br /&gt;
* Don't forget to connect with your SL-viewer to port 8002 (Grid User-Server) instead of 9000 (Standalone OpenSim-Server).&lt;br /&gt;
* Delete all &amp;lt;tt&amp;gt;*.xml&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;*.yap&amp;lt;/tt&amp;gt; files in the &amp;lt;tt&amp;gt;bin&amp;lt;/tt&amp;gt; directory if you want to run a full reconfiguration again.&lt;br /&gt;
&lt;br /&gt;
===I get a bunch of asset not found errors, while connected to a online grid, and my inventory doesn't seem to work right===&lt;br /&gt;
*Make sure your opensim.ini has '      asset_database = &amp;quot;grid&amp;quot;      ' otherwise it will not work correctly.&lt;br /&gt;
[[Category:Users]]&lt;br /&gt;
&lt;br /&gt;
== ScriptEngine Issues ==&lt;br /&gt;
=== Got Primitive: Error compiling script: unknown char: . error when compiling script ===&lt;br /&gt;
When trying to compile a script ( using DotNetEngine or XEngine ) you could have this error :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Primitive: Error compiling script:&lt;br /&gt;
unknown char: .&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
And on the console :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
11:06:37 - [ScriptEngine.DotNetEngine]: Unloading script&lt;br /&gt;
11:06:37 - Exception in MaintenanceLoopThread. Thread will recover after 5 sec throttle. Exception: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.&lt;br /&gt;
 at System.Collections.Generic.Dictionary`2[OpenSim.Region.ScriptEngine.Interfaces.IEventReceiver,OpenSim.Region.ScriptEngine.Shared.Api.Plugins.Dataserver].get_Item (IEventReceiver key) [0x00000]&lt;br /&gt;
 at OpenSim.Region.ScriptEngine.Shared.Api.AsyncCommandManager.RemoveScript (IEventReceiver engine, UInt32 localID, UUID itemID) [0x00000]&lt;br /&gt;
 at OpenSim.Region.ScriptEngine.DotNetEngine.ScriptManager._StopScript (UInt32 localID, UUID itemID) [0x00000]&lt;br /&gt;
 at OpenSim.Region.ScriptEngine.DotNetEngine.ScriptManager.DoScriptLoadUnload () [0x00000]&lt;br /&gt;
 at OpenSim.Region.ScriptEngine.DotNetEngine.MaintenanceThread.MaintenanceLoop () [0x00000]&lt;br /&gt;
11:06:37 - [ScriptEngine.DotNetEngine]: Loading script&lt;br /&gt;
11:06:37 - [ScriptEngine.DotNetEngine]: ScriptManager StartScript: localID: 720001, itemID: 88c9d28c-6004-4609-a707-717190de044a&lt;br /&gt;
11:06:37 - [Compiler]: Compiled new assembly for fad15951-f9aa-493f-be68-2aaf5ff8a3c9&lt;br /&gt;
11:06:37 - [SCRIPT]: Compiled assetID fad15951-f9aa-493f-be68-2aaf5ff8a3c9: ScriptEngines/a83150da-1ab1-11dd-89fb-0014853ee9da/CommonCompiler_compiled_fad15951-f9aa-493f-be68-2aaf5ff8a3c9.dll&lt;br /&gt;
11:06:37 - [ScriptEngine.DotNetEngine]: AppDomain Loading: OpenSim.Region.ScriptEngine.Shared, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This happens on '''linux''' when your locales are not set to default ( &amp;quot;C&amp;quot; ).&lt;br /&gt;
* You could refer to [http://opensimulator.org/mantis/view.php?id=2088 Mantis #2088] and [http://opensimulator.org/mantis/view.php?id=2015 Mantis #2015] for a workaround to run opensim.&lt;br /&gt;
* You could also change your locale setup. Here is what I use in my '.bash_profile' :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LC_ALL=C&lt;br /&gt;
export LANG=C&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
I know it's a ugly way to setup locales on a linux box, but it works fine on my '''Linux From Scratch''' box.&lt;/div&gt;</summary>
		<author><name>Ursula Matova</name></author>	</entry>

	</feed>