I just finished a two week stint without a day off doing my small part of the IT side of getting Houston lighted again after a visit from Ike. With a little luck, and after getting the last of the storm debris out of the back yard, I hope to get OpenSim running in grid mode finally. During my previous incarnation as a circuit designer as well as more recently as a software weenie, I’ve always found that I do a better job of getting someone else’s work to work than I have doing original design myself. We are about to see if that is still true.
Here’s the plan. Given the assumption that incorrect entries in OpenSim.ini are the cause, then I need to see just which entries are bad, and why they are bad. I’ve made the first step, in that I see where contents of OpenSim.ini are stored when OpenSim starts up. Specifically, the function ReadConfigSettings() is overridden in the class OpenSim, that class being derived from its base class OpenSimBase. This function takes the accessed configuration data and stores it in the base class member functions, which of course are inherited by the derived class. This is done during bootup.
Now boot up seems to work just fine. Each of the subordinate servers, User, Grid, Asset, Inventory, and Messaging were all started, following which OpenSim was started. The problem came during an attempt at login. A part of the configuration of course is how to get to the database to get user information to determine if the login should be permitted.
The database has been created in the MySQL instance, and there are users in the Users table. A good first guess is that accessing the table to check the login is not going well. That could be for a lot of reasons, certainly including that the connection string for the database instance could be no good. Still, one should not jump to conclusions. Rather, the plan is to follow the login process step by step in the debugger to see just where the code decides that login should fail. That is the big project for the weekend. I’ll try to report some results before the weekend is over.