Project

General

Profile

Actions

Bug #15776

closed

Upgrade of mod_ssl prevents httpd from starting on CentOS7

Added by Dylan Baars about 8 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Upgrades
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Running Katello 3.0.2 on CentOS7 successfully.

A standard patch install (yum update) upgraded the following packages,

Jul 21 22:09:46 Installed: libev-4.15-6.el7.x86_64
Jul 21 22:09:47 Installed: rubygem-daemon_controller-1.1.2-2.el7.noarch
Jul 21 22:09:47 Installed: libeio-4.19-4.el7.x86_64
Jul 21 22:09:48 Installed: passenger-4.0.53-4.el7.x86_64
Jul 21 22:09:48 Updated: httpd-tools-2.4.6-40.el7.centos.4.x86_64
Jul 21 22:09:50 Updated: httpd-2.4.6-40.el7.centos.4.x86_64
Jul 21 22:09:51 Updated: mod_passenger-4.0.53-4.el7.x86_64
Jul 21 22:09:51 Updated: 1:mod_ssl-2.4.6-40.el7.centos.4.x86_64
Jul 21 22:09:51 Updated: rubygem-smart_proxy_pulp-1.2.2-1.el7.noarch
Jul 21 22:09:54 Erased: rubygem-passenger-native-4.0.18-9.10.el7.x86_64
Jul 21 22:09:54 Erased: rubygem-passenger-native-libs-4.0.18-9.10.el7.x86_64
Jul 21 22:09:54 Erased: rubygem-passenger-4.0.18-9.10.el7.x86_64

after which httpd fails to start with the following output

[root@wellkatello /]# systemctl status httpd -l
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2016-07-22 08:20:47 NZST; 17s ago
Docs: man:httpd(8)
man:apachectl(8)
Process: 15849 ExecStop=/bin/kill -WINCH ${MAINPID} (code=exited, status=1/FAILURE)
Process: 15847 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
Main PID: 15847 (code=exited, status=1/FAILURE)

Jul 22 08:20:47 wellkatello httpd15847: [Fri Jul 22 08:20:47.399950 2016] [alias:warn] [pid 15847] AH00671: The Alias directive in /etc/httpd/conf.d/autoindex.conf at line 21 will probably never match because it overlaps an earlier Alias.
Jul 22 08:20:47 wellkatello httpd15847: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:443
Jul 22 08:20:47 wellkatello httpd15847: no listening sockets available, shutting down
Jul 22 08:20:47 wellkatello httpd15847: AH00015: Unable to open logs
Jul 22 08:20:47 wellkatello systemd1: httpd.service: main process exited, code=exited, status=1/FAILURE
Jul 22 08:20:47 wellkatello kill15849: kill: cannot find process ""
Jul 22 08:20:47 wellkatello systemd1: httpd.service: control process exited, code=exited status=1
Jul 22 08:20:47 wellkatello systemd1: Failed to start The Apache HTTP Server.
Jul 22 08:20:47 wellkatello systemd1: Unit httpd.service entered failed state.
Jul 22 08:20:47 wellkatello systemd1: httpd.service failed.
[root@wellkatello /]#

This is similar/same as http://projects.theforeman.org/issues/15380

I commented out "Listen 443 https" from /etc/httpd/conf.d/ssl.conf and the httpd service successfully starts

Actions #1

Updated by Justin Sherrill about 7 years ago

  • Translation missing: en.field_release deleted (171)
Actions #2

Updated by Eric Helms about 7 years ago

  • Status changed from New to Resolved
  • Translation missing: en.field_release set to 166

This has been resolved in latest releases please upgrade and re-open if you hit the issue again.

Actions

Also available in: Atom PDF