View Full Version : Hayes 1.8.1b problems on Windows
GregV
07-26-2007, 06:28 PM
So I tried to follow this (http://wiki.opengarden.org/User:PeteE/Windows_Installation_(Hayes)) to the letter. I get all the way through it but then when I follow the last link to the site I get the message:
Your site settings could not be loaded - this could affect your wiki's operations. Please check to ensure that Dekihost is running.
This page's contents could not be loaded.
When I run mindtouch.host.bat I get
-------------------- initializing
2007-07-26 14:07:06,721 [3576] INFO MindTouch.Dream.DreamHost - start(/host/@log,http://services.mindtouch.com/dream/stable/2007/06/atom)
[6 more like above, no errors]
2007-07-26 14:07:07,128 [3576] DEBUG MindTouch.Dream.DreamHost - (http://services.mindtouch.com/dream/stable/2007/03/storage)
[19 more like above, no errors]
2007-07-26 14:07:07,393 [3576] INFO MindTouch.Dream.Http.HttpTransport - Startup(http://localhost:8081/)
-------------------- initialized 1.2144283 secs
2007-07-26 14:07:07,565 [3576] ERROR MindTouch.Dream.DreamFeatureChain - handler for POST:local://e46d54f048cd4a7ab056e4a0dc369be5/host/load?name=mindtouch.deki failed()
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.Module.GetTypesInternal(StackCra wlMark& stackMark)
at System.Reflection.Assembly.GetTypes()
at MindTouch.Dream.DreamHost.<LoadAssembly>d__17.MoveNext()
at MindTouch.Tasking.Coroutine.<>c__DisplayClass1.<Iterate>b__0()
at MindTouch.Tasking.Task.Execute(VoidHandler handler, TaskBehavior behavior)
2007-07-26 14:07:07,596 [3576] DEBUG MindTouch.Dream.DreamMessage - Response: Internal Error(Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.Module.GetTypesInternal(StackCra wlMark& stackMark)
at System.Reflection.Assembly.GetTypes()
at MindTouch.Dream.DreamHost.<LoadAssembly>d__17.MoveNext()
at MindTouch.Tasking.Coroutine.<>c__DisplayClass1.<Iterate>b__0()
at MindTouch.Tasking.Task.Execute(VoidHandler handler, TaskBehavior behavior))
2007-07-26 14:07:07,643 [3576] DEBUG MindTouch.Dream.DreamHost - (http://services.mindtouch.com/deki/draft/2006/12/ldapdirectory)
[39 more like above, no errors]
2007-07-26 14:07:08,096 [3576] INFO MindTouch.Dream.DreamHost - start(deki,http://services.mindtouch.com/deki/draft/2006/11/dekiwiki)
2007-07-26 14:07:08,112 [3576] DEBUG MindTouch.Dream.DreamMessage - Response: Not Found()
2007-07-26 14:07:08,112 [3576] WARN MindTouch.Dream.DreamHost - start: blueprint not found(http://services.mindtouch.com/deki/draft/2006/11/dekiwiki)
2007-07-26 14:07:08,112 [3576] DEBUG MindTouch.Dream.DreamMessage - Response: Bad Request()
-------------------- ready 0.700018 secs
2007-07-26 14:08:42,715 [468] DEBUG MindTouch.Dream.Http.HttpTransport - RequestHandler: (GET,http://localhost:8081/deki/site/settings?dream.out.format=php&dream.in.host=hq-data01&dream.in.origin=192.168.0.100&apikey=aMEiFCQI4pmYVv9CkLYQEGmJ8Em8bSPr)
2007-07-26 14:08:42,731 [468] WARN MindTouch.Dream.DreamHost - ProcessRequest: feature not found(GET http://localhost:8081/deki/site/settings?dream.out.format=php&dream.in.host=hq-data01&dream.in.origin=192.168.0.100&apikey=aMEiFCQI4pmYVv9CkLYQEGmJ8Em8bSPr)
2007-07-26 14:08:42,731 [468] DEBUG MindTouch.Dream.DreamMessage - Response: Not Found()
[20 more groups of three like above]
Any ideas?
PeteE
07-26-2007, 08:33 PM
GregV - Wow...I've never seen that one before!? Can you verify that you have a file named: mindtouch.deki.dll in your wiki's bin/ directory? (I'm sure you do...)
Also, can you give us some detail about what OS you're running as well as what version of the .NET runtime?
Maybe SteveB has a better idea of what would cause dream to not be able to load the assembly....
Steve?
Thanks,
pete
GregV
07-26-2007, 10:35 PM
I have mindtouch.deki.dll.
We're running Windows Server 2003 Standard with SP2. I installed the .NET 2.0 redistributable. Afterwards I tried installing Mono 1.2.4 to no effect.
SteveB
07-26-2007, 11:59 PM
That's very strange. For some reason, .Net's fusion engine can't find the requested assembly.
Here is a resource that might help you troubleshoot:
http://blogs.msdn.com/suzcook/archive/2003/05/29/57120.aspx
Let us know what you find out! Thanks.
GregV
07-27-2007, 10:20 PM
I just tried it with Windows 2000 Server instead but it looks like .Net 2.0 doesn't support HTTPListener on that platform.
Unhandled Exception: System.PlatformNotSupportedException: Operation is not supported on this platform.
at System.Net.HttpListener..ctor()
at MindTouch.Dream.Http.HttpTransport.Startup()
at MindTouch.Dream.DreamConsoleHost.AddListener(XUri uri, String serverPath)
at MindTouch.Dream.DreamConsoleHost.ListenOn(Int32 httpPort, String[] addresses, String serverPath)
at MindTouch.Dream.DreamConsoleHost.Main(String[] args)
PeteE
07-27-2007, 10:28 PM
Ugh...that's not cool...
BTW, GregV - I'm using Server 2003 for my setup and it works fine for me. Feel free to PM me or email me at (petee at mindtouch) if you'd like me to help you troubleshoot some more.
GregV
07-31-2007, 06:46 PM
I got the fusion log from the page SteveB linked to. Here it is for the one that failed:
*** Assembly Binder Log Entry (7/31/2007 @ 2:23:05 PM) ***
The operation failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.
Assembly manager loaded from: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\msco rwks.dll
Running under executable C:\deki-hayes\web\bin\mindtouch.host.exe
--- A detailed error log follows.
=== Pre-bind state information ===
LOG: User = SFFNY\administrator
LOG: DisplayName = Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756
(Fully-specified)
LOG: Appbase = file:///C:/deki-hayes/web/bin/
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = mindtouch.host.exe
Calling assembly : mindtouch.deki, Version=1.8.0.42791, Culture=neutral, PublicKeyToken=null.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\deki-hayes\web\bin\mindtouch.host.exe.config
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\conf ig\machine.config.
LOG: Post-policy reference: Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756
LOG: GAC Lookup was unsuccessful.
LOG: Attempting download of new URL file:///C:/deki-hayes/web/bin/Mono.Posix.DLL.
LOG: Attempting download of new URL file:///C:/deki-hayes/web/bin/Mono.Posix/Mono.Posix.DLL.
LOG: Attempting download of new URL file:///C:/deki-hayes/web/bin/Mono.Posix.EXE.
LOG: Attempting download of new URL file:///C:/deki-hayes/web/bin/Mono.Posix/Mono.Posix.EXE.
LOG: All probing URLs attempted and failed.
I installed Mono and copied Mono.Posix.dll to c:\deki-hayes\web\bin and it seems to be working now. So I'm set for now with this workaround, but it might be something to continue to look into anyway.
SteveB
08-01-2007, 06:09 PM
Thanks for the feedback. There should have been a Mono.Posix.dll included in the \bin folder. That's also where the loader was looking for it. So, I'm surprised it didn't find it...
When you copied over the missing assembly, did you overwrite one or was it simply not there at all?
GregV
08-01-2007, 06:20 PM
Nope. I searched through the tree and just found a copy in src\redist, but there was none in web\bin where it was looking for it.
PeteE
08-01-2007, 06:25 PM
GregV - You're right. It looks like your Makefile doesn't copy Mono.Posix.dll to the bin directory. I believe in Debian Mono.Posix is already in the GAC so it finds it. I'll make the appropriate changes to the Makefile.
Sorry for the hassle!
thanks,
pete
jgable
08-01-2007, 10:07 PM
I am also trying to install the released version of hayes on windows. I found the missing mono dll and put it in the exe directory but still get the following. Any suggestions?
C:\deki-hayes\web\bin>mindtouch.host.bat
-------------------- initializing
2007-08-01 15:00:57,383 [2504] INFO MindTouch.Dream.DreamHost - start(/host/@log,http://services.mindtouch.com/dream/st
able/2007/06/atom)
2007-08-01 15:00:57,461 [2504] INFO MindTouch.Dream.DreamHost - start(/host/$store,http://services.mindtouch.com/dream/
stable/2007/03/storage)
2007-08-01 15:00:57,477 [2504] INFO MindTouch.Dream.DreamHost - start(/host/$store/@log,http://services.mindtouch.com/d
ream/stable/2007/06/atom)
2007-08-01 15:00:57,492 [2504] INFO MindTouch.Dream.DreamHost - start(/host/$blueprints,http://services.mindtouch.com/d
ream/stable/2007/03/directory)
2007-08-01 15:00:57,508 [2504] INFO MindTouch.Dream.DreamHost - start(/host/$blueprints/@log,http://services.mindtouch.
com/dream/stable/2007/06/atom)
2007-08-01 15:00:57,508 [2504] INFO MindTouch.Dream.DreamHost - start(/host/$blueprints/events,http://services.mindtouc
h.com/dream/stable/2007/03/events)
2007-08-01 15:00:57,523 [2504] INFO MindTouch.Dream.DreamHost - start(/host/$blueprints/events/@log,http://services.min
dtouch.com/dream/stable/2007/06/atom)
2007-08-01 15:00:57,555 [2504] DEBUG MindTouch.Dream.DreamHost - (http://services.mindtouch.com/dream/stable/200
7/03/storage)
2007-08-01 15:00:57,570 [2504] DEBUG MindTouch.Dream.DreamHost - (MindTouch.Dream.Services.StorageService)
2007-08-01 15:00:57,586 [2504] DEBUG MindTouch.Dream.DreamHost - (http://services.mindtouch.com/dream/stable/200
7/03/directory)
2007-08-01 15:00:57,586 [2504] DEBUG MindTouch.Dream.DreamHost - (MindTouch.Dream.Services.DirectoryService)
2007-08-01 15:00:57,586 [2504] DEBUG MindTouch.Dream.DreamHost - (http://services.mindtouch.com/dream/stable/200
7/06/atom)
2007-08-01 15:00:57,586 [2504] DEBUG MindTouch.Dream.DreamHost - (MindTouch.Dream.Services.AtomService)
2007-08-01 15:00:57,602 [2504] DEBUG MindTouch.Dream.DreamHost - (http://services.mindtouch.com/dream/draft/2006
/11/mount)
2007-08-01 15:00:57,617 [2504] DEBUG MindTouch.Dream.DreamHost - (MindTouch.Dream.Services.MountService)
2007-08-01 15:00:57,617 [2504] DEBUG MindTouch.Dream.DreamHost - (http://services.mindtouch.com/dream/draft/2006
/11/mountfilesystem)
2007-08-01 15:00:57,617 [2504] DEBUG MindTouch.Dream.DreamHost - (MindTouch.Dream.Services.MountFileSystemServic
e)
2007-08-01 15:00:57,633 [2504] DEBUG MindTouch.Dream.DreamHost - (http://services.mindtouch.com/dream/stable/200
7/03/host)
2007-08-01 15:00:57,633 [2504] DEBUG MindTouch.Dream.DreamHost - (MindTouch.Dream.DreamHost)
2007-08-01 15:00:57,648 [2504] DEBUG MindTouch.Dream.DreamHost - (http://services.mindtouch.com/dream/stable/200
7/03/events)
2007-08-01 15:00:57,648 [2504] DEBUG MindTouch.Dream.DreamHost - (MindTouch.Dream.Services.EventsService)
2007-08-01 15:00:57,648 [2504] DEBUG MindTouch.Dream.DreamHost - (http://services.mindtouch.com/dream/stable/200
7/03/statistics)
2007-08-01 15:00:57,664 [2504] DEBUG MindTouch.Dream.DreamHost - (MindTouch.Dream.Services.StatisticsService)
2007-08-01 15:00:57,664 [2504] DEBUG MindTouch.Dream.DreamHost - (http://services.mindtouch.com/dream/stable/200
7/03/proxy)
2007-08-01 15:00:57,664 [2504] DEBUG MindTouch.Dream.DreamHost - (MindTouch.Dream.Services.RedirectService)
2007-08-01 15:00:57,664 [2504] DEBUG MindTouch.Dream.DreamHost - (http://services.mindtouch.com/dream/draft/2007
/07/storage.private)
2007-08-01 15:00:57,680 [2504] DEBUG MindTouch.Dream.DreamHost - (MindTouch.Dream.Services.PrivateStorageService
)
2007-08-01 15:00:57,680 [2504] INFO MindTouch.Dream.Http.HttpTransport - Startup(http://localhost:8081/)
-------------------- initialized 0.5178542 secs
2007-08-01 15:00:57,773 [2504] ERROR MindTouch.Dream.DreamFeatureChain - handler for POST:local://ef1323146f9a4aafa94b73
3e896b4b48/host/load?name=mindtouch.deki failed()
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExc
eptions property for more information.
at System.Reflection.Module.GetTypesInternal(StackCra wlMark& stackMark)
at System.Reflection.Assembly.GetTypes()
at MindTouch.Dream.DreamHost.<LoadAssembly>d__17.MoveNext()
at MindTouch.Tasking.Coroutine.<>c__DisplayClass1.<Iterate>b__0()
at MindTouch.Tasking.Task.Execute(VoidHandler handler, TaskBehavior behavior)
2007-08-01 15:00:57,789 [2504] DEBUG MindTouch.Dream.DreamMessage - Response: Internal Error(Unable to load one or more
of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.Module.GetTypesInternal(StackCra wlMark& stackMark)
at System.Reflection.Assembly.GetTypes()
at MindTouch.Dream.DreamHost.<LoadAssembly>d__17.MoveNext()
at MindTouch.Tasking.Coroutine.<>c__DisplayClass1.<Iterate>b__0()
at MindTouch.Tasking.Task.Execute(VoidHandler handler, TaskBehavior behavior))
2007-08-01 15:00:57,820 [2504] DEBUG MindTouch.Dream.DreamHost - (http://services.mindtouch.com/deki/draft/2006/
12/ldapdirectory)
2007-08-01 15:00:57,836 [2504] DEBUG MindTouch.Dream.DreamHost - (http://services.mindtouch.com/deki/stable/2007
/05/ldap-authentication)
2007-08-01 15:00:57,836 [2504] DEBUG MindTouch.Dream.DreamHost - (MindTouch.Deki.Services.LdapAuthenticationServ
ice)
<Snip>
2007-08-01 15:00:57,867 [2504] DEBUG MindTouch.Dream.DreamHost - (http://services.mindtouch.com/deki/draft/2007/
07/wordpress-authentication)
2007-08-01 15:00:57,867 [2504] DEBUG MindTouch.Dream.DreamHost - (MindTouch.Wordpress.WordPressAuthenticationSer
vice)
2007-08-01 15:00:57,883 [2504] DEBUG MindTouch.Dream.DreamHost - (http://services.mindtouch.com/deki/draft/2007/
06/digg)
2007-08-01 15:00:57,883 [2504] DEBUG MindTouch.Dream.DreamHost - (MindTouch.Deki.Services.DiggService)
2007-08-01 15:00:57,883 [2504] DEBUG MindTouch.Dream.DreamHost - (http://services.mindtouch.com/deki/draft/2007/
06/flickr)
2007-08-01 15:00:57,898 [2504] DEBUG MindTouch.Dream.DreamHost - (MindTouch.Deki.Services.FlickrService)
2007-08-01 15:00:57,898 [2504] DEBUG MindTouch.Dream.DreamHost - (http://services.mindtouch.com/deki/draft/2007/
06/google)
2007-08-01 15:00:57,898 [2504] DEBUG MindTouch.Dream.DreamHost - (MindTouch.Deki.Services.GoogleService)
2007-08-01 15:00:57,914 [2504] DEBUG MindTouch.Dream.DreamHost - (http://services.mindtouch.com/deki/draft/2007/
06/yahoo)
2007-08-01 15:00:57,914 [2504] DEBUG MindTouch.Dream.DreamHost - (MindTouch.Deki.Services.YahooService)
2007-08-01 15:00:57,914 [2504] DEBUG MindTouch.Dream.DreamHost - (http://services.mindtouch.com/deki/draft/2007/
06/widgetbox)
2007-08-01 15:00:57,914 [2504] DEBUG MindTouch.Dream.DreamHost - (MindTouch.Deki.Services.WidgetBoxService)
2007-08-01 15:00:57,930 [2504] DEBUG MindTouch.Dream.DreamHost - (http://services.mindtouch.com/deki/draft/2007/
06/gabbly)
2007-08-01 15:00:57,930 [2504] DEBUG MindTouch.Dream.DreamHost - (MindTouch.Deki.Services.GabblyService)
2007-08-01 15:00:57,945 [2504] DEBUG MindTouch.Dream.DreamHost - (http://services.mindtouch.com/deki/draft/2007/
06/graphviz)
2007-08-01 15:00:57,945 [2504] DEBUG MindTouch.Dream.DreamHost - (MindTouch.Deki.Services.GraphvizService)
2007-08-01 15:00:57,961 [2504] DEBUG MindTouch.Dream.DreamHost - (http://services.mindtouch.com/deki/draft/2007/
06/math)
2007-08-01 15:00:57,961 [2504] DEBUG MindTouch.Dream.DreamHost - (MindTouch.Deki.Services.MathService)
2007-08-01 15:00:57,961 [2504] DEBUG MindTouch.Dream.DreamHost - (http://services.mindtouch.com/deki/draft/2007/
06/media)
2007-08-01 15:00:57,977 [2504] DEBUG MindTouch.Dream.DreamHost - (MindTouch.Deki.Services.MediaService)
2007-08-01 15:00:57,977 [2504] DEBUG MindTouch.Dream.DreamHost - (http://services.mindtouch.com/deki/draft/2007/
06/mysql)
2007-08-01 15:00:57,977 [2504] DEBUG MindTouch.Dream.DreamHost - (MindTouch.Deki.Services.MySqlService)
2007-08-01 15:00:57,992 [2504] DEBUG MindTouch.Dream.DreamHost - (http://services.mindtouch.com/deki/draft/2007/
06/imagemagick)
2007-08-01 15:00:57,992 [2504] DEBUG MindTouch.Dream.DreamHost - (MindTouch.Deki.Services.ImageMagickService)
2007-08-01 15:00:57,992 [2504] DEBUG MindTouch.Dream.DreamHost - (http://services.mindtouch.com/deki/draft/2007/
06/syntax)
2007-08-01 15:00:58,008 [2504] DEBUG MindTouch.Dream.DreamHost - (MindTouch.Deki.Services.SyntaxService)
2007-08-01 15:00:58,008 [2504] DEBUG MindTouch.Dream.DreamHost - (http://services.mindtouch.com/deki/draft/2007/
06/feed)
2007-08-01 15:00:58,008 [2504] DEBUG MindTouch.Dream.DreamHost - (MindTouch.Deki.Services.FeedService)
2007-08-01 15:00:58,055 [2504] DEBUG MindTouch.Dream.DreamHost - (http://services.mindtouch.com/deki/draft/2007/
07/windows.live)
2007-08-01 15:00:58,055 [2504] DEBUG MindTouch.Dream.DreamHost - (MindTouch.Deki.Services.WindowsLiveService)
2007-08-01 15:00:58,070 [2504] DEBUG MindTouch.Dream.DreamHost - (http://services.mindtouch.com/deki/draft/2007/
06/luceneindex)
2007-08-01 15:00:58,070 [2504] DEBUG MindTouch.Dream.DreamHost - (MindTouch.LuceneService.LuceneService)
2007-08-01 15:00:58,070 [2504] INFO MindTouch.Dream.DreamHost - start(deki,http://services.mindtouch.com/deki/draft/200
6/11/dekiwiki)
2007-08-01 15:00:58,086 [2504] DEBUG MindTouch.Dream.DreamMessage - Response: Not Found()
2007-08-01 15:00:58,086 [2504] WARN MindTouch.Dream.DreamHost - start: blueprint not found(http://services.mindtouch.co
m/deki/draft/2006/11/dekiwiki)
2007-08-01 15:00:58,086 [2504] DEBUG MindTouch.Dream.DreamMessage - Response: Bad Request()
-------------------- ready 0.39828 secs
GregV
08-01-2007, 10:11 PM
I attached the log viewer so you don't have to download the 350MB SDK to get it like I did. Follow the instructions linked to in SteveB's post to see what's going wrong.
jgable
08-01-2007, 11:34 PM
Thanks Greg but I believe I am using Mono. Does this loging work for that also?
Jerry
GregV
08-02-2007, 05:28 AM
I doubt it, but are you running the program through Mono or did you simply install it? From your post it looks like you just ran mindtouch.host.bat. Unless you edited that file to route the program through Mono I don't think you are.
I admittedly don't have any real familiarity with Mono, but from what I'm reading it is not simply a drop in replacement for .NET on Windows, meaning if you install it all .NET programs will not automatically run with that instead. You have to use Mono to start the .NET program for it to take. If you didn't edit mindtouch.host.bat to do that you're still using .NET proper and can use the log viewer.
At least that's my understanding of it so far.
SteveB
08-06-2007, 04:29 AM
GregV,
That's correct. Applications are run using .Net under Windows unless they are explicitly started using "mono appname.exe".
Powered by vBulletin™ Version 4.1.3 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.