IslandzVW / halcyon

InWorldz Halcyon 3d virtual reality world simulator
BSD 3-Clause "New" or "Revised" License
21 stars 26 forks source link

Cannot Run Server + Errors #232

Closed Ramius1701 closed 6 years ago

Ramius1701 commented 8 years ago

Greetings, as i am not sure what i am doing wrong here with getting Halcyon to work. I have compiled and successfully run OpenSim and WhiteCore with no problems. I have been attempting to get this to run for over two weeks.

Windows 10, standalone, 127.0.0.1

So i started by downloading the latest master of Halcyon and compiled successfully (in 64Bit)

Downloaded the whip-win64-bin.zip and setup the whip.cfg file and the image below shows what happens

image 1

Next i did the halcyon.ini file, i only changed the ip address and setup the mysql information, and changed the whip url

I did the hc-database.exe --init --type core -h database_host -u database_username -p password (with correct mysql information) and verified tables were created in the mysql database

Then opps errors and Halcyon closes,

07:44:15 - [HALCYON MAIN]: configured log4net using default Halcyon.exe.config 07:44:15 - Performing compatibility checks... 07:44:15 - Environment is compatible.

07:44:16 - [CONFIG] Reading configuration settings 07:44:16 - [CONFIG] Reading configuration file D:\Servers\Halcyon\halcyon-master\bin\Halcyon.ini 07:44:16 - [STARTUP]: Beginning startup processing 07:44:16 - ==================================================================== 07:44:16 - ========================= STARTING HALCYON ========================= 07:44:16 - ==================================================================== 07:44:16 - [HALCYON MAIN]: Running in sandbox mode 07:44:16 - GC: Server mode: False, Interactive 07:44:16 - [DATASTORE]: Attempting to load OpenSim.Data.MySQL.dll 07:44:16 - [DATASTORE]: Added IRegionDataStore Interface 07:44:16 - [CLIENTSTACK]: Attempting to load OpenSim.Region.ClientStack.LindenUDP.dll 07:44:16 - [CLIENTSTACK]: Added IClientNetworkServer Interface 07:44:16 - [HALCYONBASE] Attempting to load asset server id=WHIP 07:44:16 - [PLUGINS]: Initializing addin manager 07:44:16 - [PLUGINS]: Loading extension point /OpenSim/AssetClient 07:44:16 - [APPLICATION]: APPLICATION EXCEPTION DETECTED: System.UnhandledExceptionEventArgs

Exception: System.Exception: Asset server WHIP could not be loaded at OpenSim.OpenSimBase.InitializeAssetCache() at OpenSim.Region.ClientStack.RegionApplicationBase.StartupSpecific() at OpenSim.OpenSimBase.StartupSpecific() at OpenSim.OpenSim.StartupSpecific() at OpenSim.Framework.Servers.BaseOpenSimServer.Startup() at OpenSim.Application.Main(String[] args)

Application is terminating: True

Unhandled Exception: System.Exception: Asset server WHIP could not be loaded at OpenSim.OpenSimBase.InitializeAssetCache() at OpenSim.Region.ClientStack.RegionApplicationBase.StartupSpecific() at OpenSim.OpenSimBase.StartupSpecific() at OpenSim.OpenSim.StartupSpecific() at OpenSim.Framework.Servers.BaseOpenSimServer.Startup() at OpenSim.Application.Main(String[] args)


I have consulted the wiki and the information is very limited for Halcyon and none for Whip.

mdickson commented 8 years ago

Looks like you're region server isn't able to connect to Whip. There are a couple of things to set in Halcyon.ini to make that work,

Firstly: In the storage section: ; ## ; ## STORAGE ; ##

Make sure that you have:

asset_database = "whip"

You'll also need a connect string for it in 2 sections depending on if you're running Standalone or Grid mode:

For Standalone for example:

[StandAlone] accounts_authenticate = false welcome_message = "Welcome to Mike's Test Grid"

asset_source = "whip://inworldz@localhost:32700"

Where the connection tag and port should match your settings in whip.cfg.

For Grid mode:

[Network] http_listener_port = 9000 default_location_x = 1000 default_location_y = 1000

asset_server_url = "whip://inworldz@localhost:32700"

Note these are just snippets of the file and mine isn't formatted exactly this way. I just wanted to show examples of the additional info you need for whip to work.

Note I have both the standalone and grid mode configs set in mine. So I can switch back and forth.

There's is definitely room for improvement in terms of getting this sort of this set up. Good luck and if you need more help please ask.

Ramius1701 commented 8 years ago

I have set those options in the Halcyon.ini file as well, so they match with the exception on using inworldz as the password. So i followed your example laid out here and still get the same message

mdickson commented 8 years ago

Ok, lets check your whip config then.. Note the "password" matches what is set in my Halcyon.ini file as does the port. This is configured as a single node. You can get fancy and run it clustered but the config I shared is just a personal, development build for me.

This file is whip.cfg in my whip runtime directory:

password = inworldz port = 32700 cache_enabled = 1 cache_size = 100 disk_storage_backend = vfs disk_storage_root=D:\mdickson\Documents\Projects\InWorldz\whip-win64-bin\assets migration = file_to_vfs allow_purge = 1 debug = 1 intramesh_peers = none intramesh_port = 32701 is_writable = 1 replication_master = none

Ramius1701 commented 8 years ago

The default for the whip.cfg i have is

port=32700 password=inworldz cache_enabled=0 cache_size=0 disk_storage_backend=VFS disk_storage_root=C:\Projects\InWorldz\whip\assets debug=1 is_writable=1

I will add the stuff you have posted and give it another go

Ramius1701 commented 8 years ago

Although now i am getting activity from the Whip asset server

[2016-Jun-11 09:26:01] STATS Requests/sec: 0, Data Rate: 0kB/sec STATS #Requests: 0(0/sec), Positive Req: 0, Data Rate: 0kB/sec [2016-Jun-11 09:26:06] STATS Requests/sec: 0, Data Rate: 0kB/sec STATS #Requests: 0(0/sec), Positive Req: 0, Data Rate: 0kB/sec

This just keeps repeating

mdickson commented 8 years ago

yep that's the debug setting. You'll be able to see the region server connect this way when its working.

Where did you get the server bits? Are you running a binary download or did you check out and build from sources? Is there an:

$ ls *.dll | grep hip InWorldz.Whip.Client.dll

In the bin directory? Maybe it's the DLL failing to load for some reason.

Ramius1701 commented 8 years ago

I downloaded the binary. In the bin directory i do see a InWorldz.Whip.Client.dll 18kb

mdickson commented 8 years ago

Assuming you mean the binary for the region server and not for whip then I'm not sure what might be up. I've always checked out the source tree and built and run from sources. I'm sorry this is turning out to be such an ordeal to get running. I'll see if I can get Jim to comment since he put the binary builds up for download.

Ramius1701 commented 8 years ago

I downloaded the whip-win64-bin.zip from github and i downloaded the latest Halcyon master zip and compiled with Visual Studio Community Edition 2015 with no errors.

I did download the source for the Whip server but i didnt know how to compile it that way on windows

mdickson commented 8 years ago

I do use the whip binary. But I usually check out and build the server using git. It's possible something got missed in the zip you downloaded. If you're willing I'd try git cloning the repo and build from that. Jim puts up the zip's so I'll see if he can't weigh in on how to get them working.

appurist commented 8 years ago

Everything looks good in what you have specified above. But the error indicates that the server cannot connect with the WHIP server. That means it is trying, and my best guess here is that you have updated the password for one of the two entries in the halcyon.ini file but not the other. Or since they have different names, maybe you copy/pasted the first to the second one? The big question here I think is what is in the halcyon.ini file rather than what is in the whip.cfg at this point.

First, are you running in grid mode or standalone? This is in the [Startup] group in halcyon.ini and is indicated in:

[Startup]
   gridmode = true

Or false for standalone mode.

If the whip.cfg file specifies a port of 32700 and you are running it on the same machine as the server, the URL would look like:

If standalone, the entry would look like: "whip://password@localhost:32700" Or of course 127.0.0.1 instead of localhost.

So on a standalone configuration, with the "inworldz" password, it would be

[Standalone]
     asset_source = "whip://inworldz@localhost:32700"

but on a gridmode configuation, with the "inworldz" password, it would be:

    asset_server_url = "whip://inworldz@localhost:32700"

Note that the key to the left of the '=' is different.

But on the InWorldz main grid, I don't think we use that one in [Network] anymore, and that may be true for you (all users) as well. Instead we use our "Project Stratus" entry, which provides us assets via either WHIP or Rackspace's Cloud Files (or both). In your case of WHIP only, I think the code still runs through there to get to WHIP, instead of ye olde [Network] section. So that is yet another whip: URL. And for WHIP-only, I believe that would look like this:

[InWorldz.Data.Assets.Stratus]
   CFSupport = false
   LegacySupport = true
   WriteTarget = "whip"
   WhipURL =  "whip://inworldz@localhost:32700"

Let me know whether you are starting with gridmode=true or not, and if you have the same URL for all three whip: URLs, and confirm the 3 different option keys on the left of the '=' for each.

Ideally I'd like to have something like a [WHIP] section with the URL there (and only there) and just have LegacySupport=true in the Stratus section, but it is what it is currently, a bit unoptimized, I think because it was coded with minimal changes for our new needs before we open-sourced.

Ramius1701 commented 8 years ago

The grid is running in standalone mode, i checked and verified all the entries and they are set to:

asset_source = "whip://inworldz@127.0.0.1:32700" asset_server_url = "whip://inworldz@127.0.0.1:32700"

and i added the last section to the bottom on the Halcyon.ini file since it didn't exist. All localhost entries are set to 127.0.0.1 as well as another other ip address specified. I even changed the setting for grid mode to true and still got the same message, so whether its running in grid mode or standalone still cannot find the whip asset server.

I have downloaded the latest released version as well and compiled with no errors, still same error

Ramius1701 commented 8 years ago

Went to debug the error after the crash and got this message:

An unhandled exception of type 'System.Exception' occurred in OpenSim.Base.dll

Additional information: Asset server WHIP could not be loaded

Dont know if this could help

appurist commented 8 years ago

What exactly is in your [InWorldz.Data.Assets.Stratus] section in the halcyon.ini file?

Also, what do you mean by "All localhost entries are set to 127.0.0.1 as well as another other ip address specified. " The URL only has one target machine / IP address. Specifically, what does it say for WhipURL in that Stratus section?

Ramius1701 commented 8 years ago

[InWorldz.Data.Assets.Stratus] CFSupport = false LegacySupport = true WriteTarget = "whip" WhipURL = "whip://inworldz@127.0.0.1:32700"

This was not in the original Halcyon.ini file, this was added after your last comment.

Ramius1701 commented 8 years ago

Here is the file Halcyon.ini file:

[Startup] ; Set this to true if you want to log crashes to disk ; this can be useful when submitting bug reports. save_crashes = false

; Directory to save crashes to if above is enabled
; (eg default is /opensimdir/crashes/*.txt or C:\opensim\crashes\*.txt)
crash_dir = "crashes"

; Place to create a PID file
; PIDFile = "/tmp/my.pid"

; Http proxy support for llHTTPRequest and dynamic texture loading
; Set HttpProxy to the URL for your proxy server if you would like
; to proxy llHTTPRequests through a firewall
; HttpProxy = "http://proxy.com"
; Set HttpProxyExceptions to a list of regular expressions for
; URLs that you don't want going through the proxy such as servers
; inside your firewall, separate patterns with a ';'
; HttpProxyExceptions = ".mydomain.com;localhost"

; Set this to true if you are connecting your Halcyon regions to a grid
; Set this to false if you are running Halcyon in standalone mode
gridmode = false

startup_console_commands_file = "startup_commands.txt"
shutdown_console_commands_file = "shutdown_commands.txt"

; To run a script every few minutes, set the script filename here
; timer_Script = "filename"

; ##
; ## REGIONS
; ##

region_info_source = "filesystem"

; Draw objects on maptile.   This step might take a long time if you've got a huge amount of
; objects, so you can turn it off here if you'd like.
DrawPrimOnMapTile = true
; Use terrain texture for maptiles if true, use shaded green if false
TextureOnMapTile = false

; Maximum total size, and maximum size where a prim can be physical
NonPhysicalPrimMax = 256
PhysicalPrimMax = 10
ClampPrimSize = false

; ##
; ## STORAGE
; ##

; *** Prim Storage - only leave one storage_plugin uncommented ***
; --- Null stores nothing - effectively disabling persistence:
;storage_plugin = "OpenSim.Data.Null.dll"

; --- To use MySQL storage, supply your own connectionstring (this is only an example):
;     note that the supplied account needs create privilegies if you want it to auto-create needed tables.
 storage_plugin="OpenSim.Data.MySQL.dll"
 storage_connection_string="Data Source=127.0.0.1;Database=inworldz;User ID=inworldz;password=dXPNnzqJLNNQ4XdY";

asset_database = "whip"

; Persistence of changed objects happens during regular sweeps. The following control that behaviour to
; prevent frequently changing objects from heavily loading the region data store.
; If both of these values are set to zero then persistence of all changed objects will happen on every sweep.
;
; Objects will be considered for persistance in the next sweep when they have not changed for this number of seconds
MinimumTimeBeforePersistenceConsidered = 60
; Objects will always be considered for persistance in the next sweep if the first change occurred this number of seconds ago
MaximumTimeBeforePersistenceConsidered = 600

; ##
; ## PHYSICS
; ##

; if you would like to allow prims to be physical and move by physics with the physical checkbox in the client set this to true.
physical_prim = true

; Choose one of the physics engines below
physics = InWorldz.PhysxPhysics

; ##
; ## PERMISSIONS
; ##

permissionmodules = "DefaultPermissionsModule"

; If set to false, then, in theory, the server never carries out permission checks (allowing anybody to copy
; any item, etc.  This may not yet be implemented uniformally.
; If set to true, then all permissions checks are carried out
; Default is false
serverside_object_permissions = true

allow_grid_gods = false

use_aperture_server = yes
aperture_server_port = 8000
aperture_server_caps_token = 2960079

core_connection_string = "Data Source=127.0.0.1;Database=inworldz;User ID=inworldz;Pooling=True;Min Pool Size=0;"
rdb_connection_template = "Data Source={0};Database=inworldz;User ID=inworldz;Pooling=True;Min Pool Size=0;"

[SMTP] enabled=false

;enabled=true
;internal_object_host=lsl.opensim.local
;host_domain_header_from=127.0.0.1
;SMTP_SERVER_HOSTNAME=127.0.0.1
;SMTP_SERVER_PORT=25
;SMTP_SERVER_LOGIN=foo
;SMTP_SERVER_PASSWORD=bar

[Communications] ;InterregionComms = "LocalComms" InterregionComms = "RESTComms"

[Inventory] inventory_plugin = "InWorldz.Data.Inventory.Cassandra.dll" inventory_cluster = "local" legacy_inventory_source = "Data Source=127.0.0.1;Database=inworldz;User ID=inworldz;Pooling=True;Min Pool Size=5;" migration_active = true

[StandAlone] accounts_authenticate = false welcome_message = "Welcome to Halcyon"

asset_source = "whip://inworldz@127.0.0.1:32700"

userDatabase_plugin = "OpenSim.Data.MySQL.dll"
user_source = "Data Source=127.0.0.1;Database=inworldz;User ID=inworldz"

; Specifies the location and filename of the default inventory library control file.  The path can be relative or absolute
; Default is ./inventory/Libraries.xml
LibrariesXMLFile="./inventory/Libraries.xml"

; Specifies the location and filename of the inventory library assets control file.  The path can be relative or absolute
; Setting is optional. Default is ./assets/AssetSets.xml
AssetSetsXMLFile="./assets/AssetSets.xml"

dump_assets_to_file = false

; Standalone-only http server URIs.
map_server_uri = "http://127.0.0.1/map/"
profile_server_uri = "http://127.0.0.1/profile/[AGENT_NAME]"

[Network] http_listener_port = 9000 default_location_x = 1000 default_location_y = 1000 hostname = 127.0.0.1

; ssl config: Experimental!  The auto https config only really works definately on windows XP now
; you need a Cert Request/Signed pair installed in the MY store with the CN specified below
; you can use https on other platforms, but you'll need to configure the httpapi yourself for now
http_listener_ssl = false ; Also create a SSL server
http_listener_cn = "localhost" ; Use the cert with the common name
http_listener_sslport = 9001 ; Use this port for SSL connections
http_listener_ssl_cert = "" ; Currently unused, but will be used for OSHttpServer

grid_server_url = "http://127.0.0.1:8001"
grid_send_key = "null"
grid_recv_key = "null"

user_server_url = "http://127.0.0.1:8002"
user_send_key = "null"
user_recv_key = "null"

asset_server_url = "whip://inworldz@127.0.0.1:32700"

; The MessagingServer is a companion of the UserServer. It uses
; user_send_key and user_recv_key, too
messaging_server_url = "http://127.0.0.1:8006"

; What is reported as the "X-Secondlife-Shard"
; Defaults to the user server url if not set
; The old default is "OpenSim", set here fro compatibility
shard = "HalcyonHome"

; What is reported as the "User-Agent" when using llHTTPRequest
; Defaults to not sent if not set here. See the notes section in the wiki at
; http://wiki.secondlife.com/wiki/LlHTTPRequest for comments on adding
; " (Mozilla Compatible)" to the text where there are problems with a web server
;user_agent = "Halcyon LSL (Mozilla Compatible)"

[Chat] ; Controls whether the chat module is enabled. Default is true. enabled = true;

; Distance in meters that whispers should travel.  Default is 10m
whisper_distance = 10

; Distance in meters that ordinary chat should travel.  Default is 30m
say_distance = 30

; Distance in meters that shouts should travel.  Default is 100m
shout_distance = 100

[Messaging] ; Control which region module is used for instant messaging. ; Default is InstantMessageModule (this is the name of the core IM module as well as the setting) InstantMessageModule = InstantMessageModule MessageTransferModule = MessageTransferModule OfflineMessageModule = OfflineMessageModule ; OfflineMessageURL = http://yourserver/Offline.php ; MuteListModule = MuteListModule ; MuteListURL = http://yourserver/Mute.php

; Uncomment the following to control the progression of daytime ; in the Sim. The defaults are what is shown below ;[Sun] ; number of wall clock hours for an simulated day. 24.0 would mean realtime ;day_length = 4 ; Year length in days ;year_length = 60 ; Day to Night Ratio ;day_night_offset = 0.45 ; send a Sun update every update_interval # of frames. A lower number will ; make for smoother sun transition at the cost of network ;update_interval = 100

[Wind] ; Enables the wind module. Default is true enabled = true

; How often should wind be updated, as a function of world frames.  Approximately 50 frames a second
wind_update_rate = 30

; The Default Wind Plugin to load
wind_plugin = ZephyrWind

; These settings are specific to the ConfigurableWind plugin
; To use ConfigurableWind as the default, simply change wind_plugin to ConfigurableWind and uncomment the following.
; avg_strength  = 5.0
; avg_direction = 0.0
; var_strength  = 0.0
; var_direction = 0.0
; rate_change   = 1.0

; This setting is specific to the SimpleRandomWind plugin
; Adjusts wind strength. 0.0 = no wind, 1.0 = normal wind.  Default is 1.0
strength = 1.0

[Cloud] ; Enable this to generate classic particle clouds above the sim. ; default is disabled - turn it on here enabled = false

; Density of cloud cover 0.0 to 1.0 Defult 0.5
density = 0.5

; update interval for the cloud cover data returned by llCloud().
; default is 1000
cloud_update_rate = 1000

[Trees] ; Enable this to allow the tree module to manage your sim trees, including growing, reproducing and dying ; default is false active_trees = false

; Density of tree population
tree_density = 1000.0

[GridInfo] ; These settings are used to return information on a get_grid_info call. ; Client launcher scripts and third-party clients make use of this to ; autoconfigure the client and to provide a nice user experience. If you ; want to facilitate that, you should configure the settings here according ; to your grid or standalone setup. ; ; See http://opensimulator.org/wiki/GridInfo

;   uri: for grid this is the user server URI
login = http://127.0.0.1:9000/

; long grid name: the long name of your grid
gridname = "Standalone Halcyon Grid"

; short grid name: the short name of your grid
gridnick = "halcyon"

; login page: optional: if it exists it will be used to tell the client to use
;                       this as splash page
; currently unused
;welcome = http://127.0.0.1/welcome

; helper uri: optional: if it exists if will be used to tell the client to use
;                       this for all economy related things
; currently unused
;economy = http://127.0.0.1:9000/

; web page of grid: optional: page providing further information about your grid
; currently unused
;about = http://127.0.0.1/about/

; account creation: optional: page providing further information about obtaining
;                             a user account on your grid
; currently unused
;register = http://127.0.0.1/register

; help: optional: page providing further assistance for users of your grid
; currently unused
;help = http://127.0.0.1/help

; password help: optional: page providing password assistance for users of your grid
; currently unused
;password = http://127.0.0.1/password

[Groups] Enabled = true

; This is the current groups stub in Region.CoreModules.Avatar.Groups
;Module  = Default

; The XmlRpcGroups implementation can be used against the publically available service
; that I have made available for testing.  Your group data is not guarenteed safe
; or available if you use this service, but it's available now and seems to work.
; The PHP code for the service is available for you to deploy to your own server.
;
Module  = FlexiGroups
Provider = Native
NativeProviderDBType = MySQL
NativeProviderConnString = "Data Source=127.0.0.1;Database=inworldz;User ID=inworldz;Pooling=True;Min Pool Size=5;"

; This makes the XmlRpcGroups modules very chatty on the console.
XmlRpcDebugEnabled     = false

[Profile] ProfileConnString = "DataSource=127.0.0.1;Database=inworldz;User ID=inworldz;Pooling=True;Min Pool Size=5;"

[Modules] ; Choose one AssetServices = "LocalAssetServicesConnector" UserServices = "LocalUserServicesConnector"

[InWorldz.PhysxPhysics] use_visual_debugger = true use_ccd = true

[Mesh] AllowMeshUpload = true

[SimulatorFeatures] MapImageServerURI="http://127.0.0.1:9000/" SearchServerURI="http://127.0.0.1:9000/" MeshEnabled=true PhysicsMaterialsEnabled=false

[ChatLogModule] Enabled = false Debug = false Backend = Cassandra12Backend SeedNode1 = 127.0.0.1

[GuestModule] Enabled = false GuestRegionName = "InWorldz Test"

[ChatFilterModule] Enabled = false

[AvatarRemoteCommands] Enabled = false

[InWorldz.Data.Assets.Stratus] CFSupport = false LegacySupport = true WriteTarget = "whip" WhipURL = "whip://inworldz@127.0.0.1:32700"

Ramius1701 commented 8 years ago

Listed under storage, line 62 in Notepad++

appurist commented 8 years ago
[Startup]
    asset_database = "whip"

Sorry, it's been a while since we had whip-only servers. That line above tells the server to run in a more legacy mode where all the Stratus stuff isn't used, so that's why your INI file didn't have it. So that's okay.

In this mode, I believe it's going to use the entries in the [Standalone] or [Network] sections. If you're running in standalone mode (not separate User, Grid, Messaging processes), then it's going to use the asset_database = "whip" line in the [Standalone] section.

We might have a bug in our legacy support mode, since that is used a lot less. I think even my pre-Stratus regions used the stratus options but with LegacySupport = true But I think Mike's setup is the same as yours in that he doesn't have Stratus enabled at all. But I think he works in grid mode most of the time.

Back to the original report, it seems that error is not always a connect error; it may also indicate that the region is unable to load the whip plugin DLL.

Are you running this on a Windows machine? What version?

If you are building it and can debug, the problem is occurring in OpenSimBase.cs, just after line 332 in loadAssetServer() where it is returning a null. If you can trace through that and look at the local variables, in particular "id", and probably put a breakpoint on the catch block near the bottom of loadAssetServer(). I think something is failing right there.

Ramius1701 commented 8 years ago

Im running Windows 10 Home Build Version 1511 OS Build 10586.318

I tried both standalone and grid mode and still fails to load, im only in the beginning stages of coding :) And with Mike's help i got the Whip Asset Server to get further then before, and im guessing we still need the Whip Asset with the current build?

appurist commented 8 years ago

Yes, the normal usage is assets stored via WHIP.

As a quick test, I replaced my halcyon.ini with the contents of yours pasted above, completely. I was able to get past the error you are having, so it doesn't appear to be related to the halcyon.ini at this point.

So do you have any firewall software running on that machine? You might want to repeat the test with it temporarily completely disabled, just to see if that resolves the problem. If so, your next step will be to add an exclusion for Halcyon and WHIP in particular.

If you're using the default Windows firewall, you can find the exclusions under Settings -> Update & Security -> Windows Defender. The fourth section on the right is Exclusions. You'll probably want to add one under the fourth section, Processes. Press the '+' button and add Halcyon.exe and WHIP.exe to the list of exclusions.

But I'd try just turning it off at first to see if that solves the problem. It may not; it seems the problem is in loading the assets DLL, not connecting, so I think the next step is actually for you to post whatever is in the Halcyon.log file after you attempt to start a region.

appurist commented 8 years ago

Okay scratch all that. The problem is that WHIP hasn't started yet. The screenshot you posted shows an incomplete startup. WHIP Startup It's a much older version but notice your screenshot in the original post ended at the "Starting storage backend" message. Nothing after that, and in particular, it's missing the: Starting asset services on TCP/32700 which tells us it's listening on the port. In your case, it's not getting far enough to open the port.

appurist commented 8 years ago
cache_enabled=0
cache_size=0
disk_storage_backend=VFS
disk_storage_root=C:\Projects\InWorldz\whip\assets

Those lines from the whip.cfg are important. Both Mike and I use a non-zero cache so maybe that's actually required. Try:

cache_enabled=1
cache_size=100

(Although I use 200.)

And check under C:\Projects\InWorldz\whip\assets to see that the folder actually exists, and if it has anything in it?

appurist commented 8 years ago

ok another thing, change "VFS" to "vfs"... That was another difference and I just check the source code, it looks case-sensitive. (!) So I think that "VFS" may be confusing it.

disk_storage_backend=vfs
Ramius1701 commented 8 years ago

I have the Firewall disabled currently since Whitecore will not work with it enabled.

I made the changes to the Whip.cfg as you suggested: (cache_size=200 and disk_storage_backend=vfs), everything else was added from previous comments since they were not in default Whip.cfg from the whip-win64-bin.zip

port=32700 password=inworldz cache_enabled=1 cache_size=200 disk_storage_backend=vfs disk_storage_root=D:\Servers\Halcyon\whip-win64-bin\assets debug=1 is_writable=1 migration = file_to_vfs allow_purge = 1 intramesh_peers = none intramesh_port = 32701 replication_master = none

The screen displays this when Whip Asset Server is running:

[2016-Jun-11 23:45:55] InWorldz WHIP Asset Server 5.0 [2016-Jun-11 23:45:55] Build: Aug 18 2015 18:36:02

[2016-Jun-11 23:45:55] DEBUGGING ENABLED

[2016-Jun-11 23:45:55] [IWINTRAMESH] Intramesh starting on TCP/32701 [2016-Jun-11 23:45:55] [IWVFS] Starting storage backend [2016-Jun-11 23:45:55] [IWVFS] Root: D:\Servers\Halcyon\whip-win64-bin\assets, Purge: enabled [2016-Jun-11 23:45:55] [IWVFS] SQLite Index Backend: SQLite v3.7.0 [2016-Jun-11 23:45:55] [IWVFS] Generating asset existence index [2016-Jun-11 23:45:55] [IWVFS] Starting disk I/O worker thread [2016-Jun-11 23:45:55] Asset cache enabled (200 MB) [2016-Jun-11 23:45:55] [REPL] No master server set. Replication disabled. [2016-Jun-11 23:45:55] Starting asset services on TCP/32700 [2016-Jun-11 23:46:00] STATS Requests/sec: 0, Data Rate: 0kB/sec STATS #Requests: 0(0/sec), Positive Req: 0, Data Rate: 0kB/sec [2016-Jun-11 23:46:05] STATS Requests/sec: 0, Data Rate: 0kB/sec STATS #Requests: 0(0/sec), Positive Req: 0, Data Rate: 0kB/sec [2016-Jun-11 23:46:10] STATS Requests/sec: 0, Data Rate: 0kB/sec STATS #Requests: 0(0/sec), Positive Req: 0, Data Rate: 0kB/sec [2016-Jun-11 23:46:15] STATS Requests/sec: 0, Data Rate: 0kB/sec STATS #Requests: 0(0/sec), Positive Req: 0, Data Rate: 0kB/sec

And the stats keep going every 5 seconds

This still comes up when i launch Halcyon.exe:

2016-06-11 23:46:08,674 [1] INFO OpenSim.Application - [HALCYON MAIN]: configured log4net using default Halcyon.exe.config 2016-06-11 23:46:08,728 [1] INFO OpenSim.Application - Performing compatibility checks... 2016-06-11 23:46:08,744 [1] INFO OpenSim.Application - Environment is compatible.

2016-06-11 23:46:08,817 [ConsoleThread] INFO OpenSim.ConfigurationLoader - [CONFIG] Reading configuration settings 2016-06-11 23:46:08,822 [ConsoleThread] INFO OpenSim.ConfigurationLoader - [CONFIG] Reading configuration file D:\Servers\Halcyon\halcyon-master\bin\Halcyon.ini 2016-06-11 23:46:08,973 [ConsoleThread] INFO OpenSim.Framework.Servers.BaseOpenSimServer - [STARTUP]: Beginning startup processing 2016-06-11 23:46:08,987 [ConsoleThread] INFO OpenSim.OpenSim - ==================================================================== 2016-06-11 23:46:08,987 [ConsoleThread] INFO OpenSim.OpenSim - ========================= STARTING HALCYON ========================= 2016-06-11 23:46:08,988 [ConsoleThread] INFO OpenSim.OpenSim - ==================================================================== 2016-06-11 23:46:08,989 [ConsoleThread] INFO OpenSim.OpenSim - [HALCYON MAIN]: Running in sandbox mode 2016-06-11 23:46:08,991 [ConsoleThread] INFO OpenSim.OpenSim - GC: Server mode: False, Interactive 2016-06-11 23:46:09,039 [ConsoleThread] INFO OpenSim.Region.Framework.StorageManager - [DATASTORE]: Attempting to load OpenSim.Data.MySQL.dll 2016-06-11 23:46:09,095 [ConsoleThread] INFO OpenSim.Region.Framework.StorageManager - [DATASTORE]: Added IRegionDataStore Interface 2016-06-11 23:46:09,099 [ConsoleThread] INFO OpenSim.Region.ClientStack.ClientStackManager - [CLIENTSTACK]: Attempting to load OpenSim.Region.ClientStack.LindenUDP.dll 2016-06-11 23:46:09,189 [ConsoleThread] INFO OpenSim.Region.ClientStack.ClientStackManager - [CLIENTSTACK]: Added IClientNetworkServer Interface 2016-06-11 23:46:09,197 [ConsoleThread] DEBUG OpenSim.OpenSimBase - [HALCYONBASE] Attempting to load asset server id=WHIP 2016-06-11 23:46:09,217 [ConsoleThread] INFO OpenSim.Framework.PluginLoader1 - [PLUGINS]: Initializing addin manager 2016-06-11 23:46:09,545 [ConsoleThread] INFO OpenSim.Framework.PluginLoader1 - [PLUGINS]: Loading extension point /OpenSim/AssetClient 2016-06-11 23:46:09,588 [ConsoleThread] ERROR OpenSim.Application - [APPLICATION]: APPLICATION EXCEPTION DETECTED: System.UnhandledExceptionEventArgs

Exception: System.Exception: Asset server WHIP could not be loaded at OpenSim.OpenSimBase.InitializeAssetCache() in D:\Servers\Halcyon\halcyon-master\OpenSim\Base\OpenSimBase.cs:line 324 at OpenSim.OpenSimBase.Initialize() in D:\Servers\Halcyon\halcyon-master\OpenSim\Base\OpenSimBase.cs:line 286 at OpenSim.Region.ClientStack.RegionApplicationBase.StartupSpecific() in D:\Servers\Halcyon\halcyon-master\OpenSim\Region\ClientStack\RegionApplicationBase.cs:line 107 at OpenSim.OpenSimBase.StartupSpecific() in D:\Servers\Halcyon\halcyon-master\OpenSim\Base\OpenSimBase.cs:line 201 at OpenSim.OpenSim.StartupSpecific() in D:\Servers\Halcyon\halcyon-master\OpenSim\Base\OpenSim.cs:line 163 at OpenSim.Framework.Servers.BaseOpenSimServer.Startup() in D:\Servers\Halcyon\halcyon-master\OpenSim\Framework\Servers\BaseOpenSimServer.cs:line 300 at OpenSim.Application.Main(String[] args) in D:\Servers\Halcyon\halcyon-master\InWorldz\Halcyon\Application.cs:line 145

Application is terminating: True

Ramius1701 commented 8 years ago

And i checked the directory D:\Servers\Halcyon\whip-win64-bin\assets and its empty

appurist commented 8 years ago

I'm not sure if there's supposed to be initial assets in there or not. That might be the problem. At least WHIP is fully loading now.

I'm a bit out of ideas at the moment, so the only thing I can suggest for now is that since you have the [InWorldz.Data.Assets.Stratus] section already set up in halcyon.ini, you could to try changing the asset_database entry from "whip" to:

   asset_database = "InWorldz.Data.Assets.Stratus.StratusAssetClient"

The problem seems to be that it's having trouble loading the whip client module, so we could try switching here. You might also want to try removing all .DLL, .PDB and .EXE files in the bin folder and restore the folder from GitHub, then do a full rebuild. It could just be that one of the dependent DLLs is damaged or didn't actually build, so it cannot load the whip client module.

What I can definitely tell you is that it's failing to load the asset module in the region server. Now you may get the same error with Stratus as it probably uses the same whip client DLLs, but it's worth a shot.

[InWorldz.Data.Assets.Stratus]
CFSupport = false
LegacySupport = true
WriteTarget = "whip"
WhipURL = "whip://inworldz@127.0.0.1:32700"
Ramius1701 commented 8 years ago

Removed all Halcyon-master folders, download a fresh copy of the halcyon-master.zip file. extracted and compiled:

========== Build: 66 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

Started Whip Asset server and then setup the Halcyon.ini file with all the information provided up to this point, Starts to load, then:

2016-06-12 03:48:11,922 [1] INFO OpenSim.Application - [HALCYON MAIN]: configured log4net using default Halcyon.exe.config 2016-06-12 03:48:11,975 [1] INFO OpenSim.Application - Performing compatibility checks... 2016-06-12 03:48:12,038 [1] INFO OpenSim.Application - Environment is compatible.

2016-06-12 03:48:12,091 [ConsoleThread] INFO OpenSim.ConfigurationLoader - [CONFIG] Reading configuration settings 2016-06-12 03:48:12,106 [ConsoleThread] INFO OpenSim.ConfigurationLoader - [CONFIG] Reading configuration file D:\Servers\Halcyon\halcyon-master\Halcyon.ini 2016-06-12 03:48:12,222 [ConsoleThread] INFO OpenSim.Framework.Servers.BaseOpenSimServer - [STARTUP]: Beginning startup processing 2016-06-12 03:48:12,307 [ConsoleThread] INFO OpenSim.OpenSim - ==================================================================== 2016-06-12 03:48:12,307 [ConsoleThread] INFO OpenSim.OpenSim - ========================= STARTING HALCYON ========================= 2016-06-12 03:48:12,307 [ConsoleThread] INFO OpenSim.OpenSim - ==================================================================== 2016-06-12 03:48:12,307 [ConsoleThread] INFO OpenSim.OpenSim - [HALCYON MAIN]: Running in sandbox mode 2016-06-12 03:48:12,307 [ConsoleThread] INFO OpenSim.OpenSim - GC: Server mode: False, Interactive 2016-06-12 03:48:12,461 [ConsoleThread] INFO OpenSim.Region.Framework.StorageManager - [DATASTORE]: Attempting to load OpenSim.Data.MySQL.dll 2016-06-12 03:48:12,623 [ConsoleThread] INFO OpenSim.Region.Framework.StorageManager - [DATASTORE]: Added IRegionDataStore Interface 2016-06-12 03:48:12,623 [ConsoleThread] INFO OpenSim.Region.ClientStack.ClientStackManager - [CLIENTSTACK]: Attempting to load OpenSim.Region.ClientStack.LindenUDP.dll 2016-06-12 03:48:12,962 [ConsoleThread] INFO OpenSim.Region.ClientStack.ClientStackManager - [CLIENTSTACK]: Added IClientNetworkServer Interface 2016-06-12 03:48:12,978 [ConsoleThread] DEBUG OpenSim.OpenSimBase - [HALCYONBASE] Attempting to load asset server id=WHIP 2016-06-12 03:48:13,062 [ConsoleThread] INFO OpenSim.Framework.PluginLoader1 - [PLUGINS]: Initializing addin manager 2016-06-12 03:48:13,294 [ConsoleThread] INFO OpenSim.Framework.PluginLoader1 - [PLUGINS]: Loading extension point /OpenSim/AssetClient 2016-06-12 03:48:13,326 [ConsoleThread] ERROR OpenSim.Application - [APPLICATION]: APPLICATION EXCEPTION DETECTED: System.UnhandledExceptionEventArgs

Exception: System.Exception: Asset server WHIP could not be loaded at OpenSim.OpenSimBase.InitializeAssetCache() in D:\My Downloads\halcyon-master\OpenSim\Base\OpenSimBase.cs:line 324 at OpenSim.OpenSimBase.Initialize() in D:\My Downloads\halcyon-master\OpenSim\Base\OpenSimBase.cs:line 286 at OpenSim.Region.ClientStack.RegionApplicationBase.StartupSpecific() in D:\My Downloads\halcyon-master\OpenSim\Region\ClientStack\RegionApplicationBase.cs:line 107 at OpenSim.OpenSimBase.StartupSpecific() in D:\My Downloads\halcyon-master\OpenSim\Base\OpenSimBase.cs:line 201 at OpenSim.OpenSim.StartupSpecific() in D:\My Downloads\halcyon-master\OpenSim\Base\OpenSim.cs:line 163 at OpenSim.Framework.Servers.BaseOpenSimServer.Startup() in D:\My Downloads\halcyon-master\OpenSim\Framework\Servers\BaseOpenSimServer.cs:line 300 at OpenSim.Application.Main(String[] args) in D:\My Downloads\halcyon-master\InWorldz\Halcyon\Application.cs:line 145

Application is terminating: True

2016-06-12 03:49:11,943 [1] INFO OpenSim.Application - [HALCYON MAIN]: configured log4net using default Halcyon.exe.config 2016-06-12 03:49:11,996 [1] INFO OpenSim.Application - Performing compatibility checks... 2016-06-12 03:49:12,012 [1] INFO OpenSim.Application - Environment is compatible.

2016-06-12 03:49:12,065 [ConsoleThread] INFO OpenSim.ConfigurationLoader - [CONFIG] Reading configuration settings 2016-06-12 03:49:12,065 [ConsoleThread] INFO OpenSim.ConfigurationLoader - [CONFIG] Reading configuration file D:\Servers\Halcyon\halcyon-master\Halcyon.ini 2016-06-12 03:49:12,197 [ConsoleThread] INFO OpenSim.Framework.Servers.BaseOpenSimServer - [STARTUP]: Beginning startup processing 2016-06-12 03:49:12,213 [ConsoleThread] INFO OpenSim.OpenSim - ==================================================================== 2016-06-12 03:49:12,213 [ConsoleThread] INFO OpenSim.OpenSim - ========================= STARTING HALCYON ========================= 2016-06-12 03:49:12,213 [ConsoleThread] INFO OpenSim.OpenSim - ==================================================================== 2016-06-12 03:49:12,213 [ConsoleThread] INFO OpenSim.OpenSim - [HALCYON MAIN]: Running in sandbox mode 2016-06-12 03:49:12,213 [ConsoleThread] INFO OpenSim.OpenSim - GC: Server mode: False, Interactive 2016-06-12 03:49:12,266 [ConsoleThread] INFO OpenSim.Region.Framework.StorageManager - [DATASTORE]: Attempting to load OpenSim.Data.MySQL.dll 2016-06-12 03:49:12,282 [ConsoleThread] INFO OpenSim.Region.Framework.StorageManager - [DATASTORE]: Added IRegionDataStore Interface 2016-06-12 03:49:12,282 [ConsoleThread] INFO OpenSim.Region.ClientStack.ClientStackManager - [CLIENTSTACK]: Attempting to load OpenSim.Region.ClientStack.LindenUDP.dll 2016-06-12 03:49:12,366 [ConsoleThread] INFO OpenSim.Region.ClientStack.ClientStackManager - [CLIENTSTACK]: Added IClientNetworkServer Interface 2016-06-12 03:49:12,366 [ConsoleThread] DEBUG OpenSim.OpenSimBase - [HALCYONBASE] Attempting to load asset server id=InWorldz.Data.Assets.Stratus.StratusAssetClient 2016-06-12 03:49:12,382 [ConsoleThread] INFO OpenSim.Framework.PluginLoader1 - [PLUGINS]: Initializing addin manager 2016-06-12 03:49:12,614 [ConsoleThread] INFO OpenSim.Framework.PluginLoader1 - [PLUGINS]: Loading extension point /OpenSim/AssetClient 2016-06-12 03:49:12,645 [ConsoleThread] ERROR OpenSim.Application - [APPLICATION]: APPLICATION EXCEPTION DETECTED: System.UnhandledExceptionEventArgs

Exception: System.Exception: Asset server InWorldz.Data.Assets.Stratus.StratusAssetClient could not be loaded at OpenSim.OpenSimBase.InitializeAssetCache() in D:\My Downloads\halcyon-master\OpenSim\Base\OpenSimBase.cs:line 324 at OpenSim.OpenSimBase.Initialize() in D:\My Downloads\halcyon-master\OpenSim\Base\OpenSimBase.cs:line 286 at OpenSim.Region.ClientStack.RegionApplicationBase.StartupSpecific() in D:\My Downloads\halcyon-master\OpenSim\Region\ClientStack\RegionApplicationBase.cs:line 107 at OpenSim.OpenSimBase.StartupSpecific() in D:\My Downloads\halcyon-master\OpenSim\Base\OpenSimBase.cs:line 201 at OpenSim.OpenSim.StartupSpecific() in D:\My Downloads\halcyon-master\OpenSim\Base\OpenSim.cs:line 163 at OpenSim.Framework.Servers.BaseOpenSimServer.Startup() in D:\My Downloads\halcyon-master\OpenSim\Framework\Servers\BaseOpenSimServer.cs:line 300 at OpenSim.Application.Main(String[] args) in D:\My Downloads\halcyon-master\InWorldz\Halcyon\Application.cs:line 145

Application is terminating: True

So i tired this a different way, i again removed all Halcyon masters and cloned with windows github and recompiled. reconfigured the Halcyon.ini file with all information from previous comments

and launched. Getting more information on screen then another error with mysql :(

2016-06-12 05:21:27,914 [1] INFO OpenSim.Application - [HALCYON MAIN]: configured log4net using default Halcyon.exe.config 2016-06-12 05:21:27,965 [1] INFO OpenSim.Application - Performing compatibility checks... 2016-06-12 05:21:27,976 [1] INFO OpenSim.Application - Environment is compatible.

2016-06-12 05:21:28,037 [ConsoleThread] INFO OpenSim.ConfigurationLoader - [CONFIG] Reading configuration settings 2016-06-12 05:21:28,042 [ConsoleThread] INFO OpenSim.ConfigurationLoader - [CONFIG] Reading configuration file D:\Servers\Halcyon\halcyon-master\Halcyon.ini 2016-06-12 05:21:28,174 [ConsoleThread] INFO OpenSim.Framework.Servers.BaseOpenSimServer - [STARTUP]: Beginning startup processing 2016-06-12 05:21:28,188 [ConsoleThread] INFO OpenSim.OpenSim - ==================================================================== 2016-06-12 05:21:28,189 [ConsoleThread] INFO OpenSim.OpenSim - ========================= STARTING HALCYON ========================= 2016-06-12 05:21:28,193 [ConsoleThread] INFO OpenSim.OpenSim - ==================================================================== 2016-06-12 05:21:28,201 [ConsoleThread] INFO OpenSim.OpenSim - [HALCYON MAIN]: Running in sandbox mode 2016-06-12 05:21:28,203 [ConsoleThread] INFO OpenSim.OpenSim - GC: Server mode: False, Interactive 2016-06-12 05:21:28,250 [ConsoleThread] INFO OpenSim.Region.Framework.StorageManager - [DATASTORE]: Attempting to load OpenSim.Data.MySQL.dll 2016-06-12 05:21:28,274 [ConsoleThread] INFO OpenSim.Region.Framework.StorageManager - [DATASTORE]: Added IRegionDataStore Interface 2016-06-12 05:21:28,278 [ConsoleThread] INFO OpenSim.Region.ClientStack.ClientStackManager - [CLIENTSTACK]: Attempting to load OpenSim.Region.ClientStack.LindenUDP.dll 2016-06-12 05:21:28,367 [ConsoleThread] INFO OpenSim.Region.ClientStack.ClientStackManager - [CLIENTSTACK]: Added IClientNetworkServer Interface 2016-06-12 05:21:28,373 [ConsoleThread] DEBUG OpenSim.OpenSimBase - [HALCYONBASE] Attempting to load asset server id=InWorldz.Data.Assets.Stratus.StratusAssetClient 2016-06-12 05:21:28,397 [ConsoleThread] INFO OpenSim.Framework.PluginLoader1 - [PLUGINS]: Initializing addin manager 2016-06-12 05:21:28,693 [ConsoleThread] INFO OpenSim.Framework.PluginLoader1 - [PLUGINS]: Plugin Loaded: OpenSim 2016-06-12 05:21:28,695 [ConsoleThread] INFO OpenSim.Framework.PluginLoader1 - [PLUGINS]: Plugin Loaded: OpenSim.Data 2016-06-12 05:21:28,790 [ConsoleThread] INFO OpenSim.Framework.PluginLoader1 - [PLUGINS]: Loading extension point /OpenSim/AssetClient 2016-06-12 05:21:28,890 [ConsoleThread] INFO OpenSim.Framework.PluginLoader1 - [PLUGINS]: Trying plugin /OpenSim/AssetClient/StratusAssetClient 2016-06-12 05:21:28,894 [ConsoleThread] INFO OpenSim.Framework.PluginLoader1 - [PLUGINS]: Plugin Loaded: InWorldz.Data.Assets.Stratus 2016-06-12 05:21:28,904 [ConsoleThread] INFO OpenSim.Framework.PluginLoader1 - [PLUGINS]: Trying plugin /OpenSim/AssetClient/WHIP 2016-06-12 05:21:28,920 [ConsoleThread] INFO InWorldz.Data.Assets.Stratus.StratusAssetClient - [InWorldz.Stratus] Plugin is enabled 2016-06-12 05:21:28,927 [ConsoleThread] INFO InWorldz.Whip.Client.AssetClient - [WHIP.AssetClient] Direct constructor 2016-06-12 05:21:28,945 [ConsoleThread] DEBUG OpenSim.OpenSimBase - [HALCYONBASE] Asset server InWorldz.Data.Assets.Stratus.StratusAssetClient loaded 2016-06-12 05:21:28,969 [ConsoleThread] INFO OpenSim.Framework.Communications.Cache.AssetCache - [ASSET CACHE]: Asset cache initialization [OpenSim.Framework.Communications.Cache.AssetCache/1.0] 2016-06-12 05:21:29,088 [ConsoleThread] INFO OpenSim.Region.ClientStack.RegionApplicationBase - [REGION]: Starting HTTP server on 127.0.0.1:9000 2016-06-12 05:21:29,092 [ConsoleThread] INFO OpenSim.Framework.Servers.HttpServer.BaseHttpServer - [BASE HTTP SERVER]: Starting HTTP server on port 9000 2016-06-12 05:21:29,123 [ConsoleThread] INFO OpenSim.Framework.PluginLoader1 - [PLUGINS]: Loading extension point /OpenSim/Startup 2016-06-12 05:21:29,137 [ConsoleThread] INFO OpenSim.Framework.PluginLoader1 - [PLUGINS]: Trying plugin /OpenSim/Startup/RegionModulesController 2016-06-12 05:21:29,141 [ConsoleThread] INFO OpenSim.Framework.PluginLoader1 - [PLUGINS]: Plugin Loaded: OpenSim.ApplicationPlugins.RegionModulesController 2016-06-12 05:21:29,176 [ConsoleThread] INFO OpenSim.Framework.PluginLoader1 - [PLUGINS]: Trying plugin /OpenSim/Startup/StratusDataPlugin 2016-06-12 05:21:29,181 [ConsoleThread] INFO OpenSim.Framework.PluginLoader1 - [PLUGINS]: Trying plugin /OpenSim/Startup/CreateCommsManager 2016-06-12 05:21:29,198 [ConsoleThread] INFO OpenSim.Framework.PluginLoader1 - [PLUGINS]: Plugin Loaded: OpenSim.ApplicationPlugins.CreateCommsManager 2016-06-12 05:21:29,221 [ConsoleThread] INFO OpenSim.Framework.PluginLoader1 - [PLUGINS]: Trying plugin /OpenSim/Startup/InworldzChatLogMessageFileBackend 2016-06-12 05:21:29,231 [ConsoleThread] INFO OpenSim.Framework.PluginLoader1 - [PLUGINS]: Plugin Loaded: InWorldz.ApplicationPlugins 2016-06-12 05:21:29,246 [ConsoleThread] INFO OpenSim.Framework.PluginLoader1 - [PLUGINS]: Trying plugin /OpenSim/Startup/InworldzChatLogMessageCassandra12Backend 2016-06-12 05:21:29,255 [ConsoleThread] INFO OpenSim.Framework.PluginLoader1 - [PLUGINS]: Trying plugin /OpenSim/Startup/InWorldzRemoteAdmin 2016-06-12 05:21:29,259 [ConsoleThread] INFO OpenSim.Framework.PluginLoader1 - [PLUGINS]: Plugin Loaded: InWorldz.RemoteAdmin 2016-06-12 05:21:29,270 [ConsoleThread] INFO OpenSim.Framework.PluginLoader1 - [PLUGINS]: Trying plugin /OpenSim/Startup/ScriptEnginePlugin 2016-06-12 05:21:29,274 [ConsoleThread] INFO OpenSim.Framework.PluginLoader1 - [PLUGINS]: Plugin Loaded: OpenSim.ApplicationPlugins.ScriptEngine 2016-06-12 05:21:29,296 [ConsoleThread] INFO OpenSim.ApplicationPlugins.ScriptEngine.ScriptEnginePlugin - [SECS] ################################## 2016-06-12 05:21:29,301 [ConsoleThread] INFO OpenSim.ApplicationPlugins.ScriptEngine.ScriptEnginePlugin - [SECS] # Script Engine Component System # 2016-06-12 05:21:29,315 [ConsoleThread] INFO OpenSim.ApplicationPlugins.ScriptEngine.ScriptEnginePlugin - [SECS] ################################## 2016-06-12 05:21:29,338 [ConsoleThread] INFO OpenSim.Framework.PluginLoader1 - [PLUGINS]: Trying plugin /OpenSim/Startup/LoadRegions 2016-06-12 05:21:29,342 [ConsoleThread] INFO OpenSim.Framework.PluginLoader1 - [PLUGINS]: Plugin Loaded: OpenSim.ApplicationPlugins.LoadRegions 2016-06-12 05:21:29,370 [ConsoleThread] DEBUG OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin - [REGIONMODULES]: Initializing... 2016-06-12 05:21:29,380 [ConsoleThread] INFO OpenSim.Framework.PluginLoader1 - [PLUGINS]: Plugin Loaded: InWorldz.Phlox.Engine 2016-06-12 05:21:29,401 [ConsoleThread] DEBUG OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin - [REGIONMODULES]: Found non-shared region module InWorldzPhloxEngine, class InWorldz.Phlox.Engine.EngineInterface 2016-06-12 05:21:29,419 [ConsoleThread] INFO OpenSim.Framework.PluginLoader1 - [PLUGINS]: Plugin Loaded: InWorldz.Region.Data.Thoosa 2016-06-12 05:21:29,432 [ConsoleThread] DEBUG OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin - [REGIONMODULES]: Found shared region module InWorldzThoosa, class InWorldz.Region.Data.Thoosa.ThoosaModule 2016-06-12 05:21:29,445 [ConsoleThread] INFO OpenSim.Framework.PluginLoader1 - [PLUGINS]: Plugin Loaded: InWorldz.VivoxVoice 2016-06-12 05:21:29,453 [ConsoleThread] DEBUG OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin - [REGIONMODULES]: Found shared region module InWorldzVivoxVoice, class InWorldz.VivoxVoice.VivoxVoiceModule 2016-06-12 05:21:29,467 [ConsoleThread] DEBUG OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin - [REGIONMODULES]: Found non-shared region module InWorldzChatLogModule, class InWorldz.ApplicationPlugins.ChatLog.InWorldzChatLogModule 2016-06-12 05:21:29,478 [ConsoleThread] DEBUG OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin - [REGIONMODULES]: Found shared region module AvatarRemoteCommandModule, class InWorldz.ApplicationPlugins.AvatarRemoteCommandModule.AvatarRemoteCommandModule 2016-06-12 05:21:29,483 [ConsoleThread] DEBUG OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin - [REGIONMODULES]: Found non-shared region module GuestModule, class InWorldz.ApplicationPlugins.GuestModule.GuestModule 2016-06-12 05:21:29,487 [ConsoleThread] DEBUG OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin - [REGIONMODULES]: Found non-shared region module ChatFilterModule, class InWorldz.ApplicationPlugins.ChatFilterModule.ChatFilterModule 2016-06-12 05:21:29,495 [ConsoleThread] INFO OpenSim.Framework.PluginLoader1 - [PLUGINS]: Plugin Loaded: OpenSim.Region.OptionalModules 2016-06-12 05:21:29,507 [ConsoleThread] DEBUG OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin - [REGIONMODULES]: Found shared region module FlexiGroups, class OpenSim.Region.OptionalModules.Avatar.FlexiGroups.FlexiGroupsModule 2016-06-12 05:21:29,514 [ConsoleThread] DEBUG OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin - [REGIONMODULES]: Found shared region module XmlRpcGroupsMessaging, class OpenSim.Region.OptionalModules.Avatar.FlexiGroups.XmlRpcGroupsMessaging 2016-06-12 05:21:29,522 [ConsoleThread] DEBUG OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin - [REGIONMODULES]: Found non-shared region module FriendPermissions, class OpenSim.Region.OptionalModules.Avatar.FriendPermissions.FriendPermissionsModule 2016-06-12 05:21:29,538 [ConsoleThread] INFO OpenSim.Framework.PluginLoader1 - [PLUGINS]: Plugin Loaded: OpenSim.Region.CoreModules 2016-06-12 05:21:29,548 [ConsoleThread] DEBUG OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin - [REGIONMODULES]: Found non-shared region module TerrainModule, class OpenSim.Region.CoreModules.World.Terrain.TerrainModule 2016-06-12 05:21:29,560 [ConsoleThread] DEBUG OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin - [REGIONMODULES]: Found non-shared region module WorldMapModule, class OpenSim.Region.CoreModules.World.WorldMap.WorldMapModule 2016-06-12 05:21:29,568 [ConsoleThread] DEBUG OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin - [REGIONMODULES]: Found shared region module LocalUserServicesConnector, class OpenSim.Region.CoreModules.ServiceConnectors.User.LocalUserServicesConnector 2016-06-12 05:21:29,583 [ConsoleThread] DEBUG OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin - [REGIONMODULES]: Found shared region module RemoteUserServicesConnector, class OpenSim.Region.CoreModules.ServiceConnectors.User.RemoteUserServicesConnector 2016-06-12 05:21:29,596 [ConsoleThread] DEBUG OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin - [REGIONMODULES]: Found shared region module CoreAssetCache, class OpenSim.Region.CoreModules.Asset.CoreAssetCache 2016-06-12 05:21:29,601 [ConsoleThread] DEBUG OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin - [REGIONMODULES]: Found shared region module UrlModule, class OpenSim.Region.CoreModules.Scripting.LSLHttp.UrlModule 2016-06-12 05:21:29,611 [ConsoleThread] DEBUG OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin - [REGIONMODULES]: Found shared region module PlusParcelModule, class OpenSim.Region.CoreModules.Plus.PlusParcelModule 2016-06-12 05:21:29,621 [ConsoleThread] DEBUG OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin - [REGIONMODULES]: Found non-shared region module MoapModule, class OpenSim.Region.CoreModules.World.Media.Moap.MoapModule 2016-06-12 05:21:29,630 [ConsoleThread] DEBUG OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin - [REGIONMODULES]: Found non-shared region module EnvironmentModule, class OpenSim.Region.CoreModules.World.LightShare.EnvironmentModule 2016-06-12 05:21:29,639 [ConsoleThread] DEBUG OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin - [REGIONMODULES]: Found non-shared region module OpenSim.Region.CoreModules.Capabilities.AssetCapsModule, class OpenSim.Region.CoreModules.Capabilities.AssetCapsModule 2016-06-12 05:21:29,661 [ConsoleThread] DEBUG OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin - [REGIONMODULES]: Found non-shared region module OpenSim.Region.CoreModules.Capabilities.AssortedCapsModule, class OpenSim.Region.CoreModules.Capabilities.AssortedCapsModule 2016-06-12 05:21:29,678 [ConsoleThread] DEBUG OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin - [REGIONMODULES]: Found non-shared region module OpenSim.Region.CoreModules.Capabilities.CapabilitiesModule, class OpenSim.Region.CoreModules.Capabilities.CapabilitiesModule 2016-06-12 05:21:29,697 [ConsoleThread] DEBUG OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin - [REGIONMODULES]: Found non-shared region module GroupCapsModule, class OpenSim.Region.CoreModules.Capabilities.GroupCapsModule 2016-06-12 05:21:29,706 [ConsoleThread] DEBUG OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin - [REGIONMODULES]: Found non-shared region module OpenSim.Region.CoreModules.Capabilities.InventoryCapsModule, class OpenSim.Region.CoreModules.Capabilities.InventoryCapsModule 2016-06-12 05:21:29,720 [ConsoleThread] DEBUG OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin - [REGIONMODULES]: Found non-shared region module OpenSim.Region.CoreModules.Capabilities.MeshUploadFlagModule, class OpenSim.Region.CoreModules.Capabilities.MeshUploadFlagModule 2016-06-12 05:21:29,740 [ConsoleThread] DEBUG OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin - [REGIONMODULES]: Found non-shared region module RegionConsoleModule, class OpenSim.Region.CoreModules.Capabilities.RegionConsoleModule 2016-06-12 05:21:29,762 [ConsoleThread] DEBUG OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin - [REGIONMODULES]: Found non-shared region module RenderMaterialsModule, class OpenSim.Region.CoreModules.Capabilities.RenderMaterialsModule 2016-06-12 05:21:29,767 [ConsoleThread] DEBUG OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin - [REGIONMODULES]: Found shared region module OpenSim.Region.CoreModules.Capabilities.SeedCapModule, class OpenSim.Region.CoreModules.Capabilities.SeedCapModule 2016-06-12 05:21:29,778 [ConsoleThread] DEBUG OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin - [REGIONMODULES]: Found shared region module OpenSim.Region.CoreModules.Capabilities.SimulatorFeaturesModule, class OpenSim.Region.CoreModules.Capabilities.SimulatorFeaturesModule 2016-06-12 05:21:29,793 [ConsoleThread] DEBUG OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin - [REGIONMODULES]: Found non-shared region module OpenSim.Region.CoreModules.Capabilities.EventQueueGetModule, class OpenSim.Region.CoreModules.Capabilities.EventQueueGetModule 2016-06-12 05:21:29,804 [ConsoleThread] DEBUG OpenSim.ApplicationPlugins.RegionModulesController.RegionModulesControllerPlugin - [REGIONMODULES]: Found non-shared region module OpenSim.Region.CoreModules.Agent.SceneView.SceneViewModule, class OpenSim.Region.CoreModules.Agent.SceneView.SceneViewModule 2016-06-12 05:21:30,465 [ConsoleThread] INFO InWorldz.Region.Data.Thoosa.ThoosaModule - [InWorldz.Thoosa]: Serialization engine enabled 2016-06-12 05:21:30,494 [ConsoleThread] INFO OpenSim.Region.OptionalModules.Avatar.FlexiGroups.FlexiGroupsModule - [GROUPS]: Initializing FlexiGroups 2016-06-12 05:21:30,502 [ConsoleThread] INFO OpenSim.Region.OptionalModules.Avatar.FlexiGroups.NativeGroupDataProvider - [GROUPS]: Testing database connection 2016-06-12 05:21:31,969 [ConsoleThread] INFO OpenSim.Region.OptionalModules.Avatar.FlexiGroups.NativeGroupDataProvider - [GROUPS]: MySQL connection exception: MySql.Data.MySqlClient.MySqlException (0x80004005): Authentication to host 'localhost' for user 'inworldz' using method 'mysql_native_password' failed with message: Access denied for user 'inworldz'@'localhost' (using password: NO) ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Access denied for user 'inworldz'@'localhost' (using password: NO) at MySql.Data.MySqlClient.MySqlStream.ReadPacket() at MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket() at MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.AuthenticationFailed(Exception ex) at MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket() at MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.Authenticate(Boolean reset) at MySql.Data.MySqlClient.NativeDriver.Open() at MySql.Data.MySqlClient.Driver.Open() at MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings) at MySql.Data.MySqlClient.MySqlPool..ctor(MySqlConnectionStringBuilder settings) at MySql.Data.MySqlClient.MySqlPoolManager.GetPool(MySqlConnectionStringBuilder settings) at MySql.Data.MySqlClient.MySqlConnection.Open() at OpenSim.Data.SimpleDB.MySQLSimpleDB.OpenConnection() in D:\halcyon\OpenSim\Data\SimpleDB\MySQLSimpleDB.cs:line 88 at OpenSim.Data.SimpleDB.MySQLSimpleDB..ctor(String connectionString) in D:\halcyon\OpenSim\Data\SimpleDB\MySQLSimpleDB.cs:line 73 at OpenSim.Data.SimpleDB.ConnectionFactory.GetConnection() in D:\halcyon\OpenSim\Data\SimpleDB\ConnectionFactory.cs:line 28 at OpenSim.Region.OptionalModules.Avatar.FlexiGroups.NativeGroupDataProvider.GetConnection() in D:\halcyon\OpenSim\Region\OptionalModules\Avatar\FlexiGroups\NativeGroupDataProvider.cs:line 55 2016-06-12 05:21:31,983 [ConsoleThread] INFO OpenSim.Region.OptionalModules.Avatar.FlexiGroups.NativeGroupDataProvider - [GROUPS]: Testing connection failed. 2016-06-12 05:21:31,989 [ConsoleThread] INFO OpenSim.Region.OptionalModules.Avatar.FlexiGroups.XmlRpcGroupsMessaging - [GROUPS-MESSAGING]: Initializing XmlRpcGroupsMessaging 2016-06-12 05:21:31,993 [ConsoleThread] INFO OpenSim.Region.OptionalModules.Avatar.FlexiGroups.XmlRpcGroupsMessaging - [GROUPS-MESSAGING]: XmlRpcGroupsMessaging starting up 2016-06-12 05:21:32,007 [ConsoleThread] ERROR OpenSim.Region.CoreModules.ServiceConnectors.User.LocalUserServicesConnector - [USER CONNECTOR]: UserService missing from Halcyon.ini 2016-06-12 05:21:32,018 [ConsoleThread] ERROR OpenSim.Region.CoreModules.Asset.CoreAssetCache - [ASSET CACHE]: AssetCache missing from Halcyon.ini 2016-06-12 05:21:32,046 [ConsoleThread] INFO OpenSim.Region.CoreModules.Capabilities.SimulatorFeaturesModule - [SimulatorFeatures]: mesh=True physMat=False exp=True map='http://127.0.0.1:9000/' search='http://127.0.0.1:9000/' 2016-06-12 05:21:32,075 [ConsoleThread] INFO OpenSim.Framework.Communications.Cache.LibraryRootFolder - [LIBRARY INVENTORY]: Loading library control file ./inventory/Libraries.xml 2016-06-12 05:21:32,868 [ConsoleThread] INFO OpenSim.Framework.PluginLoader1 - [PLUGINS]: Loading extension point /OpenSim/InventoryStorage 2016-06-12 05:21:32,875 [ConsoleThread] INFO OpenSim.Framework.PluginLoader1 - [PLUGINS]: Trying plugin /OpenSim/InventoryStorage/InWorldzCassandra 2016-06-12 05:21:32,878 [ConsoleThread] INFO OpenSim.Framework.PluginLoader1 - [PLUGINS]: Plugin Loaded: InWorldz.Data.Inventory.Cassandra 2016-06-12 05:21:33,082 [ConsoleThread] INFO OpenSim.Framework.PluginLoader1 - [PLUGINS]: Loading extension point /OpenSim/UserData 2016-06-12 05:21:33,087 [ConsoleThread] INFO OpenSim.Framework.PluginLoader1 - [PLUGINS]: Trying plugin /OpenSim/UserData/MySQLUserData 2016-06-12 05:21:33,093 [ConsoleThread] INFO OpenSim.Framework.PluginLoader`1 - [PLUGINS]: Plugin Loaded: OpenSim.Data.MySQL 2016-06-12 05:21:34,231 [ConsoleThread] ERROR OpenSim.Application - [APPLICATION]: APPLICATION EXCEPTION DETECTED: System.UnhandledExceptionEventArgs

Exception: MySql.Data.MySqlClient.MySqlException (0x80004005): Authentication to host 'localhost' for user 'inworldz' using method 'mysql_native_password' failed with message: Access denied for user 'inworldz'@'localhost' (using password: NO) ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Access denied for user 'inworldz'@'localhost' (using password: NO) at MySql.Data.MySqlClient.MySqlStream.ReadPacket() at MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket() at MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.AuthenticationFailed(Exception ex) at MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket() at MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.Authenticate(Boolean reset) at MySql.Data.MySqlClient.NativeDriver.Open() at MySql.Data.MySqlClient.Driver.Open() at MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings) at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection() at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver() at MySql.Data.MySqlClient.MySqlPool.GetConnection() at MySql.Data.MySqlClient.MySqlConnection.Open() at OpenSim.Data.SimpleDB.MySQLSimpleDB.OpenConnection() in D:\halcyon\OpenSim\Data\SimpleDB\MySQLSimpleDB.cs:line 88 at OpenSim.Data.SimpleDB.MySQLSimpleDB..ctor(String connectionString) in D:\halcyon\OpenSim\Data\SimpleDB\MySQLSimpleDB.cs:line 73 at OpenSim.Data.SimpleDB.ConnectionFactory.GetConnection() in D:\halcyon\OpenSim\Data\SimpleDB\ConnectionFactory.cs:line 28 at OpenSim.Data.MySQL.MySQLUserData.Initialize(String connect) in D:\halcyon\OpenSim\Data\MySQL\MySQLUserData.cs:line 74 at OpenSim.Data.UserDataInitializer.Initialize(IPlugin plugin) in D:\halcyon\OpenSim\Data\IUserData.cs:line 236 at OpenSim.Framework.PluginLoader1.Load() in D:\halcyon\OpenSim\Framework\PluginLoader.cs:line 191 at OpenSim.Data.DataPluginFactory.LoadDataPlugins[T](String provider, String connect) in D:\halcyon\OpenSim\Data\DataPluginFactory.cs:line 127 at OpenSim.Framework.Communications.UserProfileManagerData.AddPlugin(String provider, String connect) in D:\halcyon\OpenSim\Framework\Communications\UserProfileManagerData.cs:line 78 at OpenSim.Framework.Communications.UserProfileManager.AddPlugin(String provider, String connect) in D:\halcyon\OpenSim\Framework\Communications\UserProfileManager.cs:line 162 at OpenSim.Region.Communications.Local.CommunicationsLocal..ctor(ConfigSettings configSettings, NetworkServersInfo serversInfo, BaseHttpServer httpServer, IAssetCache assetCache, LibraryRootFolder libraryRootFolder) in D:\halcyon\OpenSim\Region\Communications\Local\CommunicationsLocal.cs:line 59 at OpenSim.ApplicationPlugins.CreateCommsManager.CreateCommsManagerPlugin.InitializeStandaloneServices(LibraryRootFolder libraryRootFolder) in D:\halcyon\OpenSim\ApplicationPlugins\CreateCommsManager\CreateCommsManagerPlugin.cs:line 147 at OpenSim.ApplicationPlugins.CreateCommsManager.CreateCommsManagerPlugin.InitializeStandardServices(LibraryRootFolder libraryRootFolder) in D:\halcyon\OpenSim\ApplicationPlugins\CreateCommsManager\CreateCommsManagerPlugin.cs:line 132 at OpenSim.ApplicationPlugins.CreateCommsManager.CreateCommsManagerPlugin.InitializeCommsManager(OpenSimBase openSim) in D:\halcyon\OpenSim\ApplicationPlugins\CreateCommsManager\CreateCommsManagerPlugin.cs:line 122 at OpenSim.ApplicationPlugins.CreateCommsManager.CreateCommsManagerPlugin.Initialize(OpenSimBase openSim) in D:\halcyon\OpenSim\ApplicationPlugins\CreateCommsManager\CreateCommsManagerPlugin.cs:line 87 at OpenSim.ApplicationPluginInitializer.Initialize(IPlugin plugin) in D:\halcyon\OpenSim\Base\IApplicationPlugin.cs:line 62 at OpenSim.Framework.PluginLoader1.Load() in D:\halcyon\OpenSim\Framework\PluginLoader.cs:line 191 at OpenSim.Framework.PluginLoader`1.Load(String extpoint) in D:\halcyon\OpenSim\Framework\PluginLoader.cs:line 153 at OpenSim.OpenSimBase.LoadPlugins() in D:\halcyon\OpenSim\Base\OpenSimBase.cs:line 170 at OpenSim.OpenSimBase.StartupSpecific() in D:\halcyon\OpenSim\Base\OpenSimBase.cs:line 208 at OpenSim.OpenSim.StartupSpecific() in D:\halcyon\OpenSim\Base\OpenSim.cs:line 163 at OpenSim.Framework.Servers.BaseOpenSimServer.Startup() in D:\halcyon\OpenSim\Framework\Servers\BaseOpenSimServer.cs:line 300 at OpenSim.Application.Main(String[] args) in D:\halcyon\InWorldz\Halcyon\Application.cs:line 145 InnerException: MySql.Data.MySqlClient.MySqlException (0x80004005): Access denied for user 'inworldz'@'localhost' (using password: NO) at MySql.Data.MySqlClient.MySqlStream.ReadPacket() at MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket()

Application is terminating: True

Ramius1701 commented 8 years ago

Im am using Uniform Server (A lightweight mobile WAMP Server Solution)

I use it with Opensim, WhiteCore, and various web based applications with no issues

JefferyBiedermann commented 8 years ago

Holy hell, what do ya know, looks like someone is finally taking the time to look at this, cause I ran out of ideas months ago!

I ditto that:

Application is terminating: True

Ramius1701 commented 8 years ago

I did run into the [BASE HTTP SERVER]: Tip: Do you have permission to listen on port 9000?

I ran the netsh http add urlacl url=http://+:9000/ user=ramius in command line with admin privileges to resolve that error

Ramius1701 commented 8 years ago

I noticed two other things when loading:

07:14:58 - [USER CONNECTOR]: UserService missing from Halcyon.ini 07:14:58 - [ASSET CACHE]: AssetCache missing from Halcyon.ini

Ramius1701 commented 8 years ago

Found the problem: user_source = "Data Source=localhost;Database=inworldz;User ID=inworldz"

It was missing the password in Halcyon.ini file user_source = "Data Source=localhost;Database=inworldz;User ID=inworldz;password=KvGadLMtemdMC"

Restarted and i was able to create the region and then got the error that it couldnt find the Default.xml in the regions folder. Renamed the Default.xml.new to Default.xml

As i continued to get MySQL DB errors, i went through and found every line that contained "Data Source=localhost;Database=inworldz;User ID=inworldz

and made sure the password=your_password was inserted directly after User ID=inworldz and before any other options in the line..

Low and behold! It loaded!

Now i attempt to login and get this message

image 1

and in the console

08:12:15 - [LOGIN END]: Error retrieving inventory skeleton of agent 6a74df02-7c80-4617-bac6-d53ce9140dfc - OpenSim.Framework.InventoryStorageException: [LegacyMysqlInventoryStorage] Unable to retrieve folder skeleton: root folder

appurist commented 8 years ago

ok a couple of things:

First, you can create a user with a console command, and I think it creates the inventory skeleton for that user: create user [<first> [<last> [<pass> [<x> <y> [<email>]]]]] so something like: create user First Last password 1000 1000 test@bogus.com on the standalone console.

That seems to support the creation of the inventory skeleton.

Second, one thing I noticed in your halcyon.ini is that one of the database connection string settings used "DataSource=" rather than the correct "Data Source=", so find that and fix that one too ;)

JefferyBiedermann commented 8 years ago

Awesome! @Ramius1701 Thanks for posting that, did what you have done and got the same result. @jimtarber I will give that a go when I am back home on my main computer.

appurist commented 8 years ago

ok it seems it's not actually creating the inventory skeleton in spite of me being able to log in. It may be creating the root folder for the Inventory though so that the server is happy to fetch it. It looks like the only things created are the folders the viewer creates on login (Calling Cards, etc).

appurist commented 8 years ago

Hmm, the problem I'm having with a partial inventory skeleton might be specific to my setup, so hopefully one of you will have a chance to try creating the new user and logging in.

Note that the last time I tried that create user command, it didn't work in grid mode. So hopefully you are still using the default Standalone/sandbox mode.

Ramius1701 commented 8 years ago

@jimtarber Still doing some testing and thanks for finding that one DataSource= it is also in the sample as well.. I attempted to login with singularity but it crashes the viewer at the very end of connecting which may be a related cause of asset creation. I created a second user and the creation was successful but logging in causes some errors:

16:08:53 - [MySQLManager]: Inserting profile for 7448d201-fd73-47bf-b12d-d69a78097047 16:09:33 - [LOGIN BEGIN]: XMLRPC Received login request message from user 'Quinn' 'Adama'

16:09:33 - [LOGIN]: XMLRPC Client is Singularity Alpha 64 1.8.6.6807 on win 10.0.10586, start location is last 16:09:33 - [LOGIN]: Authorising user (no actual password check) 16:09:33 - [USER CACHE]: Creating agent Quinn Adama 7448d201-fd73-47bf-b12d-d69a78097047 at HOME (1000,1000) <128, 128, 100> was (0,0) <0, 0, 0> 16:09:33 - [LOGIN]: Sending user to default region 1099511628032000 instead 16:09:33 - [LOGIN]: Telling Halcyon Test @ 1000,1000 to prepare for client connection 16:09:33 - [USER DB]: No appearance found for user 7448d201-fd73-47bf-b12d-d69a78097047 16:09:34 - [INTER]: Appearance not found for Quinn Adama. Creating default. 16:09:34 - [SCENE]: Incoming root agent Quinn Adama 7448d201-fd73-47bf-b12d-d69a78097047 (circuit code 769348976): 1.8.6.6807 16:09:34 - [SCENE]: Region Halcyon Test authorized incoming root agent Quinn Adama 7448d201-fd73-47bf-b12d-d69a78097047 (circuit code 769348976) 16:09:34 - [OBJECTADD]: /CAPS/OA/c4acafb3-5d50-46f4-95dc-1d8b68387e6b/ 16:09:34 - [CAPS]: Registered seed capability /CAPS/a9947dd8-076a-4975-a0e8-6a37eb94c66e0000/ for 7448d201-fd73-47bf-b12d-d69a78097047 16:09:35 - [APERTURE]: Could not contact the aperture texture server to register caps on region Halcyon Test. Server returned error Unable to connect to the remote server 16:09:35 - [EVENTQUEUE]: Register caps for client 7448d201-fd73-47bf-b12d-d69a78097047 in region Halcyon Test 16:09:35 - [SCENE]: SetNeedsInitialAttachmentRez TRUE 16:09:35 - [REST COMM]: NewUserConnection: 1265 ms 16:09:35 - [LOGIN END]: XMLRPC Authentication of user Quinn Adama successful. Sending response to client. 16:09:36 - [LLUDPSERVER]: UCC Received for client 7448d201-fd73-47bf-b12d-d69a78097047 circuit code 769348976 16:09:36 - [SCENE]: Adding new child agent for Quinn Adama in Halcyon Test 16:09:36 - [PRESENCE]: Constructor, clients now: 2 16:09:36 - [SCENEVIEW]: Constructor, depth now: 2 16:09:37 - [SCENE PRESENCE]: CompleteMovement received for 7448d201-fd73-47bf-b12d-d69a78097047 (Quinn Adama) in region Halcyon Test 16:09:37 - [SCENE]: Upgrading child to root agent for Quinn Adama in Halcyon Test 16:09:37 - [SCENE PRESENCE]: CompleteMovement 125 ms 16:09:37 - [SCENE PRESENCE]: TriggerOnCompletedMovementToNewRegion 15 ms 16:09:38 - [PRESENCE]: Failed to notify message server of agent location for 7448d201-fd73-47bf-b12d-d69a78097047 16:09:39 - [FIREANDFORGET]: Call threw an exception MySql.Data.MySqlClient.MySqlException (0x80004005): Unable to connect to any of the specified MySQL hosts. ---> System.Net.Sockets.SocketException (0x80004005): No such host is known 16:09:39 - [SCENEVIEW]: Destructor, depth now: 1 16:09:39 - [CLIENT]: Slow job: User: Quinn Adama, Type: AgentDataUpdateRequest, 00:00:02.2991625 16:09:39 - [LLCV]: Avatar appearance update (1) for user Quinn Adama 16:09:39 - [SCENE PRESENCE]: InitialAttachmentRez for 0 attachments 16:09:39 - [CLIENT]: Quinn Adama: Job threw an exception: System.NullReferenceException: Object reference not set to an instance of an object. 16:09:42 - [LLCV]: Avatar database update (1) committing for user 7448d201-fd73-47bf-b12d-d69a78097047 16:10:07 - [BASE HTTP SERVER]: HandleRequest() threw System.Net.HttpListenerException (0x80004005): An operation was attempted on a nonexistent network connection 16:10:54 - [LLUDPSERVER]: Ack timeout, disconnecting 7448d201-fd73-47bf-b12d-d69a78097047

16:10:54 - [CLIENT]: Close has been called for Quinn Adama attached to scene Halcyon Test. Sending DisableSimulator. 16:10:54 - [CLIENT]: Waiting for all jobs to finish for Quinn Adama attached to scene Halcyon Test 16:10:54 - [CLIENT]: Jobs for Quinn Adama attached to scene Halcyon Test completed 16:10:54 - [SCENE]: Removing root agent 7448d201-fd73-47bf-b12d-d69a78097047 from region Halcyon Test 16:10:54 - [LOGOFF]: User 7448d201-fd73-47bf-b12d-d69a78097047 at (1000,1000) <128, 128, 100> was at 1099511628032000 <128, 128, 27.66182> 16:10:54 - [APERTURE]: Could not contact the aperture texture server to deregister caps on region Halcyon Test. Server returned error The given key was not present in the dictionary. 16:10:55 - [APERTURE]: Could not contact the aperture texture server to deregister caps on region Halcyon Test. Server returned error Unable to connect to the remote server 16:10:55 - [EVENTQUEUE]: Deregister caps for client 7448d201-fd73-47bf-b12d-d69a78097047 in region Halcyon Test

Ramius1701 commented 8 years ago

Now the Whip Asset Server is only displaying this and repeating every 5 seconds and during the approximate time of creating the new user nothing is displayed in Whip Asset Server

[2016-Jun-12 16:08:00] STATS Requests/sec: 0, Data Rate: 0kB/sec STATS #Requests: 0(0/sec), Positive Req: 0, Data Rate: 0kB/sec [2016-Jun-12 16:08:05] STATS Requests/sec: 0, Data Rate: 0kB/sec STATS #Requests: 0(0/sec), Positive Req: 0, Data Rate: 0kB/sec [2016-Jun-12 16:08:10] STATS Requests/sec: 0, Data Rate: 0kB/sec STATS #Requests: 0(0/sec), Positive Req: 0, Data Rate: 0kB/sec [2016-Jun-12 16:08:15] STATS Requests/sec: 0, Data Rate: 0kB/sec STATS #Requests: 0(0/sec), Positive Req: 0, Data Rate: 0kB/sec [2016-Jun-12 16:08:20] STATS Requests/sec: 0, Data Rate: 0kB/sec STATS #Requests: 0(0/sec), Positive Req: 0, Data Rate: 0kB/sec [2016-Jun-12 16:08:25] STATS Requests/sec: 0, Data Rate: 0kB/sec STATS #Requests: 0(0/sec), Positive Req: 0, Data Rate: 0kB/sec [2016-Jun-12 16:08:30] STATS Requests/sec: 0, Data Rate: 0kB/sec STATS #Requests: 0(0/sec), Positive Req: 0, Data Rate: 0kB/sec [2016-Jun-12 16:08:35] STATS Requests/sec: 0, Data Rate: 0kB/sec STATS #Requests: 0(0/sec), Positive Req: 0, Data Rate: 0kB/sec [2016-Jun-12 16:08:40] STATS Requests/sec: 0, Data Rate: 0kB/sec STATS #Requests: 0(0/sec), Positive Req: 0, Data Rate: 0kB/sec [2016-Jun-12 16:08:45] STATS Requests/sec: 0, Data Rate: 0kB/sec STATS #Requests: 0(0/sec), Positive Req: 0, Data Rate: 0kB/sec [2016-Jun-12 16:08:50] STATS Requests/sec: 0, Data Rate: 0kB/sec STATS #Requests: 0(0/sec), Positive Req: 0, Data Rate: 0kB/sec [2016-Jun-12 16:08:55] STATS Requests/sec: 0, Data Rate: 0kB/sec STATS #Requests: 0(0/sec), Positive Req: 0, Data Rate: 0kB/sec [2016-Jun-12 16:09:00] STATS Requests/sec: 0, Data Rate: 0kB/sec STATS #Requests: 0(0/sec), Positive Req: 0, Data Rate: 0kB/sec

appurist commented 8 years ago

@Ramius1701 it looks like your trouble starts with: 16:09:39 - [FIREANDFORGET]: Call threw an exception MySql.Data.MySqlClient.MySqlException (0x80004005): Unable to connect to any of the specified MySQL hosts. ---> System.Net.Sockets.SocketException (0x80004005): No such host is known So that looks like there's still a typo of some kind, in at least one of the MySQL connection strings, specifically in the "Data Source=" entry.

appurist commented 8 years ago

The 5-second WHIP stats update messages are too verbose for my liking, however they aren't a problem and in fact indicate that WHIP is ready for requests (working). You can safely ignore those once WHIP is started.

Ramius1701 commented 8 years ago

Shouldnt the Whip Asset load to a prompt? If so its not doing that

Ramius1701 commented 8 years ago

Well Halcyon does not like Singularity at all, was able to log in via Firestorm.

Below are the errors when the user (test user) logs in.

20:53:38 - [APERTURE]: Could not contact the aperture texture server to register caps on region Halcyon Test. Server returned error Unable to connect to the remote server 20:53:47 - [PRESENCE]: Failed to notify message server of agent location for 455c055f-5ebe-422c-836c-b2e97e2d2676 20:58:30 - [PRESENCE]: Failed to notify message server of agent leaving for 455c055f-5ebe-422c-836c-b2e97e2d2676 20:58:30 - [SCENE]: Removing root agent 455c055f-5ebe-422c-836c-b2e97e2d2676 from region Halcyon Test 20:58:30 - [LOGOFF]: User 455c055f-5ebe-422c-836c-b2e97e2d2676 at (1000,1000) <128, 128, 100> was at 1099511628032000 <128.7549, 126.5446, 26.03424> 20:58:31 - [APERTURE]: Could not contact the aperture texture server to deregister caps on region Halcyon Test. Server returned error The given key was not present in the dictionary.

appurist commented 8 years ago

The WHIP server console is like Apache or MySQL servers, output only, so no it doesn't go to a prompt; there are no commands -- the console just provides a visible view of the log messages.

Re the errors, are you running Aperture? It provides the textures and related assets to the viewers. Alternatively, it may be another urlacl port you need to open with netsh (I believe that is port 8000).

I wouldn't worry about the message server errors for now; you aren't running a message server if you're in standalone mode (it's built-in). However it may be trying to communicate anyway.

(I am preparing for a trip to Europe so I'm a bit hit&miss in terms of keeping an eye on this report. I'll do what I can each time I check in though.)

Ramius1701 commented 8 years ago

It is set to use_aperture_server = yes which is set by default and the port is 8000

Yes this is standalone, i haven't even attempted grid yet, figured might want to get a good set of instructions on configuration for the wiki as well as an updated Halcyon.ini and whip.cfg for future users :)

JefferyBiedermann commented 8 years ago

@Ramius1701 is right. Really need lots of good information on the wiki to help people. Hope you all can solve this, would love to get everything running smooth.

Ramius1701 commented 8 years ago

Another issue i discovered, the server will only allow you to run one region. When i was able to create the region the region_name.xml file was automatically defaulted to region_name.xml.new

mdickson commented 8 years ago

@Ramius1701 Correct. One region per instance of a region server. This is due to how PhysX works. So if you want multiple regions and crossings you are pretty much looking at grid mode.

The need to run aperture isn't well documented either. There used to be code in the region to return texture and mesh assets but at some point I believe it was changed or removed.

Sounds like Jim has gotten you much further. That's good to hear.

Ramius1701 commented 8 years ago

@mdickson @jimtarber With the help of you two and a lot of troubleshooting we got really far :)

Still have to look at the first run of the Halcyon Server though, upon creation of the very first region it crashes because the xml file in the regions folder has a .new extension (default.xml.new), you have to manually rename the file (default.xml) and relaunch the Halcyon server.

Im just stabbing in the dark here, but it could be the first cause of the later errors that are received?

mdickson commented 8 years ago

In my case I've always pre-created the region file. So there may be an issue with the console commands to do that we need to run down. If you rename it as you suggest and restart it should come up ok. If you do that what additional errors are you seeing?

Ramius1701 commented 8 years ago

After the first creation of the region file (default.xml.new) the Halcyon will crash because it cannot find the file default.xml. Renaming the default.xml.new to default.xml will resolve the issue and the launch will proceed. Is there a part in the code that not naming this correctly on first launch? I saw this problem in another thread as well