[ubuntu-mono] [Bug 179287] Incorrect automatic configuration of mono-server-hosts.conf
John Ryan
johnryan at paradise.net.nz
Sat Dec 29 20:52:59 UTC 2007
Public bug reported:
The /usr/sbin/mono-server-update script erroneously adds the following
line to /etc/mono-server/mono-server-hosts.conf:
MonoServerPath default /usr/lib/mono/1.0/mod-mono-server.exe
instead of the correct:
MonoServerPath default /usr/bin/mod-mono-server
/usr/lib/mono/1.0/mod-mono-server.exe is a native Windows executable and
needs to be wrapped by the script /usr/bin/mod-mono-server in order to
function.
When apache attempts to start mod-mono-server with the incorrect
MonoServerPath, an error similar to the following is observed in the
apache error log:
[Sun Dec 30 09:44:16 2007] [error] Failed running '/usr/lib/mono/1.0
/mod-mono-server.exe --filename /tmp/.mod_mono_server --nonstop
--appconfigdir /etc/mono-server (null) (null) (null) (null) (null)
(null) (null)'. Reason: Exec format error
To fix the package, line 223 of mono-server-update needs to be altered
from:
print TEMPHOST " MonoServerPath default /usr/lib/mono/1.0/mod-mono-
server.exe\n";
to:
print TEMPHOST " MonoServerPath default /usr/bin/mod-mono-
server\n";
** Affects: xsp (Ubuntu)
Importance: Undecided
Status: New
--
Incorrect automatic configuration of mono-server-hosts.conf
https://bugs.launchpad.net/bugs/179287
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