[Mono-bugs] [Bug 71342][Blo] New - mod_mono fails in fedora fc3

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 16 Jan 2005 20:54:37 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by amitava.shee@gmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=71342

--- shadow/71342	2005-01-16 20:54:37.000000000 -0500
+++ shadow/71342.tmp.7400	2005-01-16 20:54:37.000000000 -0500
@@ -0,0 +1,85 @@
+Bug#: 71342
+Product: Mono: Tools
+Version: 1.1
+OS: other
+OS Details: Fedora FC3 - 2.6.9-1.681_FC3
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Blocker
+Component: mod_mono
+AssignedTo: gonzalo@ximian.com                            
+ReportedBy: amitava.shee@gmail.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mod_mono fails in fedora fc3
+
+MOD_MONO FAILS
+===============
+The following entry shows up in the apache log
+
+[Sun Jan 16 19:47:39 2005] [notice] Apache/2.0.52 (Fedora) configured --
+resuming normal operations
+
+** (/usr/local/bin/mod-mono-server.exe:2863): WARNING **: : mprotect
+failed: Permission denied
+
+FOLLOWING ERROR IS DISPLAYED IN THE WEB-PAGE
+============================================
+
+Server error in '/mono' application
+Description: Error processing request.
+
+Error Message: HTTP 500.
+
+Stack Trace:
+
+System.IO.FileNotFoundException: File
+'/tmp/apache-temp-aspnet/c98c3488/53092.dll' not found.
+in <0x7f4b531> (wrapper managed-to-native)
+System.Reflection.Assembly:LoadFrom (string)
+in <0x00004> (wrapper managed-to-native)
+System.Reflection.Assembly:LoadFrom (string)
+in <0x003ce> Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromFileBatch
+(System.CodeDom.Compiler.CompilerParameters,string[])
+in <0x00428> Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromDomBatch
+(System.CodeDom.Compiler.CompilerParameters,System.CodeDom.CodeCompileUnit[])
+in <0x00048> Mono.CSharp.CSharpCodeCompiler:CompileAssemblyFromDom
+(System.CodeDom.Compiler.CompilerParameters,System.CodeDom.CodeCompileUnit)
+in <0x0016d> System.Web.Compilation.CachingCompiler:Compile
+(System.Web.Compilation.BaseCompiler)
+in <0x002d9> System.Web.Compilation.BaseCompiler:GetCompiledType ()
+in <0x0027c> System.Web.Compilation.AspGenerator:GetCompiledType ()
+in <0x0006b> System.Web.UI.ApplicationFileParser:GetCompiledApplicationType
+(string,System.Web.HttpContext)
+in <0x00032> System.Web.HttpApplicationFactory:CompileApp
+(System.Web.HttpContext)
+in <0x0003a> System.Web.HttpApplicationFactory:InitializeFactory
+(System.Web.HttpContext)
+in <0x00078> System.Web.HttpApplicationFactory:GetInstance
+(System.Web.HttpContext)
+in <0x00100> System.Web.HttpRuntime:InternalExecuteRequest
+(System.Web.HttpWorkerRequest)
+
+Here's a listing of /tmp directory contents
+[root@murphy ~]# ls -ld /tmp/apache-temp-aspnet/
+drwx------  7 apache apache 4096 Jan 16 19:48 /tmp/apache-temp-aspnet/
+
+but all directories within /tmp/apache-temp-aspnet/ are empty
+[root@murphy ~]# find /tmp/apache-temp-aspnet/
+/tmp/apache-temp-aspnet/
+/tmp/apache-temp-aspnet/6c1ff2b7
+/tmp/apache-temp-aspnet/f38e948b
+/tmp/apache-temp-aspnet/c98c3488
+/tmp/apache-temp-aspnet/8778bc14
+/tmp/apache-temp-aspnet/f815f1e7
+
+and the unix socket file
+[root@murphy ~]# ls -l /tmp/mod_mono_server
+srwx------  1 apache apache 0 Jan 16 19:47 /tmp/mod_mono_server
+
+All the files/dir's above are owned by apache (unix user)
+
+BTW, this is the test site that comes bundled with xsp and runs fine in xsp