[Mono-aspnet-list] mod-mono-server4 not working with 2.11.3 (cfi)

Joe Dluzen jdluzen at gmail.com
Mon Sep 3 00:54:07 UTC 2012


Are all the components up to date including mod_mono? Command stream
corrupt seems like maybe the communication between Mono and Apache
changed, though I haven't checked the source.

Are you trying to switch parallel environments with mod_mono? It took
me forever messing with settings, in the end I had to grep through
everything to find all references to the system installed Mono, and
point it to the parallel.

> Message: 1
> Date: Sat, 1 Sep 2012 11:12:32 -0700 (PDT)
> From: cfi <fink.christoph at gmail.com>
> To: mono-aspnet-list at lists.ximian.com
> Subject: Re: [Mono-aspnet-list] mod-mono-server4 not working with
>         2.11.3
> Message-ID: <1346523152425-4656472.post at n4.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
> I just compiled 2.11.4 from git and it produces the same exception...
>
>
>
> --
> View this message in context: http://mono.1490590.n4.nabble.com/mod-mono-server4-not-working-with-2-11-3-tp4656453p4656472.html
> Sent from the Mono - ASP.NET mailing list archive at Nabble.com.
>
>
> ------------------------------
>
> Message: 2
> Date: Sun, 02 Sep 2012 11:03:03 +0200
> From: David Schmitt <david at dasz.at>
> To: mono-aspnet-list at lists.ximian.com
> Subject: Re: [Mono-aspnet-list] mod-mono-server4 not working with
>         2.11.3
> Message-ID: <504320C7.8000902 at dasz.at>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> On 2012-09-01 10:13, cfi wrote:
>> Hi,
>>
>> It somehow did cut out the <raw></raw> block from the mailing list - it
>> shows up to me when opening it in the browser, but here again:
>>
>> Worker initialization exception occurred. Continuing anyway:
>> System.MissingMethodException: Method not found:'System.Configuration.IConfigurationSectionHandler.Create'.
>
> I'm no asp.net guru, but this exception looks like someone is trying to
> use a not-implemented part of the API. When you're already at compiling
> mono, it might make sense starting to look around for this function here:
>
>>    at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection (System.String configKey) [0x00000] in<filename unknown>:0
>
> and checkout what is used here and fix that.
>
> A distinct possibility might be a custom configuration section, that
> needs to be adapted and recompiled for a new API.
>
>
> Godd hunting, D.
>
>>    at System.Configuration.ConfigurationManager.GetSection (System.String sectionName) [0x00000] in<filename unknown>:0
>>    at System.Configuration.ConfigurationManager.get_AppSettings () [0x00000] in<filename unknown>:0
>>    at Mono.WebServer.ModMonoWorkerRequest..cctor () [0x00034] in /root/mono/xsp-2.10.2/src/Mono.WebServer.Apache/ModMonoWorkerRequest.cs:85
>> System.NullReferenceException: Object reference not set to an instance of an object
>>    at Mono.WebServer.BaseApplicationHost.EndOfRequest (Mono.WebServer.MonoWorkerRequest mwr) [0x00029] in /root/mono/xsp-2.10.2/src/Mono.WebServer/BaseApplicationHost.cs:141
>>    at Mono.WebServer.ModMonoApplicationHost.ProcessRequest (Int32 reqId, System.String verb, System.String queryString, System.String path, System.String protocol, System.String localAddress, Int32 serverPort, System.String remoteAddress, Int32 remotePort, System.String remoteName, System.String[] headers, System.String[] headerValues, System.Object worker) [0x00173] in /root/mono/xsp-2.10.2/src/Mono.WebServer.Apache/ModMonoApplicationHost.cs:109
>>    at (wrapper remoting-invoke-with-check) Mono.WebServer.ModMonoApplicationHost:ProcessRequest (int,string,string,string,string,string,int,string,int,string,string[],string[],object)
>>    at Mono.WebServer.ModMonoWorker.InnerRun (System.Object state) [0x00199] in /root/mono/xsp-2.10.2/src/Mono.WebServer.Apache/ModMonoWorker.cs:239
>>    at Mono.WebServer.ModMonoWorker.Run (System.Object state) [0x00002] in /root/mono/xsp-2.10.2/src/Mono.WebServer.Apache/ModMonoWorker.cs:92
>> [Fri Aug 31 15:37:00 2012] [error] (70014)End of file found: read_data failed
>> [Fri Aug 31 15:37:00 2012] [error] Command stream corrupted, last command was -1
>> System.NullReferenceException: Object reference not set to an instance of an object
>>    at Mono.WebServer.BaseApplicationHost.EndOfRequest (Mono.WebServer.MonoWorkerRequest mwr) [0x00029] in /root/mono/xsp-2.10.2/src/Mono.WebServer/BaseApplicationHost.cs:141
>>    at Mono.WebServer.ModMonoApplicationHost.ProcessRequest (Int32 reqId, System.String verb, System.String queryString, System.String path, System.String protocol, System.String localAddress, Int32 serverPort, System.String remoteAddress, Int32 remotePort, System.String remoteName, System.String[] headers, System.String[] headerValues, System.Object worker) [0x00173] in /root/mono/xsp-2.10.2/src/Mono.WebServer.Apache/ModMonoApplicationHost.cs:109
>>    at (wrapper remoting-invoke-with-check) Mono.WebServer.ModMonoApplicationHost:ProcessRequest (int,string,string,string,string,string,int,string,int,string,string[],string[],object)
>>    at Mono.WebServer.ModMonoWorker.InnerRun (System.Object state) [0x00199] in /root/mono/xsp-2.10.2/src/Mono.WebServer.Apache/ModMonoWorker.cs:239
>>    at Mono.WebServer.ModMonoWorker.Run (System.Object state) [0x00002] in /root/mono/xsp-2.10.2/src/Mono.WebServer.Apache/ModMonoWorker.cs:92
>> [Fri Aug 31 15:37:00 2012] [error] (70014)End of file found: read_data failed
>> [Fri Aug 31 15:37:00 2012] [error] Command stream corrupted, last command was -1
>>
>>
>> regards
>> Christoph
>>
>> On Fri, Aug 31, 2012 at 11:37 PM, David Schmitt [via Mono] <[hidden
>> email] </user/SendEmail.jtp?type=node&node=4656469&i=0>> wrote:
>>
>>     On 2012-08-31 15:44, cfi wrote:
>>
>>      > Hi,
>>      >
>>      > I just compiled and installed Mono 2.11.3 (and XSP 2.10.2 and
>>     mod_mono 2.10
>>      > as there are not 2.11) on my CentOS 5.6.
>>      > I still have Mono 2.10.8 in parallel, where everything works fine.
>>      > For 2.11.3 mod-mono-server2 also works fine, but when I use
>>     mod-mono-server4
>>      > I only get a 500 Error and following in the log:
>>      >
>>      >
>>      > How can I solve this problem?
>>     You haven't pasted the log. That makes diagnosing this difficult.
>>
>>
>>     D.


More information about the Mono-aspnet-list mailing list