OK in continuing to try to troubleshoot this, I realized I tried stopping and starting both the ROBUST and opensim services, but I did NOT try stopping and restarting the MySQL database service itself.<div><br></div><div>When I did that, suddenly I could log in again...</div>
<div><br></div><div>So, still don't know what the error message I saw before means:</div><div><br></div><div> <span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">10:59:51 - [GRID HANDLER]: Exception System.NullReferenceException: Object refer<div>
ence not set to an instance of an object.</div><div><br></div><div>But it seems as if somehow the ROBUST service lost (?) connection to the database and .. maybe when it tried to query for the user and got no response it interpreted as user not found even though the issue actually was that it no longer had a connection to the database?</div>
<div><br></div><div>I don't know, I'm pretty n00b at all this, but if restarting the MySQL database resolved the issue then my next question is why did it stop working in the first place and how do I prevent it from happening again.</div>
<div><br></div><div><br></div><div>Thanks as always,</div><div><br></div><div>- Chris/Fleep</div><div><br></div><div><br></div><div>Chris M. Collins (SL: Fleep Tuque)</div><div>Project Manager, UC Second Life </div><div>Second Life Ambassador, Ohio Learning Network </div>
<div>UCit Instructional & Research Computing</div><div>University of Cincinnati </div><div>406E Zimmer Hall</div><div>PO Box 210088</div><div>Cincinnati, OH 45221-0088</div><div>(513)556-3018</div><div><a href="mailto:chris.collins@uc.edu">chris.collins@uc.edu</a></div>
<div><br></div><div>UC Second Life: <a href="http://homepages.uc.edu/secondlife">http://homepages.uc.edu/secondlife</a></div><div>OLN Second Life: <a href="http://www.oln.org/emerging_technologies/emtech.php">http://www.oln.org/emerging_technologies/emtech.php</a></div>
<div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></span><br><div class="gmail_quote">On Wed, Feb 23, 2011 at 12:02 PM, Fleep Tuque <span dir="ltr"><<a href="mailto:fleep513@gmail.com">fleep513@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Also, in case it's helpful, here's the console output when I successfully logged in this morning:<div><br></div>
<div><span style="font-family:arial, helvetica, sans-serif;font-size:13px;line-height:19px"><strong>Successful login from internal IP looks like this on ROBUST:</strong><br>
<br>04:38:57 - [LLOGIN SERVICE]: Login request for Fleep Tuque from 10.24.146.106 wi<div class="im"><br>th user agent Imprudence 1.3.0 / Second Life 1.23.5.136262 starting in last<br></div>04:38:57 - [PASS AUTH]: got ; hashed = ; stored = <br>
04:38:57 - [LLOGIN SERVICE]: 0 active gestures<br>04:38:57 - [PRESENCE SERVICE]: LoginAgent 3cc87096-b350-4ded-b7b3-26a19884e839 w<br>ith session c9112461-9b79-4e5f-b876-b71c70bd4083 and ssession 27e0f832-62ce-41b6<br>-96f7-70f621d3ef78<br>
04:38:57 - [GRID USER SERVICE]: User 3cc87096-b350-4ded-b7b3-26a19884e839 is onl<br>ine<br>04:38:57 - [LLOGIN SERVICE]: FindDestination for start location last<br>04:38:57 - [REMOTE SIMULATION CONNECTOR]: Posted CreateAgent request to remote s<br>
im <a href="http://10.23.23.149:9000/agent/3cc87096-b350-4ded-b7b3-26a19884e839/" rel="nofollow" style="background-color:initial;padding-right:10px;background-repeat:no-repeat no-repeat" target="_blank">http://10.23.23.149:9000/agent/3cc87096-b350-4ded-b7b3-26a19884e839/</a>, region<br>
University of Cincinnati, x=2304000 y=2304000<br>04:38:58 - [REMOTE SIMULATION CONNECTOR]: DoCreateChildAgentCall reply was {"suc<br>cess":true,"your_ip":"10.23.23.148"}<br>04:38:58 - [LLOGIN SERVICE]: Retrieved 0 friends<br>
04:38:58 - [LLOGIN]: Library has 19 folders<br>04:38:58 - [LLOGIN SERVICE]: All clear. Sending login response to client.<br>04:38:59 - [AVATAR SERVICE]: SetAvatar for 3cc87096-b350-4ded-b7b3-26a19884e839,<br>attachs=1<br>
04:38:59 - [PRESENCE SERVICE]: ReportAgent with session c9112461-9b79-4e5f-b876-<br>b71c70bd4083 in region 5985af1b-4223-4a12-ba87-1c3830a44e97<br>04:39:00 - [GRID SERVICE]: region University of Cincinnati has 0 neighours<br>
04:39:33 - [PRESENCE SERVICE]: Session c9112461-9b79-4e5f-b876-b71c70bd4083 logo<br>ut<br>04:39:33 - [GRID USER SERVICE]: User 3cc87096-b350-4ded-b7b3-26a19884e839 is off<br>line<br><br><strong>Successful login from internal IP looks like this on OPENSIM:</strong><br>
<br>04:38:54 - [LOCAL SIMULATION CONNECTOR]: Found region University of Cincinnati t<br>o send SendCreateChildAgent<br>04:38:54 - [CONNECTION BEGIN]: Region University of Cincinnati told of incoming<br>root agent Fleep Tuque 3cc87096-b350-4ded-b7b3-26a19884e839 (circuit code 153707<br>
9610, teleportflags 128)<br>04:38:54 - [CONNECTION BEGIN]: Region University of Cincinnati authenticated and<br>authorized incoming root agent Fleep Tuque 3cc87096-b350-4ded-b7b3-26a19884e839<br>(circuit code 1537079610)<br>
04:38:54 - [CAPS]: Registered seed capability /CAPS/a0b03555-745c-4b59-9100-229c<br>526c32f50000/ for 3cc87096-b350-4ded-b7b3-26a19884e839<br>04:38:54 - [EVENTQUEUE]: Adding new queue for agent 3cc87096-b350-4ded-b7b3-26a1<br>
9884e839 in region University of Cincinnati<br>04:38:54 - [OBJECTADD]: /CAPS/OA/9d6729c7-c198-4a4a-868b-ae80926a36fb/<br>04:38:54 - [GETTEXTURE]: /CAPS/19bff37d-59e8-4176-b50d-17f1bc0eea6f<br>04:38:55 - [CAPS]: Seed Caps Request in region: University of Cincinnati<br>
04:38:55 - [SCENE]: Incoming client Fleep Tuque in region University of Cincinna<br>ti via regular login. Client IP verification not performed.<br>04:38:56 - [LLUDPSERVER]: Handling UseCircuitCode packet from <a href="http://10.24.146.106:5423" target="_blank">10.24.146.106:5423</a><br>
9<br>04:38:56 - [SCENE]: Adding new agent Fleep Tuque to scene University of Cincinna<br>ti<br>04:38:56 - [ACCOUNTS CONNECTOR]: GetUserAccount 3cc87096-b350-4ded-b7b3-26a19884<br>e839<br>04:38:56 - [USER CACHE]: cached user 3cc87096-b350-4ded-b7b3-26a19884e839<br>
04:38:56 - [ATTACHMENTS MODULE]: Rezzing single attachment from item 2c3a10fc-a8<br>82-45a3-8a14-2332bc96edf9 for Fleep Tuque<br>04:38:56 - [XINVENTORY CONNECTOR]: GetItem 2c3a10fc-a882-45a3-8a14-2332bc96edf9<br>04:38:56 - [XINVENTORY CONNECTOR]: GetItem 2c3a10fc-a882-45a3-8a14-2332bc96edf9<br>
04:38:56 - [SCENE]: Upgrading child to root agent for Fleep Tuque in University<br>of Cincinnati<br>04:38:56 - [APPEARANCE]: UpdateDatabase<br>04:38:56 - [PRESENCE DETECTOR]: Detected root presence 3cc87096-b350-4ded-b7b3-2<br>
6a19884e839 in University of Cincinnati<br>04:38:57 - [ACTIVITY DETECTOR]: Detected root presence 3cc87096-b350-4ded-b7b3-2<br>6a19884e839 in University of Cincinnati<br>04:38:57 - [ATTACHMENTS MODULE]: Updating inventory of Fleep Tuque to show attac<br>
hment of Test Object 1 (item ID 2c3a10fc-a882-45a3-8a14-2332bc96edf9)<br>04:38:57 - [XINVENTORY CONNECTOR]: GetItem 2c3a10fc-a882-45a3-8a14-2332bc96edf9<br>04:38:57 - [WORLD MAP]: Starting remote MapItem request thread<br>
04:38:57 - [ATTACHMENT]: Rezzed attachment in point 2 from item 2c3a10fc-a882-45<br>a3-8a14-2332bc96edf9 and asset 00000000-0000-0000-0000-000000000000 (a907aee9-25<br>7f-4b47-a11e-ed6f054fe3c1)<br>04:38:57 - [SCENE]: Received request for wearables of Fleep Tuque<br>
04:38:58 - [PHYSICS]: trying to change capsule size, but the following ODE data<br>is missing - Shell Body Amotor<br>04:38:58 - [XINVENTORY CONNECTOR]: GetItem 2c3a10fc-a882-45a3-8a14-2332bc96edf9<br>04:38:58 - [WATCHDOG]: Started tracking thread "MapItemRequestThread" (ID 27)<br>
04:38:58 - [CAPS]: UploadBakedTexture Request in region: University of Cincinnat<br>i<br>04:38:58 - [CAPS]: Received baked texture aff25517-16a9-47da-b11d-cacb4e0916b6<br>04:38:59 - [CAPS]: UploadBakedTexture Request in region: University of Cincinnat<br>
i<br>04:38:59 - [CAPS]: UploadBakedTexture Request in region: University of Cincinnat<br>i<br>04:38:59 - [CAPS]: UploadBakedTexture Request in region: University of Cincinnat<br>i<br>04:39:00 - [CAPS]: UploadBakedTexture Request in region: University of Cincinnat<br>
i<br>04:39:00 - [CAPS]: Received baked texture 532db0d5-53f4-4635-b6cd-b9d90b776d76<br>04:39:00 - [CAPS]: Received baked texture 9c5ba2b3-019e-4d3b-b413-2b0ff50b2268<br>04:39:00 - [CAPS]: Received baked texture 7e7d35d1-3280-41f3-889b-ce6811f1d647<br>
04:39:01 - [CAPS]: UploadBakedTexture Request in region: University of Cincinnat<br>i<br>04:39:01 - [CAPS]: Received baked texture 2d9e9051-80e5-4d3b-9452-6a318d6ffc18<br>04:39:01 - [CAPS]: Received baked texture b7035f7b-6cf8-4da1-882b-bac89d391648<br>
04:39:01 - [CAPS]: UploadBakedTexture Request in region: University of Cincinnat<br>i<br>04:39:01 - [CAPS]: UploadBakedTexture Request in region: University of Cincinnat<br>i<br>04:39:02 - [CAPS]: Received baked texture 9f27db59-f8bc-4bc4-9017-b2ea900df6b1<br>
04:39:02 - [CAPS]: Received baked texture b44ae4f1-a839-4086-af02-eecb5004a9f5<br>04:39:30 - [CLIENT]: Got a logout request for Fleep Tuque in University of Cinci<br>nnati<br>04:39:30 - [CLIENT]: Close has been called for Fleep Tuque attached to scene Uni<br>
versity of Cincinnati<br>04:39:30 - [PRESENCE DETECTOR]: Detected client logout 3cc87096-b350-4ded-b7b3-2<br>6a19884e839 in University of Cincinnati<br>04:39:30 - [ACTIVITY DETECTOR]: Detected client logout 3cc87096-b350-4ded-b7b3-2<br>
6a19884e839 in University of Cincinnati<br>04:39:30 - [SCENE]: Removing root agent 3cc87096-b350-4ded-b7b3-26a19884e839 fro<br>m region University of Cincinnati<br>04:39:30 - [EVENTQUEUE]: Closed client 3cc87096-b350-4ded-b7b3-26a19884e839 in r<br>
egion University of Cincinnati</span></div><div><font face="arial, helvetica, sans-serif"><span style="line-height:19px"><br></span></font></div><div><font face="arial, helvetica, sans-serif"><span style="line-height:19px"><br>
</span></font></div><div><font face="arial, helvetica, sans-serif"><span style="line-height:19px">As far as I know nothing changed between then and my next login attempt a few hours later when ROBUST reported:</span></font></div>
<div class="im">
<div><font face="arial, helvetica, sans-serif"><span style="line-height:19px"><br></span></font></div><div><font face="arial, helvetica, sans-serif"><span style="line-height:19px"><div>
10:59:51 - [GRID HANDLER]: Exception System.NullReferenceException: Object refer</div><div>ence not set to an instance of an object.</div><div>11:01:33 - [LLOGIN SERVICE]: Login request for Fleep Tuque from 10.24.146.106 wi</div>
<div>th user agent Imprudence 1.3.0 / Second Life 1.23.5.136262 starting in last</div><div>11:01:33 - [LLOGIN SERVICE]: Login failed, reason: user not found</div></span></font></div><div><font face="arial, helvetica, sans-serif"><span style="line-height:19px"><br>
</span></font></div></div><div><font face="arial, helvetica, sans-serif"><span style="line-height:19px">Thanks again for any thoughts..</span></font></div><div class="im"><div><font face="arial, helvetica, sans-serif"><span style="line-height:19px"><br>
</span></font></div><div><font face="arial, helvetica, sans-serif"><span style="line-height:19px">- Chris/Fleep</span></font></div><div><font face="arial, helvetica, sans-serif"><span style="line-height:19px"><br>
</span></font></div><div><font face="arial, helvetica, sans-serif"><span style="line-height:19px"><br></span></font></div><div><font face="arial, helvetica, sans-serif"><span style="line-height:19px">Chris M. Collins (SL: Fleep Tuque)</span></font></div>
<div><font face="arial, helvetica, sans-serif"><span style="line-height:19px">Project Manager, UC Second Life </span></font></div><div><font face="arial, helvetica, sans-serif"><span style="line-height:19px">Second Life Ambassador, Ohio Learning Network </span></font></div>
<div><font face="arial, helvetica, sans-serif"><span style="line-height:19px">UCit Instructional & Research Computing</span></font></div><div><font face="arial, helvetica, sans-serif"><span style="line-height:19px">University of Cincinnati </span></font></div>
<div><font face="arial, helvetica, sans-serif"><span style="line-height:19px">406E Zimmer Hall</span></font></div><div><font face="arial, helvetica, sans-serif"><span style="line-height:19px">PO Box 210088</span></font></div>
<div><font face="arial, helvetica, sans-serif"><span style="line-height:19px">Cincinnati, OH 45221-0088</span></font></div><div><font face="arial, helvetica, sans-serif"><span style="line-height:19px">(513)556-3018</span></font></div>
<div><font face="arial, helvetica, sans-serif"><span style="line-height:19px"><a href="mailto:chris.collins@uc.edu" target="_blank">chris.collins@uc.edu</a></span></font></div><div><font face="arial, helvetica, sans-serif"><span style="line-height:19px"><br>
</span></font></div><div><font face="arial, helvetica, sans-serif"><span style="line-height:19px">UC Second Life: <a href="http://homepages.uc.edu/secondlife" target="_blank">http://homepages.uc.edu/secondlife</a></span></font></div>
<div><font face="arial, helvetica, sans-serif"><span style="line-height:19px">OLN Second Life: <a href="http://www.oln.org/emerging_technologies/emtech.php" target="_blank">http://www.oln.org/emerging_technologies/emtech.php</a></span></font></div>
<div><font face="arial, helvetica, sans-serif"><span style="line-height:19px"><br></span></font></div></div><div><div></div><div class="h5"><div><font face="arial, helvetica, sans-serif"><span style="line-height:19px"><br>
</span></font><br><div class="gmail_quote">On Wed, Feb 23, 2011 at 11:52 AM, Fleep Tuque <span dir="ltr"><<a href="mailto:fleep513@gmail.com" target="_blank">fleep513@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<div><br></div><div>I'm attempting to get 0.7.0.2 running in grid mode on our campus Win2008 servers and I can't figure out for the life of me what's wrong. </div><div><br></div><div>I've got FleepGrid running 0.7.0.2 on WinXP in grid mode at home, the only other difference is that FleepGrid is all on a single physical machine, and the campus grid is running on two separate virtual machines. This is the first time I've tried setting up a grid where the grid services are on a different (virtual) machine than the simulators. At the moment, I am just trying to get everything working properly on the university's internal network.</div>
<div><br></div><div>This morning when I first installed everything, it seemed to go fine. I successfully created a user "Fleep Tuque" through ROBUST console. I added the first region "University of Cincinnati" to the region.ini file. I logged in. All seemed well. I rezzed a prim, stored in inventory, attached to head to test attachment points. Still good, I see everything coming through on the console. I upload an OAR file with our campus build in progress, still all good - everything seems to load properly, it looks right in-world. I'm thinking yay, all good at least on the internal network.</div>
<div><br></div><div>I go away for a few hours. Come back, create some new accounts on the ROBUST console to get my staff all set up, and then try to login myself and get this on the ROBUST console:</div><div><br></div><div>
<div>10:59:51 - [GRID HANDLER]: Exception System.NullReferenceException: Object refer</div><div>ence not set to an instance of an object.</div><div>11:01:33 - [LLOGIN SERVICE]: Login request for Fleep Tuque from 10.24.146.106 wi</div>
<div>th user agent Imprudence 1.3.0 / Second Life 1.23.5.136262 starting in last</div><div>11:01:33 - [LLOGIN SERVICE]: Login failed, reason: user not found</div></div><div><br></div><div>Things I've tried so far:</div>
<div><br></div><div>1. Shutting down opensim and ROBUST and restarting. No love.</div><div><br></div><div>2. Double checking the database connection string in PRIM STORAGE section opensim.ini<br><br></div><div><div>storage_plugin="OpenSim.Data.MySQL.dll"</div>
<div> storage_connection_string="Data Source=10.23.23.148;Database=opensim;User ID=opensim;Password=MYPASSWORD;"</div></div><div><br></div><div>3. Changing the URLs in gridcommon.ini to IP addresses instead of FQDN (one example, they all say the same thing):</div>
<div><br></div><div>WAS </div><div><br></div><div><div>[UserAccountService]</div><div> ;</div><div> ; change this to your grid-wide user accounts server</div><div> ;</div><div> UserAccountServerURI = "<a href="http://ucsim.uc.edu:8003" target="_blank">http://ucsim.uc.edu:8003</a>"</div>
</div><div><br></div><div>NOW</div><div><br></div><div><div>[UserAccountService]</div><div> ;</div><div> ; change this to your grid-wide user accounts server</div><div> ;</div><div> UserAccountServerURI = "<a href="http://10.23.23.148:8003" target="_blank">http://10.23.23.148:8003</a>" <--- Machine where ROBUST and MySQL are running</div>
</div><div><br></div><div><br></div><div>Still no luck. So my questions are:</div><div><br></div><div>1. What does this error mean: 11:24:24 - [GRID HANDLER]: Exception System.NullReferenceException: Object refer</div>
<div>ence not set to an instance of an object.</div><div><br></div><div>2. Why is ROBUST not seeing that the user exists in the database?</div><div><br></div><div>3. Why was I successfully able to login initially but not now? What changed? (That is, I'm pretty sure I didn't change anything between my last successful login and my first unsuccessful login.)</div>
<div><br></div><div><br></div><div>Any help much appreciated!</div><div><br></div><div>Sincerely,</div><div><br></div><div>- Chris/Fleep</div><div><br></div><div><br></div><div><br></div><div>Chris M. Collins (SL: Fleep Tuque)</div>
<div>Project Manager, UC Second Life </div><div>Second Life Ambassador, Ohio Learning Network </div><div>UCit Instructional & Research Computing</div><div>University of Cincinnati </div><div>406E Zimmer Hall</div><div>
PO Box 210088</div><div>Cincinnati, OH 45221-0088</div><div>(513)556-3018</div><div><a href="mailto:chris.collins@uc.edu" target="_blank">chris.collins@uc.edu</a></div><div><br></div><div>UC Second Life: <a href="http://homepages.uc.edu/secondlife" target="_blank">http://homepages.uc.edu/secondlife</a></div>
<div>OLN Second Life: <a href="http://www.oln.org/emerging_technologies/emtech.php" target="_blank">http://www.oln.org/emerging_technologies/emtech.php</a></div><div><br></div><div><br></div><div><br></div><div><br></div>
<div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>