[Mono-aspnet-list] Ubuntu, mod_mono, and 2.6

Joe Dluzen jdluzen at gmail.com
Tue Mar 9 12:29:51 EST 2010


Hello all,

I recently stumbled across a bug while browsing the mailing list:
https://bugzilla.novell.com/show_bug.cgi?id=568441

I'm currently on Ubuntu 9.10 with Mono 2.4.2 using mod_mono with
Apache2, the standard out of the box packages. Although not bitten by
this bug yet, I'm proactively addressing it by determining the best
way to upgrade to Mono 2.6. I don't package things much, but I've
successfully built a Mono 2.6 package, and runs well on a number of
machines. However, it is a parallel installation in /opt.

What I'd like to know is, what is the easiest way to do this?
1. Build a giant Mono package that contains everything, and set it to
replace every every mono* and libmono* package there is? (My guess is
that this is ill advised.)
2. Reconfigure mod_mono to use the installation in /opt.
2a. This is what I am currently attempting. I've edited my virtualhost
to set the MonoServerPath (again, something I stumbled across while
not even looking for it) to the new mod-mono-server2. It starts, runs,
and has the correct 2.6 assemblies opened. However, it seems that the
old mod-mono-server2 is running at the same time, and is possibly
stepping on the other one because the output from starting Apache is:
"[crit] (13)Permission denied: Failed to attach to existing dashboard,
and removing dashboard file '/tmp/mod_mono_dashboard_XXGLOBAL_1'
failed (Operation not permitted). Further action impossible." The
permissions on the file seem fine, read and write with owner set to
www-data. I am then able to kill the old mod-mono-server2, and it
still works. The old one is not restarted.

Thoughts on how to fix this? Or do this "correctly"? Or even a new
option entirely? Or do it this way
http://lists.ximian.com/pipermail/mono-aspnet-list/2010-February/000648.html
?

In a related question, is there an easy way/command/build option to
strip the debug symbols from Mono itself?

Thanks,
Joe


More information about the Mono-aspnet-list mailing list