I had this problem too, exactly as the initial description and was introduced 
by itself and never solved by itself.
The trick of Maria Jose Santofimia Romero to restart apache from another 
terminal while hanging worked, but then there were still other unknown problems 
still making it impossible to run ASP.NET applications at all.
I kept postponing everything i needed it for all the time until yesterday 
getting the existing installation to work.
Because the huge error log output and on screen were not helpful, i tried 
everything on a clean Debian Jessie installation (from the first beta 
installer) and that did not work either.
I did not get the problem this bug thread topic though while installing 
libapache2-mod-mono and not on my original system either from which i tried to 
purge/reinstall various apache/mono things hoping to get it to work.
So it is possible that this bug can't be reproduced anymore.
But to finally get things to work, i ended up modifying 
/etc/mono-server4/mono-server4-hosts.conf the line:
   MonoPath default /usr/lib/mono/4.0:/usr/lib
into
   MonoPath default /usr/lib/mono/4.5:/usr/lib
Not sure why this
   https://packages.debian.org/jessie/mono-apache-server4
mentions .NET 1.1 while the above contains 4.0 but only works with 4.5.
But in case helpful here is a error log snippet of what i got when not changing 
that file:[Wed Sep 24 14:47:24.633185 2014] [core:notice] [pid 14546] AH00094: 
Command line: '/usr/sbin/apache2'
Listening on: /tmp/mod_mono_server_global
Root directory: /
Listening on: /tmp/.mod_mono_server4
Root directory: /
Stacktrace:

  at <unknown> <0xffffffff>
  at Mono.WebServer.VPathToHost.CreateHost 
(Mono.WebServer.ApplicationServer,Mono.WebServer.WebSource) <0x0007b>
  at Mono.WebServer.ApplicationServer.GetApplicationForPath 
(string,int,string,bool) <0x0013f>
  at (wrapper remoting-invoke-with-check) 
Mono.WebServer.ApplicationServer.GetApplicationForPath (string,int,string,bool) 
<0xffffffff>
  at Mono.WebServer.ModMonoWorker.GetOrCreateApplication 
(string,int,string,string) <0x001ff>
  at Mono.WebServer.ModMonoWorker.InnerRun (object) <0x0026f>
  at Mono.WebServer.ModMonoWorker.Run (object) <0x0001b>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object 
(object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

        /usr/bin/mono() [0x80fd64e]
        linux-gate.so.1(__kernel_rt_sigreturn+0) [0xb774940c]
        linux-gate.so.1(__kernel_vsyscall+0x10) [0xb7749424]
        /lib/i386-linux-gnu/i686/cmov/libc.so.6(gsignal+0x47) [0xb7542267]
        /lib/i386-linux-gnu/i686/cmov/libc.so.6(abort+0x143) [0xb7543923]
        /usr/bin/mono() [0x826d312]
        /usr/bin/mono() [0x826d381]
        /usr/bin/mono() [0x815e7be]
        /usr/bin/mono(mono_class_get_full+0xdf) [0x815f96f]
        /usr/bin/mono(mono_class_from_name+0xfc) [0x815fd9c]
        /usr/bin/mono(mono_class_from_typeref+0x171) [0x815f5a1]
        /usr/bin/mono(mono_class_get_full+0x14a) [0x815f9da]
        /usr/bin/mono(mono_class_get+0x12) [0x815fae2]
        /usr/bin/mono(mono_metadata_parse_mh_full+0x491) [0x81a1181]
        /usr/bin/mono(mono_method_get_header+0xc5) [0x8183135]
        /usr/bin/mono() [0x807f21a]
        /usr/bin/mono() [0x8066346]
        /usr/bin/mono() [0x8068389]
        /usr/bin/mono() [0x8068fa9]
        /usr/bin/mono() [0x80fe7e1]
        [0xb773403e]
        [0xb5c09150]
        [0xb5c08fdc]
        [0xb5c08c78]
        [0xb5cb6710]
        [0xb5cb630c]
        [0xb7497c9d]
        /usr/bin/mono() [0x80690a1]

Debug info from gdb:


=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

[Wed Sep 24 14:47:42.346648 2014] [:error] [pid 14555] (70014)End of file 
found: read_data failed
[Wed Sep 24 14:47:42.346757 2014] [:error] [pid 14555] Command stream 
corrupted, last command was -1

 -------  
Stine Kristiansen wrote:Can't reproduce the bug in Debian testing, is there 
anything I'm missing?

The following NEW packages will be installed:
  libapache2-mod-mono mono-apache-server{a} mono-apache-server4{a}
  mono-xsp4-base{a}
0 packages upgraded, 4 newly installed, 0 to remove and 70 not upgraded.
Need to get 252 kB of archives. After unpacking 564 kB will be used.
Do you want to continue? [Y/n/?] y
Get: 1 http://cdn.debian.net/debian/ unstable/main libapache2-mod-mono
i386 2.11+git20130708.6b73e85-4 [53.8 kB]
Get: 2 http://http.debian.net/debian/ testing/main mono-xsp4-base all
3.0.11-1 [69.0 kB]
Get: 3 http://http.debian.net/debian/ testing/main mono-apache-server4
all 3.0.11-1 [85.1 kB]
Get: 4 http://http.debian.net/debian/ testing/main mono-apache-server
all 3.0.11-1 [44.2 kB]
Fetched 252 kB in 3s (65.1 kB/s)
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
grave bugs of libapache2-mod-mono (→ 2.11+git20130708.6b73e85-4) <Outstanding>
 #731374 - libapache2-mod-mono: Installation with aptitude install
libapache2-mod-mono hangs restarting apache2.
Summary:
 libapache2-mod-mono(1 bug)
Are you sure you want to install/upgrade the above packages? [Y/n/?/...] y
Preconfiguring packages ...
Selecting previously unselected package mono-xsp4-base.
(Reading database ... 269125 files and directories currently installed.)
Preparing to unpack .../mono-xsp4-base_3.0.11-1_all.deb ...
Unpacking mono-xsp4-base (3.0.11-1) ...
Selecting previously unselected package mono-apache-server4.
Preparing to unpack .../mono-apache-server4_3.0.11-1_all.deb ...
Unpacking mono-apache-server4 (3.0.11-1) ...
Selecting previously unselected package mono-apache-server.
Preparing to unpack .../mono-apache-server_3.0.11-1_all.deb ...
Unpacking mono-apache-server (3.0.11-1) ...
Selecting previously unselected package libapache2-mod-mono.
Preparing to unpack
.../libapache2-mod-mono_2.11+git20130708.6b73e85-4_i386.deb ...
Unpacking libapache2-mod-mono (2.11+git20130708.6b73e85-4) ...
Processing triggers for man-db (2.6.7.1-1) ...
Setting up mono-xsp4-base (3.0.11-1) ...
Setting up mono-apache-server4 (3.0.11-1) ...
Setting up mono-apache-server (3.0.11-1) ...
Setting up libapache2-mod-mono (2.11+git20130708.6b73e85-4) ...
Using mono-apache-server4...
Processing triggers for libc-bin (2.19-9) ...

Current status: 0 new [-17].


-- 
Braiam Peguero

                                          

Reply via email to