[Mono-list] mod_mono 1 in FC2 not working on Apache 2.0.49

Igor Anikeev insider@t-k.ru
Tue, 13 Jul 2004 02:40:24 +0400


This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig4807F8B8C04CF028B7437159
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Now it says:

Server error in '/demo' application
Description: Error processing request.

Error Message: HTTP 500.

Stack Trace:

System.InvalidOperationException: Process has not been started.
in <0x0003b> System.Diagnostics.Process:get_ExitCode ()
in <0x00050> (wrapper remoting-invoke-with-check) 
System.Diagnostics.Process:get_ExitCode ()
in <0x002bd> Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromFileBatch 
(System.CodeDom.Compiler.CompilerParameters,string[])
in <0x003dc> Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromDomBatch 
(System.CodeDom.Compiler.CompilerParameters,System.CodeDom.CodeCompileUnit[])
in <0x00050> Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromDom 
(System.CodeDom.Compiler.CompilerParameters,System.CodeDom.CodeCompileUnit)
in <0x00171> System.Web.Compilation.CachingCompiler:Compile 
(System.Web.Compilation.BaseCompiler)
in <0x002f6> System.Web.Compilation.BaseCompiler:GetCompiledType ()
in <0x00251> System.Web.Compilation.AspGenerator:GetCompiledType ()
in <0x00070> 
System.Web.UI.ApplicationFileParser:GetCompiledApplicationType 
(string,System.Web.HttpContext)
in <0x00047> System.Web.HttpApplicationFactory:CompileApp 
(System.Web.HttpContext)
in <0x00032> System.Web.HttpApplicationFactory:InitializeFactory 
(System.Web.HttpContext)
in <0x00073> System.Web.HttpApplicationFactory:GetInstance 
(System.Web.HttpContext)
in <0x00132> System.Web.HttpRuntime:InternalExecuteRequest (Syst


Brent Andrewsen wrote:
> Assuming you also have this line in your httpd.conf:
> LoadModule mono_module        modules/libmod_mono.so
> 
> Try killing the mod-mono-server.exe processes, then starting it from the command line as root:
> 
> # /usr/bin/mono /usr/bin/mod-mono-server.exe --filename /tmp/mod_mono_server --applications /demo:/usr/share/doc/xsp/test --nonstop &
> 
> Then chown the /tmp/mod_mono_server file to the web server user:
> # chown wwwuser.wwwuser /tmp/mod_mono_server
> 
> Brent
> 
> 
>>>>Igor Anikeev <insider@t-k.ru> 7/12/2004 3:44:16 PM >>>
> 
> Hi,
> 
> I have Apache 2.0.49 installed and compiled mod)mono from ximian site as 
> needed. Make install added the line loading the module. Now I added 
> the following to the server configuration:
> 
> Alias /demo "/usr/share/doc/xsp/test"
> MonoApplications "/demo:/usr/share/doc/xsp/test"
> <Directory /usr/share/doc/xsp/test>
> SetHandler mono
> </Directory>
> 
> After that I'm supposed to get a list of examples at 
> http://localhost/demo/index.aspx bu all I get is:
> 
> Service Temporarily Unavailable
> 
> The server is temporarily unable to service your request due to 
> maintenance downtime or capacity problems. Please try again later.
> Apache/2.0.49 (Fedora) Server at localhost Port 80
> 
> Any ideas?
> 


-- 
Best regards,
Igor Anikeev

jabber://unicursal@jabber.org
ICQ #312483023

--------------enig4807F8B8C04CF028B7437159
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFA8xNZcwLcEiPXYHMRAujgAJ42VQKT0hgLw8Z8xTGpgYtGetJ8HQCeLSdz
aU9ea/akL1ULIsj+CHR8ES4=
=7Xy/
-----END PGP SIGNATURE-----

--------------enig4807F8B8C04CF028B7437159--