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 Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to