[Mono-osx] Apache don't start with mod_mono

Carlos Eduardo L. Lopes carloslopes at pollares.com
Thu Feb 11 09:40:34 EST 2010


Hi guys,

i have a MacBook and use the Apache 2.2 that comes installed in the OS.

i installed all the things needed to run the mod_mono (mono, xsp...) but
when i change my httpd.conf file and put the following configurations:

'AddType application/x-asp-net .aspx .ashx .asmx .ascx .asax .config .ascx
LoadModule mono_module libexec/apache2/mod_mono.so
MonoUnixSocket /usr/bin/mod_mono_server
{Alias /mono "/opt/local/lib/xsp/test"}'

and restart the webserver, the server don't start and the system.log show me
this error:

'Feb 11 12:28:40 ip-XXX-XX-XXX-XXX org.apache.httpd[44160]: httpd: Syntax
error on line 488 of /private/etc/apache2/httpd.conf: Cannot load
/usr/libexec/apache2/mod_mono.so into server:
dlopen(/usr/libexec/apache2/mod_mono.so, 10): Symbol not found: _strndup\n 
Referenced from: /usr/libexec/apache2/mod_mono.so\n  Expected in: flat
namespace\n
Feb 11 12:28:40 ip-XXX-XX-XXX-XXX com.apple.launchd[1]
(org.apache.httpd[44160]): Exited with exit code: 1
Feb 11 12:28:40 ip-XXX-XX-XXX-XXX com.apple.launchd[1] (org.apache.httpd):
Throttling respawn: Will start in 10 seconds'

Anyone can help me with this issue?

Thanks All.
-- 
View this message in context: http://old.nabble.com/Apache-don%27t-start-with-mod_mono-tp27545571p27545571.html
Sent from the Mono - OSX mailing list archive at Nabble.com.



More information about the Mono-osx mailing list