I’m ready now to try once more to get OpenSim into grid mode. It seems clear that the previous problem was not a software bug in the code, but simply some bad changes in the configuration file, OpenSim.ini. However, it may be that the only way to find out just what the right changes are will be to step the code through and see what happens. A lot will be learned in that process. To that end, another set of files was downloaded from the OpenSim website and installed on the laptop, which happens to also have Visual Studio 2005 installed. An instance of MySQL was installed on the laptop as well, and is working well. A build of OpenSim from the newly downloaded files succeeded. Stepping through the code should not be so bad now.
Before forging ahead with the new build, I wanted to play a bit with the original build to get some preliminary data. When OpenSim runs for the first time, OpenSim.ini does not yet exist. After OpenSim is started on the command prompt, a long series of questions are asked, and the opportunity to take the default is given for most of them. After OpenSim was stopped, OpenSim.ini appeared, apparently saving all those values given at startup. To get grid mode running, several changes have to be made to the file. That is when the problem started.
I tried deleting the modified version of OpenSim.ini, then starting OpenSim again. I wasn’t asked plenty of questions, but OpenSim started again in standalone mode, and Test User and a second avatar created during the original standalone mode were present, and could log in. That then is the fall back position to take. If changes to OpenSim.ini to get grid mode are bad, at least you can get back to standalone mode as it originally ran. Just delete OpenSim.ini and restart OpenSim. Additionally, when I started OpenSim again without a copy of OpenSim.ini, one was seen to have been created when OpenSim was terminated. Because there was no copy of OpenSim.ini present at startup, everything reverted to the original, including using the SQLite database which was run as default.
As for the new build, I trashed the idea of creating it on a flash stick to save disk space. There were enough files to delete so that there is still a comfortable margin on the hard disk of the laptop with the Subversion server, an instance of MySQL and OpenSim running. Subversion can probably be deleted as well, since absent some sort of new disaster, all work will continue on the build currently resident on the laptop.
There are some relatively minor problems that can be analyzed and fixed in due course. First on the list will be fixing the bug that screws up the MySQL connection string when OpenSim.ini is saved in grid mode. Then there are some additional things, such as any object I create seems to be phantom. Along with that is the fact that the map can only see one avatar in the region when there are two. I’ll have to see how to get some male avatars on, since the same female avatar gets assigned to every new user created. Finally, I have to do something about the fact tht the avatar’s appearance can’t be changed, because permission is denied.
Still, things are going better than they might, and these minor things can be chased and fixed once grid mode is running correctly. As always, I’ll keep you posted.


