Dekiwiki
Mindtouch dekiwiki 服務在啟動時崩潰(缺少裝配錯誤)
這是在 Ubuntu 10.04 上新安裝的 Mindtouch Core。我一直在關注Mindtouch 社區網站上的安裝指南。
當我嘗試啟動 dekiwiki 服務時,它崩潰並出現以下錯誤:
** (/var/www/dekiwiki/bin/mindtouch.host.exe:14465): WARNING **: The following assembly referenced from /var/www/dekiwiki/bin/mindtouch.core.dll could not be loaded: Assembly: System.Web.Routing (assemblyref_index=2) Version: 3.5.0.0 Public Key: 31bf3856ad364e35 The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/var/www/dekiwiki/bin). ** (/var/www/dekiwiki/bin/mindtouch.host.exe:14465): WARNING **: Could not load file or assembly 'System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Unhandled Exception: MindTouch.Dream.DreamAbortException: HTTP Status: InternalError(500) Server stack trace: at MindTouch.Dream.DreamHostService+<StartService>d__68.MoveNext () [0x00000] at MindTouch.Tasking.Coroutine.Continue () [0x00000] Exception rethrown at [0]: at MindTouch.Dream.DreamHostService+<StartService>d__68.MoveNext () [0x00000] at MindTouch.Tasking.Coroutine.Continue () [0x00000] Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs) at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs) at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs) at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs) at System.Collections.Generic.List`1[MindTouch.Tasking.TaskTimerFactory].AddEnumerable (IEnumerable`1 ) [0x00000] at System.Collections.Generic.List`1[MindTouch.Tasking.TaskTimerFactory]..ctor (IEnumerable`1 ) [0x00000] at System.Linq.Enumerable.ToArray[TaskTimerFactory] (IEnumerable`1 source) [0x00000] at MindTouch.Tasking.TaskTimerFactory.get_Factories () [0x00000] at MindTouch.Tasking.TaskTimerFactory.ShutdownAll () [0x00000] at MindTouch.Dream.DreamConsoleHost.Main (System.String[] args) [0x00000]
我已經仔細檢查了,我已經安裝了 Mono 2.10,並且 System.Web.Routing 程序集肯定在那裡,Mindtouch 只是沒有找到它。
有任何想法嗎?
弄清楚了。
安裝說明底部有一條註釋,說明通過執行檢查單聲道版本
mono --version
。果然,
/usr/bin/mono
還在執行 Mono 1.x。我執行以下操作以確保 Mono 2.10 正在執行,並且一切都像魅力一樣啟動。
mv mono mono.old mv gmcs gmcs.old ln -s /opt/mono-2.10/bin/mono /usr/bin/mono ln -s /opt/mono-2.10/bin/gmcs /usr/bin/gmcs