[ubuntu-mono] [Bug 179284] Incorrect automatic configuration of mono-server2-hosts.conf

John Ryan johnryan at paradise.net.nz
Sat Dec 29 20:49:10 GMT 2007


Public bug reported:

Binary package hint: mono-apache-server2

The /usr/sbin/mono-server2-update script erroneously adds the following
line to /etc/mono-server2/mono-server2-hosts.conf:

MonoServerPath default /usr/lib/mono/2.0/mod-mono-server2.exe

instead of the correct:

MonoServerPath default /usr/bin/mod-mono-server2

/usr/lib/mono/2.0/mod-mono-server2.exe is a native Windows executable
and needs to be wrapped by the script /usr/bin/mod-mono-server2 in order
to function.

When apache attempts to start mod-mono-server2 with the incorrect
MonoServerPath, the following error is observed in the apache error log:

[Sun Dec 30 09:44:16 2007] [error] Failed running '/usr/lib/mono/2.0
/mod-mono-server2.exe --filename /tmp/.mod_mono_server2 --nonstop
--appconfigdir /etc/mono-server2 (null) (null) (null) (null) (null)
(null) (null)'. Reason: Exec format error

To fix the package, line 223 of mono-server2-update needs to be altered
from:

    print TEMPHOST "  MonoServerPath default /usr/lib/mono/2.0/mod-mono-
server2.exe\n";

to:

    print TEMPHOST "  MonoServerPath default /usr/bin/mod-mono-
server2\n";

** Affects: xsp (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Incorrect automatic configuration of mono-server2-hosts.conf
https://bugs.launchpad.net/bugs/179284
You received this bug notification because you are a member of MOTU Mono
Team, which is a bug contact for xsp in ubuntu.



More information about the Ubuntu-mono mailing list