[Mono-list] mod-mono apache issue

Vincent DiScipio vdiscipio at wooster.edu
Fri Feb 3 14:52:54 EST 2006


Jonel, 

Thanks for the quick response


xsp and mono RPM's installed from go-mono.com (* not from source *)
mod_mono-1.1.13-0.sles9.novell.i586.rpm
xsp-1.1.13-0.novell.noarch.rpm

>From the error.log 


[Fri Feb 03 14:40:26 2006] [notice] caught SIGTERM, shutting down
[Fri Feb 03 14:41:48 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Feb 03 14:41:48 2006] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Fri Feb 03 14:41:48 2006] [notice] Apache/2.0.49 (Linux/SuSE) configured -- resuming normal operations
Another mod-mono-server with the same arguments is already running.
Another mod-mono-server with the same arguments is already running.
Another mod-mono-server with the same arguments is already running.
Another mod-mono-server with the same arguments is already running.




>From the access.log

140.103.236.176 - - [03/Feb/2006:14:42:11 -0500] "GET /mdid25/ HTTP/1.1" 200 4661 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
140.103.236.176 - - [03/Feb/2006:14:42:15 -0500] "GET /mdid25/PageTemplate/stylesheet.aspx?bg=nomenu&fs=N HTTP/1.1" 200 1739 "http://mdid2.wooster.edu/mdid25/" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
140.103.236.176 - - [03/Feb/2006:14:42:22 -0500] "POST /mdid25/default.aspx HTTP/1.1" 302 189 "http://mdid2.wooster.edu/mdid25/" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
140.103.236.176 - - [03/Feb/2006:14:42:22 -0500] "GET /mdid25/flashcheck.aspx?success=agreements.aspx&maycontinue=yes&header=yes HTTP/1.1" 200 6163 "http://mdid2.wooster.edu/mdid25/" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
140.103.236.176 - - [03/Feb/2006:14:42:22 -0500] "GET /mdid25/PageTemplate/stylesheet.aspx?bg=nomenu&fs=N HTTP/1.1" 200 1739 "http://mdid2.wooster.edu/mdid25/flashcheck.aspx?success=agreements.aspx&maycontinue=yes&header=yes" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
140.103.236.176 - - [03/Feb/2006:14:42:22 -0500] "GET /mdid25/flashbin/flashtest.swf?successurl=agreements.aspx&failurl=flashcheck.aspx&contentVersion=7&contentMajorRevision=0&contentMinorRevision=0&allowFlashAutoInstall=false&key1=maycontinue&value1=yes&key2=header&value2=yes HTTP/1.1" 304 - "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
140.103.236.176 - - [03/Feb/2006:14:42:23 -0500] "GET /mdid25/agreements.aspx?flash=yes&maycontinue=yes&header=yes HTTP/1.1" 302 141 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
140.103.236.176 - - [03/Feb/2006:14:42:23 -0500] "GET /mdid25/announcements.aspx HTTP/1.1" 200 17386 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
140.103.236.176 - - [03/Feb/2006:14:42:24 -0500] "GET /mdid25/WebResource.axd?a=s&r=WebUIValidation.js HTTP/1.1" 200 9184 "http://mdid2.wooster.edu/mdid25/announcements.aspx" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
140.103.236.176 - - [03/Feb/2006:14:42:29 -0500] "POST /mdid25/announcements.aspx HTTP/1.1" 302 134 "http://mdid2.wooster.edu/mdid25/announcements.aspx" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
140.103.236.176 - - [03/Feb/2006:14:42:29 -0500] "GET /mdid25/browse.aspx HTTP/1.1" 200 19195 "http://mdid2.wooster.edu/mdid25/announcements.aspx" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
140.103.236.176 - - [03/Feb/2006:14:42:30 -0500] "GET /mdid25/PageTemplate/stylesheet.aspx?bg=menu&fs=N HTTP/1.1" 200 1733 "http://mdid2.wooster.edu/mdid25/browse.aspx" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
140.103.236.176 - - [03/Feb/2006:14:42:31 -0500] "POST /mdid25/browse.aspx HTTP/1.1" 200 19587 "http://mdid2.wooster.edu/mdid25/browse.aspx" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
140.103.236.176 - - [03/Feb/2006:14:42:32 -0500] "GET /mdid25/PageTemplate/stylesheet.aspx?bg=menu&fs=N HTTP/1.1" 200 1733 "http://mdid2.wooster.edu/mdid25/browse.aspx" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
140.103.236.176 - - [03/Feb/2006:14:42:33 -0500] "POST /mdid25/browse.aspx HTTP/1.1" 302 134 "http://mdid2.wooster.edu/mdid25/browse.aspx" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
140.103.236.176 - - [03/Feb/2006:14:42:33 -0500] "GET /mdid25/result.aspx HTTP/1.1" 200 26966 "http://mdid2.wooster.edu/mdid25/browse.aspx" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
140.103.236.176 - - [03/Feb/2006:14:42:34 -0500] "GET /mdid25/PageTemplate/stylesheet.aspx?bg=menu&fs=N HTTP/1.1" 200 1733 "http://mdid2.wooster.edu/mdid25/result.aspx" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
140.103.236.176 - - [03/Feb/2006:14:42:34 -0500] "GET /mdid25/images/owner.gif HTTP/1.1" 304 - "http://mdid2.wooster.edu/mdid25/result.aspx" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
140.103.236.176 - - [03/Feb/2006:14:42:34 -0500] "GET /mdid25/images/download.gif HTTP/1.1" 304 - "http://mdid2.wooster.edu/mdid25/result.aspx" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
140.103.236.176 - - [03/Feb/2006:14:42:34 -0500] "GET /mdid25/images/notes.gif HTTP/1.1" 304 - "http://mdid2.wooster.edu/mdid25/result.aspx" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
140.103.236.176 - - [03/Feb/2006:14:42:34 -0500] "GET /mdid25/getimage.aspx?cid=1&res=_img__1_2.jpg&format=T HTTP/1.1" 200 10230 "http://mdid2.wooster.edu/mdid25/result.aspx" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
140.103.236.176 - - [03/Feb/2006:14:43:00 -0500] "GET /mdid25/slideviewer.aspx?iid=1:2 HTTP/1.1" 200 592 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"


In the Browser window of the app

Server stack trace: in <0x000c3> System.Net.Sockets.NetworkStream:Read (System.Byte[] buffer, Int32 offset, Int32 size) in <0x00045> System.IO.BinaryReader:FillBuffer (Int32 bytes) in <0x00011> System.IO.BinaryReader:ReadInt32 () in <0x0001e> Mono.WebServer.ModMonoRequest:IsConnected () in <0x00010> Mono.WebServer.ModMonoWorker:IsConnected () in <0x00022> Mono.WebServer.BaseRequestBroker:IsConnected (Int32 requestId) in (wrapper remoting-invoke-with-check) Mono.WebServer.BaseRequestBroker:IsConnected (int) in (wrapper xdomain-dispatch) Mono.WebServer.BaseRequestBroker:IsConnected (object,byte[]&,byte[]&,int) Exception rethrown at [0]: ---> System.Net.Sockets.SocketException: Operation on non-blocking socket would block in <0x0006d> System.Net.Sockets.Socket:Receive_nochecks (System.Byte[] buf, Int32 offset, Int32 size, SocketFlags flags) in <0x00064> System.Net.Sockets.Socket:Receive (System.Byte[] buf, Int32 offset, Int32 size, SocketFlags flags) in <0x00075> System.Net.Sockets.NetworkStream:Read (System.Byte[] buffer, Int32 offset, Int32 size)--- End of inner exception stack trace --- in (wrapper xdomain-invoke) Mono.WebServer.BaseRequestBroker:IsConnected (int) in (wrapper remoting-invoke-with-check) Mono.WebServer.BaseRequestBroker:IsConnected (int) in <0x0001e> Mono.WebServer.ModMonoWorkerRequest:IsClientConnected () in <0x00021> System.Web.HttpResponse:get_IsClientConnected () in <0x006ca> Orciid.GetImage:GetImage_Init (System.Object sender, System.EventArgs e) in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs) in <0x00117> System.Web.UI.Control:OnInit (System.EventArgs e) in <0x00016> Orciid.GetImage:OnInit (System.EventArgs e) in <0x00235> System.Web.UI.Control:InitRecursive (System.Web.UI.Control namingContainer) in <0x00045> System.Web.UI.Page:InternalProcessRequest () in <0x000a1> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext context)



--------------------------------------------------------------------------------
HTTP/1.1 200 OK Date: Fri, 03 Feb 2006 19:43:00 GMT Server: Apache/2.0.49 (Linux/SuSE) Content-Length: 592 Cache-Control: private Keep-Alive: timeout=15, max=82 Connection: Keep-Alive Content-Type: text/html; charset=utf-8 




Vince DiScipio
Director Networks, Telecommunications and Systems
The College of Wooster
Wooster Oh, 44691
P - 330-263-2612
F - 330-263-2666

>>> Jonel Rienton <jonel at RientonGroup.com> 2/3/2006 2:28 PM >>>
what does your apache log tells you? before you start apache(2), do this
first:

tail the access.log and the error.log
start apache

also, what version of xsp/mod_mono are you using? were these installed
from source?

> -------- Original Message --------
> Subject: [Mono-list] mod-mono apache issue
> From: "Vincent DiScipio" <vdiscipio at wooster.edu>
> Date: Fri, February 03, 2006 10:50 am
> To: <mono-list at lists.ximian.com>
> 
> Hi, 
> 
> I am new to the list so if this has been answered please point me to the post and I will read it.
> 
> I have MONO 1.1.13 installed on SUSE Enterprise 9 and have installed mdid.  The MDID application works as expected when using the xsp webserver directly.  It throws the following error (* See below *) when using the apache mod_mono.  
> 
> Any help would be great
> vince
> 
> Here is the vhost:
> 
> Alias /mdid25/   /usr/local/mdid/mdid2-0.5.0/wwwroot/
> MonoApplications "/mdid25:/usr/local/mdid/mdid2-0.5.0/wwwroot/"
> <Directory "/usr/local/mdid/mdid2-0.5.0/wwwroot/">
> Options All 
> Order allow,deny
> Allow from all
> SetHandler mono
> DirectoryIndex default.aspx
> </Directory>
> 
> and the mod lives as /usr/lib/apache2/mod_mono.so
> 
> (* Begin error *)
> Data: 140.103.236.176 (140.103.236.176)
> Exception: System.IO.IOException: Read failure
> 
> Server stack trace: 
> in <0x000c3> System.Net.Sockets.NetworkStream:Read (System.Byte[] buffer, Int32 offset, Int32 size)
> in <0x00045> System.IO.BinaryReader:FillBuffer (Int32 bytes)
> in <0x00011> System.IO.BinaryReader:ReadInt32 ()
> in <0x0001e> Mono.WebServer.ModMonoRequest:IsConnected ()
> in <0x00010> Mono.WebServer.ModMonoWorker:IsConnected ()
> in <0x00022> Mono.WebServer.BaseRequestBroker:IsConnected (Int32 requestId)
> in (wrapper remoting-invoke-with-check) Mono.WebServer.BaseRequestBroker:IsConnected (int)
> in (wrapper xdomain-dispatch) Mono.WebServer.BaseRequestBroker:IsConnected (object,byte[]&,byte[]&,int)
> 
> Exception rethrown at [0]: 
>  ---> System.Net.Sockets.SocketException: Operation on non-blocking socket would block
> in <0x0006d> System.Net.Sockets.Socket:Receive_nochecks (System.Byte[] buf, Int32 offset, Int32 size, SocketFlags flags)
> in <0x00064> System.Net.Sockets.Socket:Receive (System.Byte[] buf, Int32 offset, Int32 size, SocketFlags flags)
> in <0x00075> System.Net.Sockets.NetworkStream:Read (System.Byte[] buffer, Int32 offset, Int32 size)--- End of inner exception stack trace ---
> 
> in (wrapper xdomain-invoke) Mono.WebServer.BaseRequestBroker:IsConnected (int)
> in (wrapper remoting-invoke-with-check) Mono.WebServer.BaseRequestBroker:IsConnected (int)
> in <0x0001e> Mono.WebServer.ModMonoWorkerRequest:IsClientConnected ()
> in <0x00021> System.Web.HttpResponse:get_IsClientConnected ()
> in <0x006ca> Orciid.GetImage:GetImage_Init (System.Object sender, System.EventArgs e)
> in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
> in <0x00117> System.Web.UI.Control:OnInit (System.EventArgs e)
> in <0x00016> Orciid.GetImage:OnInit (System.EventArgs e)
> in <0x00235> System.Web.UI.Control:InitRecursive (System.Web.UI.Control namingContainer)
> in <0x00045> System.Web.UI.Page:InternalProcessRequest ()
> in <0x000a1> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext context)
> 
> 
> Vince DiScipio
> Director Networks, Telecommunications and Systems
> The College of Wooster
> Wooster Oh, 44691
> P - 330-263-2612
> F - 330-263-2666
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com 
> http://lists.ximian.com/mailman/listinfo/mono-list 



More information about the Mono-list mailing list