#4928 Check that Apache has loaded all the required modules
Opened 9 years ago by mkosek. Modified 7 years ago

This is follow up to recent freeipa-users discussion. When a required module is missing in the httpd instance that FreeIPA uses, it may result in in a problem that is really hard to track.

ipa-server-install and ipa-replica-install should check the list of configured modules before installation starts and report error. I already put together a list of required httpd modules in related ticket #4431 (comment 10).

So this is all just about checking this list against httpd -M output.


httpd -t -D DUMP_MODULES will include dynamically-loaded modules.

JFTR, I did a quick check, and it has the same output as httpd -M:

# httpd -t -D DUMP_MODULES > /tmp/1
AH00557: httpd: apr_sockaddr_info_get() failed for ipa.example.com
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
# httpd -M > /tmp/2
AH00557: httpd: apr_sockaddr_info_get() failed for ipa.example.com
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
# diff /tmp/1 /tmp/2
#

Processing leftovers from 4.2 backlog - this ticket was found as suitable for consideration in next big feature release - 4.4.

Metadata Update from @mkosek:
- Issue assigned to someone
- Issue set to the milestone: FreeIPA 4.5 backlog

7 years ago

Login to comment on this ticket.

Metadata