[Mono-aspnet-list] mod_mono with a custom built mono

Sergey Lobko-Lobanovsky serge.lobanovsky at gmail.com
Sun Nov 28 13:05:01 EST 2010


Hello Joe,

Get the mod_mono sources and make && make install it with the same --prefix
as your Mono installation. It'll work like a charm, or at least so it does
for me :)

Sergey.

On Sun, Nov 28, 2010 at 10:48 AM, Joe Dluzen <jdluzen at gmail.com> wrote:

> Hello all,
>
> I'm attempting to run all my ASP.NET sites on a custom built mono
> installation in /opt/mono2.8.1. I set the MonoExecutablePath
> /opt/mono2.8.1/bin/mono
> MonoServerPath /opt/mono2.8.1/bin/mod-mono-server2 accordingly, and I
> can see the correct mod-mono-server2 starting, but when Apache starts
> the mod-mono-server2 process, I get crashes such as:
> Handling exception type TypeInitializationException
>
> Message is An exception was thrown by the type initializer for
> System.Threading.Timer
> IsTerminating is set to True
> System.TypeInitializationException: An exception was thrown by the
> type initializer for System.Threading.Timer --->
> System.TypeInitializationException: An exception was thrown by the
> type initializer for Scheduler ---> System.SystemException: Thread
> creation failed.
>
>
> And gdb stack traces ending with: at (wrapper managed-to-native)
> System.Runtime.Remoting.Proxies.RealProxy.InternalGetTransparentProxy
> (System.Runtime.Remoting.Proxies.RealProxy*,string) <0x00003>
>
> and at Mono.Web.Util.SettingsMapping.LoadContents
> (System.Xml.XPath.XPathNavigator) <0xffffffff>. Full traces available
> upon request, as they were largish.
>
> But, it seems that if I run mod-mono-server2 manually (as root for
> now, I'm getting permission issues if I run as www-data, but that
> might be another topic...) all works great.
>
> Ubuntu 10.04 32bit, Mono 2.8.1.
>
> Any ideas?
>
> Thanks,
> Joe
> _______________________________________________
> Mono-aspnet-list mailing list
> Mono-aspnet-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20101128/5805a844/attachment.html 


More information about the Mono-aspnet-list mailing list