Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007670opensim[REGION] OpenSim Corepublic2015-08-05 02:262017-04-14 06:00
Reporterdjphil 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformPCOSWindowsOS VersionSeven
Product Version 
Target VersionFixed in Version 
Summary0007670: [RADMIN] admin_create_user is broken
DescriptionWith OpenSim v0.8.1.1, radmin command "admin_create_user" return this error :

11:21:20 - [RADMIN]: Method admin_create_user failed. Exception failed to creat
e new user Ruth OpenSim à OpenSim.ApplicationPlugins.RemoteController.RemoteAd
minPlugin.XmlRpcCreateUserMethod(XmlRpcRequest request, XmlRpcResponse response,
 IPEndPoint remoteClient) dans k:\OSGRID\opensim-43c8e23\OpenSim\ApplicationPlug
ins\RemoteController\RemoteAdminPlugin.cs:ligne 1054
   à OpenSim.ApplicationPlugins.RemoteController.RemoteAdminPlugin.InvokeXmlRpcM
ethod(XmlRpcRequest request, IPEndPoint remoteClient, Action`3 method) dans k:\O
SGRID\opensim-43c8e23\OpenSim\ApplicationPlugins\RemoteController\RemoteAdminPlu
gin.cs:ligne 231
Steps To ReproduceTested with the basic php exemple here :
http://opensimulator.org/wiki/RemoteAdmin:RemoteAdmin_Examples [^]
TagsNo tags attached.
Git Revision or version number
Run Mode Grid (Multiple Regions per Sim)
Physics EngineBulletSim
Script Engine
Environment.NET / Windows32
Mono VersionNone
ViewerFirestorm, Singularity
Attached Files

- Relationships

-  Notes
(0030048)
djphil (reporter)
2016-02-20 19:56

It also seems broken in OpenSim v0.9.x with this error:

04:52:50 - [RADMIN]: CreateUser: new request
04:52:51 - [RADMIN]: Account creation failed for account tester2016 tester2016
04:52:51 - [RADMIN]: Method admin_create_user failed. Exception failed to creat
e new user tester2016 tester2016 à OpenSim.ApplicationPlugins.RemoteController
.RemoteAdminPlugin.XmlRpcCreateUserMethod(XmlRpcRequest request, XmlRpcResponse
response, IPEndPoint remoteClient) dans k:\OSGRID\opensim-0.9.0-245-gddd59fa\Ope
nSim\ApplicationPlugins\RemoteController\RemoteAdminPlugin.cs:ligne 1187
   à OpenSim.ApplicationPlugins.RemoteController.RemoteAdminPlugin.InvokeXmlRpcM
ethod(XmlRpcRequest request, IPEndPoint remoteClient, Action`3 method) dans k:\O
SGRID\opensim-0.9.0-245-gddd59fa\OpenSim\ApplicationPlugins\RemoteController\Rem
oteAdminPlugin.cs:ligne 239
(0031054)
triplehx3 (reporter)
2016-08-23 10:29

Tested this wih git 67a853 setup as Standalone

Added:
[RemoteAdmin]
enabled = true
access_password = secret
enabled_methods = all

to OpenSim.ini and used https://github.com/MarcelEdward/OpenSim-RemoteAdmin [^]

All remote admin functions appear to be functioning normally
(0031055)
melanie (administrator)
2016-08-23 10:32

This is only supposed to work in standalone. For grids there is a recent patch by Cinder that allows sending remote admin requests to ROBUST, which is the proper way to do this in grid more.
(0031657)
djphil (reporter)
2017-03-22 16:03
edited on: 2017-03-22 18:58

@triplehx3: About your Remote Admin php script
1) I try it with current opensim dev code in standalone mode
Tested with admin_broadcast command
The command work but the page return no resut and remain on loading
(I have the same probleme with my personnal Remote Admin php script)

2) If i try it with current opensim dev code in grid mode
Tested with admin_broadcast command
The command work and the page return resut and loading proprely

@melanie: About the recent Cinder patch, it requiere additionnal settings in Robust.ini ?

(0031749)
djphil (reporter)
2017-04-14 02:00

I found additional information about this problem.

"
Note: This script does not appear to work with because it does not contain a string. The class needs to be edited to pass it as a number or edit the source to convert the string to an unsigned int.
"

Source: http://opensimulator.org/wiki/RemoteAdmin:RemoteAdmin_Examples [^]
(0031750)
djphil (reporter)
2017-04-14 06:00
edited on: 2017-04-14 06:01

New test repport:
- Tested with opensim master (2017-04-14) in STANDALONE mode
http://opensimulator.org/viewgit/?a=commit&p=opensim&h=22e9647748f0ca5b5bcd0c31667d2d5f263715bc [^]
- OS : Windows 7 (32bits)
- .NET Framework : 4.6.2
- Tested with personnal modified RemoteAdmin Class

[RADMIN]: Account tester1 tester1 created successfully

Finally i get it work !!! :)
With the exception of one thing, he can not set home region

[RADMIN]: Unable to set home region for newly created user account tester1 tester1

Do you have a suggestion to solve this small remaining problem?


- Issue History
Date Modified Username Field Change
2015-08-05 02:26 djphil New Issue
2016-02-20 19:56 djphil Note Added: 0030048
2016-08-23 10:29 triplehx3 Note Added: 0031054
2016-08-23 10:32 melanie Note Added: 0031055
2017-03-22 16:03 djphil Note Added: 0031657
2017-03-22 16:03 djphil Note Edited: 0031657 View Revisions
2017-03-22 18:58 djphil Note Edited: 0031657 View Revisions
2017-04-14 02:00 djphil Note Added: 0031749
2017-04-14 06:00 djphil Note Added: 0031750
2017-04-14 06:00 djphil Note Edited: 0031750 View Revisions
2017-04-14 06:01 djphil Note Edited: 0031750 View Revisions


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker