jOpenSimWorld

Grid Status: Online
Total Regions: 23
Visitors (30 Days): 12
Total Residents: 485
Online Now: 0
Hypergriders online: 0

Can't get jOpenSim to connect to opensim

12 years 2 weeks ago #1376 by guardian2012
Hi there,

For some reason I can't get jopensim to connect to my opensim instance.

I can connect to opensim fine from inside or outside of my LAN.

jopensim is installed on the same server as opensim, using mysql on Linux.


I have tried both "localhost" and my domain name in the database config, but still jopensim says my grid is offline. I have added the profile module in standalonecommon.ini

Please Log in or Create an account to join the conversation.

12 years 2 weeks ago #1377 by DJ Devil
Hi there guardian.
You Also need the presence in your StandaloneCommon.ini the profile has nothing to do with the awareness of JopenSim detecting the Status of OpenSim do you have this in your StandaloneCommon.ini?
[PresenceService]
LocalServiceModule = "OpenSim.Services.PresenceService.dll:PresenceService"
StorageProvider = "OpenSim.Data.MySQL.dll"
ConnectionString = "Data Source=localhost;Database=dbname;User ID=dbuser;Password=dbpassword;"

Greetz

Please Log in or Create an account to join the conversation.

12 years 2 weeks ago #1379 by guardian2012
Yes, I have that in the StandaloneCommon.ini

Please Log in or Create an account to join the conversation.

12 years 2 weeks ago #1380 by DJ Devil
can you see anything in the error logs? if it is a mysql error it should give you a line like this
Access denied for user root@localhost using password (Yes)

Please Log in or Create an account to join the conversation.

12 years 2 weeks ago #1381 by guardian2012
No, everything appears fine:


176 Init DB opensim
176 Query SELECT regions.* FROM regions ORDER BY locY ASC, locX ASC
176 Query SELECT COUNT(*) FROM regions
176 Query SELECT COUNT(*) FROM Presence WHERE RegionID != '00000000-0000-0000-0000-000000000000'
176 Query SELECT COUNT(*) FROM GridUser WHERE Login > '1320743246' OR Logout > '1320743246'
176 Query SELECT regions.* FROM regions ORDER BY locY ASC, locX ASC

Please Log in or Create an account to join the conversation.

12 years 2 weeks ago #1382 by guardian2012
Actually... as I was about to disable logging, I found this:

"Table \'opensim.regions\' doesn\'t exist"

and sure enough when I show tables I get:

+
+
| Tables_in_opensim |
+
+
| Avatars |
| Friends |
| GridUser |
| Presence |
| UserAccounts |
| assets |
| auth |
| estate_groups |
| estate_managers |
| estate_map |
| estate_settings |
| estate_users |
| estateban |
| inventoryfolders |
| inventoryitems |
| land |
| landaccesslist |
| migrations |
| primitems |
| prims |
| primshapes |
| regionban |
| regionenvironment |
| regionsettings |
| regionwindlight |
| spawn_points |
| terrain |
| tokens |
+
+

why would this be missing?

Please Log in or Create an account to join the conversation.

12 years 2 weeks ago #1383 by foto50
Hi guardian

This is caused by the default settings of standalone in your StandaloneCommon.ini under section [GridService]:

by default you have:
StorageProvider = "OpenSim.Data.Null.dll:NullRegionData"
but for jOpenSim you need:
StorageProvider = "OpenSim.Data.MySQL.dll:MySqlRegionData"

... also I can see that you miss the table "Presence" which is also required for jOpenSim to work. To let OpenSim create this table, you need to add following lines in your StandaloneCommon.ini:
[PresenceService]
LocalServiceModule = "OpenSim.Services.PresenceService.dll:PresenceService"
StorageProvider = "OpenSim.Data.MySQL.dll"
ConnectionString = "Data Source=localhost;Database=dbname;User ID=dbuser;Password=dbpassword;"

Of course replace dbname etc with your own values ;)

Greetz
FoTo50

Please Log in or Create an account to join the conversation.

12 years 2 weeks ago #1384 by guardian2012
Thanks foto50!

I already had the presence config, but changing the storage provider in the gridservice section fixed my issue. Perhaps put this in the installation pdf?

I haven't had much of a play yet, but please please keep up the good work! I've been looking for a decent web interface for opensim and all the common ones haven't had any updates in over a year!

Thanks for your help, and good luck for the future!

Please Log in or Create an account to join the conversation.

Time to create page: 0.126 seconds

Search

Donate jOpenSim

Please consider supporting our efforts.

Amount

Our Regions

Region: Loc X: Loc Y:
Agora 1000 998
BareBad… 997 997
Bohemas 996 998
BoraBor… 1002 999
Crystal… 1001 1000
DeepTho… 1005 998
FoToSan… 999 995
jCity 1001 997
jOpenWe… 1000 999
JuniorT… 1002 1001
Kanadah… 1002 1000
LindaKe… 1000 997
LittleC… 996 997
MonteSc… 1001 1001
Naos 999 999
Pangaea 1005 1003
RiverSi… 999 1000
Sakani 999 998
Snambin 1001 998
Tartola 997 998
ViewerH… 1002 998
WaterWo… 1001 999
WilderK… 1000 1000

jOpenSimWorld

Grid Status: Online
Total Regions: 23
Visitors (30 Days): 12
Total Residents: 485
Online Now: 0
Hypergriders online: 0