Can not start httpd (apache), missing mod_dnssd.so

Bug #1737972 reported by Dimitrij Mijoski
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-user-share (Ubuntu)
Fix Released
Undecided
Unassigned
smokeping (Ubuntu)
New
Undecided
Unassigned

Bug Description

OS: Ubuntu 17.10
Version: 3.14.2-2ubuntu5

Steps to reproduce:

1. Open terminal and run:
gnome-file-share-properties

2. Tick Share public files on network

3. In terminal see the error message:
apache2: Syntax error on line 21 of /usr/share/gnome-user-share/dav_user_2.4.conf: Cannot load /usr/lib/apache2/modules//mod_dnssd.so into server: /usr/lib/apache2/modules/mod_dnssd.so: cannot open shared object file: No such file or directory

Alternative steps to reproduce:
1. In terminal run
gnome-control-center sharing

2. Enable File sharing

3. Same message appears

Tags: artful eoan
Revision history for this message
Dimitrij Mijoski (dimztimz) wrote :

Installing libapache2-mod-dnssd resolves the issue. BUt i had to do it manually.

Ideally, when enabling the feature a window should pop that pull the needed dependencies. Same as enabling the samba sharing.

tags: added: artful
Revision history for this message
Jeremy Bícha (jbicha) wrote :

gnome-user-share depends on libapache2-mod-dnssd in Ubuntu 18.04 LTS.

Ubuntu 17.10 is no longer supported so I am closing this bug.

https://wiki.ubuntu.com/Releases

Changed in gnome-user-share (Ubuntu):
status: New → Fix Released
Revision history for this message
Lee Jones (lag) wrote :

This is still an issue in Ubuntu 19.10 (Eoan).

Revision history for this message
Lee Jones (lag) wrote :

Setting up smokeping (2.7.3-2) ...
Installing new version of config file /etc/apache2/conf-available/smokeping.conf ...
Installing new version of config file /etc/init.d/smokeping ...
Installing new version of config file /etc/smokeping/basepage.html ...
Installing new version of config file /etc/smokeping/config.d/Presentation ...
Installing new version of config file /etc/smokeping/config.d/pathnames ...
Package apache2 is not configured yet. Will defer actions by package smokeping.
Created symlink /etc/systemd/system/multi-user.target.wants/smokeping.service → /lib/systemd/system/smokeping.service.
Setting up apache2-bin (2.4.41-1ubuntu1) ...
Setting up apache2 (2.4.41-1ubuntu1) ...
info: Executing deferred 'a2enmod cgi' for package smokeping
apache2: Syntax error on line 146 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/dnssd.load: Cannot load /usr/lib/apache2/modules/mod_dnssd.so into server: /usr/lib/apache2/modules/mod_dnssd.so: cannot open shared object file: No such file or directory
Your MPM seems to be threaded. Selecting cgid instead of cgi.
info: Executing deferred 'a2enconf smokeping' for package smokeping
Enabling conf smokeping.
Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xe" for details.
invoke-rc.d: initscript apache2, action "restart" failed.
● apache2.service - The Apache HTTP Server
   Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2019-11-28 15:01:40 GMT; 5ms ago
     Docs: https://httpd.apache.org/docs/2.4/
  Process: 16421 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)

Nov 28 15:01:40 dell systemd[1]: Starting The Apache HTTP Server...
Nov 28 15:01:40 dell apachectl[16421]: apache2: Syntax error on line 146 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/dnssd.load: Cannot load /usr/lib/apache2/modules/mod_dnssd.so into server: /usr/lib/apache2/modules/mod_dnssd.so: cannot open shared object file: No such file or directory
Nov 28 15:01:40 dell apachectl[16421]: Action 'start' failed.
Nov 28 15:01:40 dell apachectl[16421]: The Apache error log may have more information.
Nov 28 15:01:40 dell systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
Nov 28 15:01:40 dell systemd[1]: apache2.service: Failed with result 'exit-code'.
Nov 28 15:01:40 dell systemd[1]: Failed to start The Apache HTTP Server.
Processing triggers for ufw (0.36-1ubuntu3) ...
Processing triggers for systemd (242-7ubuntu3) ...
Processing triggers for man-db (2.8.7-3) ...
Processing triggers for doc-base (0.10.9) ...
Processing 1 added doc-base file...
Processing triggers for libc-bin (2.30-0ubuntu2) ...

affects: gnome-user-share (Ubuntu) → smokeping (Ubuntu)
affects: smokeping (Ubuntu) → gnome-user-share (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in smokeping (Ubuntu):
status: New → Confirmed
Lee Jones (lag)
affects: gnome-user-share → smokeping (Ubuntu)
tags: added: eoan
Revision history for this message
Mathias (mathias-de-gucht) wrote :

I have the same problem on 19.10 and can't find a fix after hours and hours of googling.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.