Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007855opensim[GRID] Asset Servicepublic2016-03-22 09:312016-03-27 13:23
Reporterovlalan 
Assigned Tokcozens 
PriorityimmediateSeveritycrashReproducibilityalways
StatusassignedResolutionopen 
PlatformOSOS Version
Product Versionmaster (dev code) 
Target VersionFixed in Version 
Summary0007855: fsassets service not working in the dev code
DescriptionFSAssets service throws up errors when starting (Robust.log in additional infomation), but if you run assets in normal mode works correctly, have followed the wiki exactly and still errors, have spoken to plugh about it and he says it is a problem.
my current setup is split services and the assets or on a seperate server.
Steps To Reproduceset the config for fsassets and run robust.exe
Additional Information2016-03-21 04:00:28,523 INFO (1) - OpenSim.Framework.Servers.ServerBase [SERVER BASE]: Starting in /opt/opensim/bin
2016-03-21 04:00:28,561 INFO (1) - OpenSim.Framework.Servers.ServerBase [SERVER BASE]: OpenSimulator version: OpenSim 0.9.0.0 Dev
2016-03-21 04:00:28,562 INFO (1) - OpenSim.Framework.Servers.ServerBase [SERVER BASE]: Operating system version: Unix 3.13.0.79, .NET platform Unix, 64-bit
2016-03-21 04:00:28,570 INFO (1) - OpenSim.Framework.Servers.ServerBase [SERVER BASE]: Logging started to file /opt/opensim/bin/Robust.log
2016-03-21 04:00:29,094 INFO (1) - OpenSim.Framework.Servers.HttpServer.BaseHttpServer [BASE HTTP SERVER]: Starting HTTP server on port 8003
2016-03-21 04:00:29,161 DEBUG (1) - OpenSim.Framework.Monitoring.Watchdog [WATCHDOG]: Started tracking thread PollServiceWorkerThread 0:8003, ID 6
2016-03-21 04:00:29,163 DEBUG (1) - OpenSim.Framework.Monitoring.Watchdog [WATCHDOG]: Started tracking thread PollServiceWorkerThread 1:8003, ID 7
2016-03-21 04:00:29,167 DEBUG (1) - OpenSim.Framework.Monitoring.Watchdog [WATCHDOG]: Started tracking thread PollServiceWorkerThread 2:8003, ID 8
2016-03-21 04:00:29,168 DEBUG (1) - OpenSim.Framework.Monitoring.Watchdog [WATCHDOG]: Started tracking thread PollServiceWatcherThread:8003, ID 9
2016-03-21 04:00:29,172 INFO (1) - OpenSim.Server.OpenSimServer [SERVER]: Loading AssetServiceConnector on port 8003
2016-03-21 04:00:29,252 ERROR (1) - OpenSim.Server.Base.ServerUtils [SERVER UTILS]: Error loading plugin OpenSim.Services.Interfaces.IAssetService from OpenSim.Services.FSAssetService.dll. Exception: Connection must be valid and open. in SQL: create table migrations(name varchar(100), version int)
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Exception: Connection must be valid and open. in SQL: create table migrations(name varchar(100), version int)
  at OpenSim.Data.Migration.ExecuteScript (System.Data.Common.DbConnection conn, System.String[] script) [0x00000] in <filename unknown>:0
  at OpenSim.Data.Migration.ExecuteScript (System.Data.Common.DbConnection conn, System.String sql) [0x00000] in <filename unknown>:0
  at OpenSim.Data.Migration.ExecuteScript (System.String sql) [0x00000] in <filename unknown>:0
  at OpenSim.Data.Migration.InitMigrationsTable () [0x00000] in <filename unknown>:0
  at OpenSim.Data.Migration.Update () [0x00000] in <filename unknown>:0
  at OpenSim.Data.MySQL.MySQLFSAssetData.Initialise (System.String connect, System.String realm, Int32 UpdateAccessTime) [0x00000] in <filename unknown>:0
  at OpenSim.Services.FSAssetService.FSAssetConnector..ctor (IConfigSource config, System.String configName) [0x00000] in <filename unknown>:0
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
  at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0
  at System.Reflection.MonoCMethod.DoInvoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
  at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
  at System.Activator.CreateInstance (System.Type type, BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes) [0x00000] in <filename unknown>:0
  at System.Activator.CreateInstance (System.Type type, System.Object[] args, System.Object[] activationAttributes) [0x00000] in <filename unknown>:0
  at System.Activator.CreateInstance (System.Type type, System.Object[] args) [0x00000] in <filename unknown>:0
  at OpenSim.Server.Base.ServerUtils.LoadPlugin[IAssetService] (System.String dllName, System.String className, System.Object[] args) [0x00000] in <filename unknown>:0
2016-03-21 04:00:29,262 ERROR (1) - OpenSim.Server.Base.ServerUtils [SERVER UTILS]: Error loading plugin OpenSim.Services.FSAssetService.dll: Exception has been thrown by the target of an invocation. args.Length 2
2016-03-21 04:00:29,263 ERROR (1) - OpenSim.Server.Base.ServerUtils [SERVER UTILS]: Error loading plugin OpenSim.Server.Handlers.Base.IServiceConnector from OpenSim.Server.Handlers.dll. Exception: Failed to load AssetService from OpenSim.Services.FSAssetService.dll:FSAssetConnector; config is AssetService
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Exception: Failed to load AssetService from OpenSim.Services.FSAssetService.dll:FSAssetConnector; config is AssetService
  at OpenSim.Server.Handlers.Asset.AssetServiceConnector..ctor (IConfigSource config, IHttpServer server, System.String configName) [0x00000] in <filename unknown>:0
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
  at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0
  at System.Reflection.MonoCMethod.DoInvoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
  at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
  at System.Activator.CreateInstance (System.Type type, BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes) [0x00000] in <filename unknown>:0
  at System.Activator.CreateInstance (System.Type type, System.Object[] args, System.Object[] activationAttributes) [0x00000] in <filename unknown>:0
  at System.Activator.CreateInstance (System.Type type, System.Object[] args) [0x00000] in <filename unknown>:0
  at OpenSim.Server.Base.ServerUtils.LoadPlugin[IServiceConnector] (System.String dllName, System.String className, System.Object[] args) [0x00000] in <filename unknown>:0
2016-03-21 04:00:29,265 ERROR (1) - OpenSim.Server.Base.ServerUtils [SERVER UTILS]: Error loading plugin OpenSim.Server.Handlers.dll: Exception has been thrown by the target of an invocation. args.Length 3
2016-03-21 04:00:29,267 ERROR (1) - OpenSim.Server.Base.ServerUtils [SERVER UTILS]: Error loading plugin OpenSim.Server.Handlers.dll: No constructor found for OpenSim.Server.Handlers.Asset.AssetServiceConnector::.ctor(Nini.Config.IniConfigSource, OpenSim.Framework.Servers.HttpServer.BaseHttpServer) args.Length 2
2016-03-21 04:00:29,268 ERROR (1) - OpenSim.Server.OpenSimServer [SERVER]: Failed to load OpenSim.Server.Handlers.dll:AssetServiceConnector
2016-03-21 04:00:36,417 INFO (1) - OpenSim.Server.Base.ServicesServerBase [CONSOLE] Quitting

TagsNo tags attached.
Git Revision or version number0.9.0 dev latest git from opensimulator.org
Run Mode Grid (1 Region per Sim)
Physics EngineBasicPhysics
Script Engine
EnvironmentMono / Linux64
Mono Version3.2
Viewer
Attached Files

- Relationships

-  Notes
(0030092)
ovlalan (reporter)
2016-03-22 10:38

ok there is one part fixed on my server thanks to plugh you need to add conn.Open(); in the OpenSim/Data/MySQL/MySQLFSAssetData.cs after line 77 before line 78
(0030094)
ovlalan (reporter)
2016-03-22 10:55

and another one from plugh changing line 154 from
cmd.CommandText = String.Format("select id, name, description, type, hash, create_time, asset_flags from {0} where id = ?id", m_Table);
to
cmd.CommandText = String.Format("select id, name, description, type, hash, create_time, asset_flags, access_time from {0} where id = ?id", m_Table);
(0030120)
kcozens (administrator)
2016-03-27 13:23

The two changes have been applied to git master.

commit 73e527fffc6c7a9241ec6a29963a54e085ff0c98
Author: Melanie Thielker <melanie@t-data.com>
Date: Tue Mar 22 20:01:22 2016 +0100

    Fix some artefacts that came from merging the OSGrid code.

- Issue History
Date Modified Username Field Change
2016-03-22 09:31 ovlalan New Issue
2016-03-22 10:38 ovlalan Note Added: 0030092
2016-03-22 10:55 ovlalan Note Added: 0030094
2016-03-22 10:59 kcozens Assigned To => kcozens
2016-03-22 10:59 kcozens Status new => assigned
2016-03-27 13:23 kcozens Note Added: 0030120


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker