Environment: Mono 1.2.4, mod_mono 1.2.4, Fedora Core 5, ASP.NET 1.1, Apache/2.2.2 running virtual domains configured with Plesk 8.2.0 and autohosting with mod_mono.conf
I'm hitting a strange problem, which seems Mono-related. Yes, it's not the latest version of Mono, but as it takes time to reproduce, I'd like to see if it sounds familiar to anyone before trying an upgrade (which might itself be problematic). I have a fairly simple ASP.NET 1.1 site. If I stop Apache and clear out any files in apache-temp-aspnet-0, then start Apache again, the whole site works fine - pages get compiled, and apache-temp-aspnet-0/de7a68cf ends up with a file list like this: total 214 -rwx------ 1 apache apache 8704 Nov 27 11:18 1aeb663d.dll -rw------- 1 apache apache 1498 Nov 27 11:18 1aeb663d.dll.mdb -rwx------ 1 apache apache 7168 Nov 27 11:20 3c40786.dll -rw------- 1 apache apache 2059 Nov 27 11:20 3c40786.dll.mdb -rwx------ 1 apache apache 4096 Nov 27 11:17 3e64f299.dll -rw------- 1 apache apache 1200 Nov 27 11:17 3e64f299.dll.mdb -rwx------ 1 apache apache 9216 Nov 27 11:18 46de8d9a.dll -rw------- 1 apache apache 3146 Nov 27 11:18 46de8d9a.dll.mdb -rwx------ 1 apache apache 15872 Nov 27 11:17 476c84c3.dll -rw------- 1 apache apache 5100 Nov 27 11:17 476c84c3.dll.mdb -rwx------ 1 apache apache 7168 Nov 27 11:17 4841f265.dll -rw------- 1 apache apache 1592 Nov 27 11:17 4841f265.dll.mdb -rwx------ 1 apache apache 14848 Nov 27 11:19 491f78ae.dll -rw------- 1 apache apache 7641 Nov 27 11:19 491f78ae.dll.mdb -rwx------ 1 apache apache 5120 Nov 27 11:17 4e94031b.dll -rw------- 1 apache apache 1328 Nov 27 11:17 4e94031b.dll.mdb -rwx------ 1 apache apache 7168 Nov 27 11:18 5e57bf0d.dll -rw------- 1 apache apache 2210 Nov 27 11:18 5e57bf0d.dll.mdb -rwx------ 1 apache apache 3072 Nov 27 11:17 5fe7fe0a.dll -rw------- 1 apache apache 470 Nov 27 11:17 5fe7fe0a.dll.mdb -rwx------ 1 apache apache 24064 Nov 27 11:18 6e6a47b6.dll -rw------- 1 apache apache 17367 Nov 27 11:18 6e6a47b6.dll.mdb -rwx------ 1 apache apache 11264 Nov 27 11:17 707735ba.dll -rw------- 1 apache apache 5672 Nov 27 11:17 707735ba.dll.mdb -rwx------ 1 apache apache 17920 Nov 27 11:17 7b13360f.dll -rw------- 1 apache apache 11599 Nov 27 11:17 7b13360f.dll.mdb -rwx------ 1 apache apache 4096 Nov 27 11:17 ab44f69.dll -rw------- 1 apache apache 1223 Nov 27 11:17 ab44f69.dll.mdb drwx------ 3 apache apache 1024 Nov 27 11:17 assembly Everything runs ok for a while. However, if I come back to the site a week or two later, the 'home' page still shows ok, but various other pages don't work, producing errors in the browser like this: [begin browser output] Server Error in '/' Application ---------------------------------------------------------------------------- ---- Compilation Error Description: Error compiling a resource required to service this request. Review your source file and modify it to fix this error. Error message: (0,0) : error CS0006: cannot find metadata file `/tmp/apache-temp-aspnet-0/de7a68cf/ac08638.dll' (0,0) : error CS0006: cannot find metadata file `/tmp/apache-temp-aspnet-0/de7a68cf/14f3306.dll' <snip> [end browser output] At that point, the directory list for apache-temp-aspnet-0/de7a68cf has radically changed, looking like this: total 57 -rwx------ 1 apache apache 5120 Dec 3 11:49 1233a162.dll -rw------- 1 apache apache 1328 Dec 3 11:49 1233a162.dll.mdb -rwx------ 1 apache apache 7168 Dec 3 11:49 13268ca6.dll -rw------- 1 apache apache 1592 Dec 3 11:49 13268ca6.dll.mdb -rwx------ 1 apache apache 4096 Dec 3 11:49 2e655069.dll -rw------- 1 apache apache 1224 Dec 3 11:49 2e655069.dll.mdb -rwx------ 1 apache apache 17920 Dec 3 11:49 5c751a64.dll -rw------- 1 apache apache 11599 Dec 3 11:49 5c751a64.dll.mdb -rwx------ 1 apache apache 3072 Dec 3 11:49 87cc349.dll -rw------- 1 apache apache 469 Dec 3 11:49 87cc349.dll.mdb If I look at my httpdocs directory and subdirectories like App_Code, none of the file timestamps shows any recent change. I thought compiled files in apache-temp-aspnet-0 would remain unchanged unless source files changed (which they haven't) or that if for some reason they all got removed (which they have) they'd get rebuilt (as some of them seem to have) rather than errors occuring. I also thought the relationship between source file name and location, and compiled file, was the result of a deterministic hashing algorithm, but given the changes in filenames above, maybe I heard that wrong. Bottom line is, what's going on with the compiled files, and why do I end up with that error page? Any leads or information much appreciated. Kevin. _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
