after installing mono from source and the steps to install mod_mono here http://r2d2.cc/2014/03/25/asp-net-mvc-under-linux-with-mono/ i ended with:
apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/mod_mono.load: Cannot load /usr/lib/apache2/modules/mod_mono.so into server: /usr/lib/apache2/modules/mod_mono.so: undefined symbol: unixd_config
on my ubuntu linux 14.10. I tried install mono-complete first, with the same error, than i tried to install from github sources. mono is working fine (c# console test), but when i try to start the apache2 server, i get this error.
Line 140 is the line where the mono_load is called. All files seems to be there. i tried to google and find the issue - but now, after 5h this is my last hope...
Does someone have an idea what i can do?
thanks for your help! mike.
Just a very late followup to this question as I ran into the same error today on Ubuntu 16.04 after mod_mono
upgraded. When searching the error, this is the first result that comes up, so I figured I'd update with what fixed it for me:
While previously, one installed the Debian 7 repos/packages for mod_mono
to use with Ubuntu, apparently there is now an Ubuntu repo. Removing the Debian 7 repos and replacing with the Ubuntu 16.04 repos solved the issue.
Here's the link to the repos:
http://www.mono-project.com/download/#download-lin-ubuntu
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With