Re: [Opensim-users] OpenSim.Data.MySQL....
Hello, Thank-you Melanie, your reply helped me to solve the issue. One needs to remember that the Example files can and sometime do contain errors. Things are working well now. In the Robust.HG.ini.Example file included in the current build, this section [AuthenticationService] ; for the server connector LocalServiceModule = OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService ; Realm = useraccounts Realm is wrong... it should be Auth and NOT useraccounts. it should look like: [AuthenticationService] ; for the server connector LocalServiceModule = OpenSim.Services.AuthenticationService.dll:PasswordAuthenticationService Realm = auth On 6/27/2014 5:05 PM, Melanie wrote: The AuthenticationData refers to a table named auth, NOT UserAccounts. The code is good as it is, you have something misconfigured. - Melanie On 27/06/2014 22:54, BoneZ wrote: Hi all, I have a grid configured for hypergrid... Once robust is running I try to create a new user and I get: OpenSim.Server.Base.ServicesServerBase Command error: MySql.Data.MySqlClient.MySqlException (0x80004005): Unknown column 'UUID' in 'where clause' In the OpenSim.Data.MySQL project there is a file... MySQLAuthenticationData.cs On line 85: using (MySqlCommand cmd = new MySqlCommand(select * from ` + m_Realm + ` where UUID = ?principalID, dbcon)) Is this an error?? the m_Realm variable seems to be assigned useraccounts and this query seems to be looking for the column UUID in the table... but it does not exist. I've changed it to: using (MySqlCommand cmd = new MySqlCommand(select * from ` + m_Realm + ` where `PrincipalID` = ?principalID, dbcon)) That seems to have satisfied it for another step.. but now AuthenticationServiceBase.cs in the OpenSim.Services.AuthenticationService project is throwing: OpenSim.Server.Base.ServicesServerBase Command error: MySql.Data.MySqlClient.MySqlException (0x80004005): Parameter '?principalID' has already been defined. I've been chasing this for some time now and wanted to see if anyone else can lend an eye?? Thanks. ___ Opensim-users mailing list Opensim-users@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users ___ Opensim-users mailing list Opensim-users@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users ___ Opensim-users mailing list Opensim-users@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
[Opensim-users] Looking for a bit of help....
Hello Everyone, I'm hoping someone might provide a bit of assistance here. Here's what I have: OpenSim 8.1Dev running in grid/hypergrid mode. Things work well.. no issues at all.. I'm able to hypergrid in and out.. no issues. Here's what I'm trying to do: I have create 3 separate instances of Robust running on 3 different sets of ports.. for now, all are on the same machine but I want to move each robust instance to a separate machine and use nginx to forward requests from ports 8002 and 8003 to the correct machine and ports based on least number of connections. Robust1 uses ports 8012 and 8013 Robust2 uses ports 8022 and 8023 Robust3 uses ports 8032 and 8033 I have setup nginx and all seems to work well with a direct login to my grid using the forward facing ports in nginx and I can hypergrid out to other grids and hypergrid back. The problem comes when use a direct login on another grid and try to hypergrid out to my grid... I get a TP error saying it was unable to verify my identity. If I open the map on the other grid and search for my grid/region using: mygrid.mydomain.com:8002:myregion I can find my region, but when trying to tp there I get the error mentioned above. I can tp from that grid if I go around my nginx setup using one of the ports from the 3 running robust instances directly so I'm thinking my problem is in my nginx setup. My nginx config file includes (ip address is a dummy address for this post): http { upstream backendservers { least_conn; server 111.111.111.111:8012max_fails=3 fail_timeout=5s; server 111.111.111.111:8022max_fails=3 fail_timeout=5s; server 111.111.111.111:8032max_fails=3 fail_timeout=5s; } server { listen 8002; location / { proxy_set_header X-Real-IP $http_x_forwarded_for; proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header Host $http_host; proxy_set_header X-NginX-Proxy true; proxy_pass http://backendservers; proxy_redirect off; } } } http { upstream backendservers { least_conn; server 111.111.111.111:8013max_fails=3 fail_timeout=5s; server 111.111.111.111:8023max_fails=3 fail_timeout=5s; server 111.111.111.111:8033max_fails=3 fail_timeout=5s; } server { listen 8003; location / { proxy_set_header X-Real-IP $http_x_forwarded_for; proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header Host $http_host; proxy_set_header X-NginX-Proxy true; proxy_pass http://backendservers; proxy_redirect off; } } Any ideas what I'm doing wrong with the nginx setup?? Thank-you. ___ Opensim-users mailing list Opensim-users@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
Re: [Opensim-users] Export Permissions...
Thank you for the information. I will try this. On 1/10/2015 5:02 PM, Melanie wrote: Not quite true. Being that someone, I can say that with authority. :) Server support exists for export permissions for all simple items and all prims rezzed in world. This means, you can set the export permission on things like clothing in your inventory, but you can not set the export permission for prims there. Prims have to be rezzed, the permission set and then taken back. Also, export permission on simple objects can not be changed in prim inventory, only in user inventory. Within these restrictions, it works. Only recent Singularity has the code for this. In OpenSim, support needs to be announced to the viewer by using sim features. under [SimulatorFeatures], set ExportSupported=true Sorry there is no real documentation on the feature yet but these steps should make it work for you. - Melanie On 10/01/2015 19:12, Shaun T. Erickson wrote: Regardless of whether any viewers support having the check box, the server doesn't support it, as it's not fully implemented. Someone started it and then never finished it. -ste On 1/10/15 12:57 PM, BoneZ wrote: Hello, I'm wondering if someone can give me an idea on how to get the prim Export function to work? I want to be able to check the export box to allow a prim to be exported from my grid, but I cannot seem to find the correct combination of settings and viewers to make this work. I think based on what I've read.. only certain viewers support it? Which viewer is known to work with the current release of opensim? How to I enable it? Is it to be done in the Robust settings? Or in the region settings? ___ Opensim-users mailing list Opensim-users@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users ___ Opensim-users mailing list Opensim-users@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users ___ Opensim-users mailing list Opensim-users@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
[Opensim-users] multiple robust instances...
Hello, I'm wanting to experiment with using multiple robust instances behind nginx speaking to a single mysql database. Can anyone give me an example Robust.HG.ini file which would allow this and still do hypergrid without issues? I have nginx accepting connections on ports 8002 and 8003 and directing them to each of the robust instances (running ports 8012,8013 and 8022,8023) in a round robin setup. I have not split up my services, they are all still running on each instance of robust. I can't seem to get the configs setup correctly to keep hypergrid working as it should and I'm wondering if someone has a similar working setup which they could share the robust settings? Thanks. ___ Opensim-users mailing list Opensim-users@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
Re: [Opensim-users] Script engine issue [listeners]
Hi Karl, I think since your xengine status results show you are only using 2 threads.. I'm not sure it would do you any good to increase max threads. ~Butch On 6/1/2015 12:53 PM, Karl Dreyer wrote: This dump is after the issue presents itself and it's not showing any scripts waiting for load. That's what is really strange. They all work perfectly for an underterminate amount of time then, a random subset of them just stop. I will point out that when I adjusted the max_listens_per_script max_listens_per_region, I adjusted the ini files for a different region (smacks myself in the head) so I just finished adjusting the correct files and am not restarting the simulator. We'll see if that takes care of it. Also, what's the word on increasing the MaxThreads setting from 100 to lets say 300 ... Could that setting be imposing some sort of limitation and would adjusting it up cause any unexpected negative side effects? Kind Regards, Karl Hi Karl, When this stops working, can you check the xengine status in the console? I see the results you have included here, but is this before or after the communication stops? We had a similar issue back in December on 3rd Rock Grid and when things stopped working, checking the xengine status would always show scripts waiting for load. Can you see if this is the case for you? When this stops working does xengine status show scripts waiting for load? If so, I can share the steps we took to correct our issues which might work for you as well. Additionally, which version of opensim are you running? ~Butch On 6/1/2015 11:35 AM, Karl Dreyer wrote: Hello everyone... I have a member that is experiencing a strange issue. He has server and client modules (in world prims using llRegionSay llRegionSayTo to communicate commands to client prims). When the simulator is restarted, all works properly as expected BUT then, after what seems to be a random length of time it seems that communcations on the sim cease to function. i.e. It's almost as if the llRegionSay llRegionSayTo cease to work properly. the client prims aren't receiving the messages from the servers. What makes this even more strange is that it doesn't happen with all of them and the prims being effected is random.. in other words, an hour after the sim is restarted (for example) a subset of the servers are failing to properly send messages but the subset of scripts effected seems to be different each time. I have had my resident go through and confirm that channel settings are set correctly and that there is no channel confusion or conflicts ... the scripts themselves seem to be OK. I also had him test this system on a blank sim or a sim with considerably less scripts and the system works flawlessly. My first thought was that there was an issue with the listeners in the receiving prims and we're hitting some sort of imposed limit to the number of listeners or listener events allowed on a region. I found in the OpenSimDefaults.ini file that there is in fact a max_listens_per_region setting and a max_listens_per_script setting. My first inclination was that he was hitting one of these limits so, I modified these settings to 0 so that the system would not impose any limits and unfortunately, this did not fix the issue. Is there somewhere else in the ini files or hardcoded in the simulator code itself where a limitation is being set? If not, what else could be causing this behavior? Below is a dump of some of the relevant statistics for the region in question. Any assistance would be greatly appreciated. CONNECTION STATISTICS Client logouts due to no data receive timeout: 0 SAMPLE FRAME STATISTICS Dilatn SimFPS PhyFPS AgntUp RootAg ChldAg Prims AtvPrm AtvScr ScrLPS 1.00 54 53.8 0.0 0 0 6623 0 1760 5 PktsIn PktOut PendDl PendUl UnackB TotlFt NetFt PhysFt OthrFt AgntFt ImgsFt 15 24 0 0 0 19.1 0.0 0.0 0.0 0.0 0.0 MEMORY STATISTICS Heap allocated to OpenSim : 645 MB Last heap allocation rate : 0.323 MB/s Average heap allocation rate: 0.202 MB/s Process memory : 1270 MB Status of XEngine instance Scripts loaded : 1760 Scripts waiting for load : 0 Max threads : 100 Min threads : 2 Allocated threads : 12 In use threads : 2 Work items waiting : 0 Events queued : 0 Events processed : 214185 Sensors : 8 Dataserver requests : 0 Timers : 46 Listeners : 61 ___ Opensim-users mailing list Opensim-users@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users ___ Opensim-users mailing list Opensim-users@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users ___ Karl M. Dreyer Jr. In World Avi : Damean Paolino Island Oasis, LLC Co-Founder | CIO http://www.islandoasis.biz Notice: The contents of this email and any files transmitted with it are
Re: [Opensim-users] Region/Parcel Access?
Hello, Thank you for the reply Luisillo, I should have been more clear. Here's my criteria: - The region is currently set to a rating of Adult. - The user entering the region has the viewer set for PG only - The user entering the region is not a god - The user entering the region is not in any group allowed access to the region - The user is not an estate manager for the estate the region is in. - The user is not the owner of any land (parcel) found on that region. - The region has no estate managers except the owner - The land (One large parcel consisting of the entire region) is not set to or owned by any group. - The region is a standard 256 x 256 region Thanks. On 7/19/2015 2:05 PM, Luisillo Contepomi wrote: Is your region?. If answer yes, you are the owner then you can enter always. You are the admin for this region. Regards, Luisillo El 19/07/2015 a las 19:56, BoneZ escribió: Hi All, Is there something I need to set in the configurations in order for the viewer to respect the region rating? I currently have a region rated as ADULT and my viewer is set for PG only, but my viewer still lets me enter this region. I cannot find any settings pertaining to this in the config files. Is this feature not yet implemented? Thank you. ___ Opensim-users mailing list Opensim-users@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users ___ Opensim-users mailing list Opensim-users@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users ___ Opensim-users mailing list Opensim-users@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users
[Opensim-users] Region/Parcel Access?
Hi All, Is there something I need to set in the configurations in order for the viewer to respect the region rating? I currently have a region rated as ADULT and my viewer is set for PG only, but my viewer still lets me enter this region. I cannot find any settings pertaining to this in the config files. Is this feature not yet implemented? Thank you. ___ Opensim-users mailing list Opensim-users@opensimulator.org http://opensimulator.org/cgi-bin/mailman/listinfo/opensim-users