Bug 42551 - Mod_mono needs to refer to ap_unixd_config for Apache2.4
Summary: Mod_mono needs to refer to ap_unixd_config for Apache2.4
Status: RESOLVED ANSWERED
Alias: None
Product: Tools
Classification: Mono
Component: other ()
Version: unspecified
Hardware: All Linux
: Normal normal
Target Milestone: Community
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-07-14 10:11 UTC by Shad
Modified: 2016-07-20 04:27 UTC (History)
4 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED ANSWERED

Description Shad 2016-07-14 10:11:29 UTC
Hello

I have recently installed mod_mono for my Ubuntu 14.04 and Apache 2.4. It now crashes my Apache server because it fails on the mod_mono.so module referring to an API that has changed from Apache2.2 to Apache 2.4. How do I remove this error without downgrading my Apache? Or where can I change this setting from my terminal?


Below is a print out of my error from Apache

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

Thanks
Comment 1 Rodrigo Kumpera 2016-07-20 01:23:59 UTC
Hi,

While we aim to fix all bugs in mono, mod-mono is not a library we actively maintain anymore. On the other hand, we encourage the community to submit fixes for such issues through a pull request on github repository.

The sources for mod_mono can be found here: https://github.com/mono/mod_mono
Comment 2 Shad 2016-07-20 04:27:05 UTC
Hey guys. Some good news. The fix for the situation is to first upgrade Ubuntu using the following command:

sudo do-release-upgrade

Then follow the instructions on the mono website and be careful to read those instructions completely and only include what is required for Ubuntu.

I upgraded from Ubuntu 14.04 to a version 15 release.