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 <[email protected]> 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 > [email protected] > http://lists.ximian.com/mailman/listinfo/mono-aspnet-list >
_______________________________________________ Mono-aspnet-list mailing list [email protected] http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
