After installation, an Apache instance with `ssl` mod enabled will cause a 'fail to start' error.

Bug #1311407 reported by Thomas Ward
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mod-gnutls (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

I'm not entirely certain if this is a bug, but this had never happened in Precise.

When you use the SSL mod (`a2enmod ssl`) and then install the libapache2-mod-gnutls package (the gnutls mod), Apache will no longer start, stating the following error:

(98)Address already in use: AH00072: make_sock: could not bind to address [::]:443

Further investigation on this issue led me to the `/etc/apache2/ports.conf` file which was modified to add the following, when the gnutls module was added:

<IfModule mod_gnutls.c>
 Listen 443
</IfModule>

As the installation of this package enables the gnutls module, it will cause Apache to explode. This will cause issues for users who install this package assuming that it will behave with the default `ssl` module enabled.

I have personally confirmed this three times: once on a server in a production environment, once on an EC2 instance, and once in a VBox VM that has nothing but the default apache settings on it.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: libapache2-mod-gnutls 0.5.10-4
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
Date: Tue Apr 22 20:47:38 2014
InstallationDate: Installed on 2014-04-23 (0 days ago)
InstallationMedia: Ubuntu-Server 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.2)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: mod-gnutls
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Thomas Ward (teward) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in mod-gnutls (Ubuntu):
status: New → Confirmed
Thomas Ward (teward)
Changed in mod-gnutls (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Dawning (dawning) wrote :

Yup, this is giving me a headache too. I think the central issue is that I also have modssl enabled and in /etc/apache2/ports.conf with ssl enabled, it then opens 443 for listening, so then if gnutls is also enabled, I tries to open 443 a second time. I've commented one of my Listen 443 directives and I *think* I'm okay now.

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.