PDA

View Full Version : Service won't start missing System.Web



bob_dvd
09-03-2007, 07:33 AM
Hi Guys,

I am persisting with Deki on my Debian Etch hosted server, I have to say the installation instructions were almost entirely inaccurate. But I pressed on and I have made it through missing mod_proxy and "Allow from All" but now that I seem to have something running I am getting the error message:

"Your wiki is down"

So I checked the dekihost log and I get pleanty of errors, mostly indicating that System.Web is missing:
"Could not load file or assembly 'System.Web, Version=2.0.0.0,..."
"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"

I assume it is something to do with MONO_PATH, I added that to the init sh command but that didn't help. Anyone want to give me a clue?:)

Debian Etch,
Apache 2
MySQL 5

Bob

bob_dvd
09-03-2007, 08:02 AM
Ok,
It seems the default Mono install specified in one of the guides misses out System.Web 2, so I installed the mono installer from the mono project and then I had to add a MONO_PATH to point directly to the file in the new libs. Now that starts.

However now I get 400 Bad Request back from the server and it can't load settings on content.

bob_dvd
09-03-2007, 08:16 AM
Ok,

In my fight with apache I had changed the ProxyRewite rule in the deki conf to be my server name instead of localhost. Now it seems to be working!

SteveB
09-04-2007, 04:01 PM
Bob,

Welcome to the forums. Thanks for being persistent and sharing your findings!

While the wounds are still fresh in your memory, may I ask you to add clarifying instructions to the installer page?
http://wiki.opengarden.org/Deki_Wiki/Installation_and_Upgrade/1.8_%22Hayes%22_Official_Install_and_Upgrade_Guide

That would certainly help others as well. Thanks.

PeteE
09-04-2007, 04:46 PM
Ok,
It seems the default Mono install specified in one of the guides misses out System.Web 2, so I installed the mono installer from the mono project and then I had to add a MONO_PATH to point directly to the file in the new libs. Now that starts.

However now I get 400 Bad Request back from the server and it can't load settings on content.

bob_dvd - That's strange. The install instructions have:

apt-get install mono-gmcs

mono-gmcs has libmono-system-web2.0-cil as a dependency so it _should_ definitely be installed:

http://packages.debian.org/stable/devel/mono-gmcs

Jerky
12-09-2007, 05:39 PM
In vanilla Fedora 8, mono also doesn't come with all assemblies (System.web / mono-web). The fix for me was:

'yum install mono-web'

Hope that helps someone.