Red Hat Bugzilla – Bug 195669
adminserver setup unable to find Apache modules
Last modified: 2015-01-04 18:20:18 EST
Description of problem:
With FDS 1.0.2 (and likely all versions) on Ubuntu Dapper Drake the adminserver
setup program is unable to find the Apache modules.
From the fedora-directory-users mailing list:
Running it interactively (on Debian and Ubuntu) and then choosing the '2 -
Typical' install mode) one comes to the point the installer tries to locate the
Apache modules, then it returns:
Unable to locate Apache modules in
Press any key to continue.
In fact, the Apache modules are here on the system:
root@helix:/opt/fedora-ds/setup# ls -lsa /usr/lib/apache2/
4 drwxr-xr-x 3 root root 4096 2006-06-15 11:05 .
8 drwxr-xr-x 38 root root 8192 2006-06-15 12:02 ..
4 drwxr-xr-x 2 root root 4096 2006-06-15 11:05 modules
However if one adds 'ApacheRoot= /usr/lib/apache2' to the [admin] section of
an install.inf and one runs a silent install afterwards, there seems to be no
Now the setup program runs httpd -V in and uses the value of HTTPD_ROOT to
determine where the modules are. This doesn't work on Debian systems,
apparently. The output on Dapper is:
root@helix:/opt/fedora-ds# httpd -V
Server version: Apache/2.0.55
Server built: May 29 2006 01:44:04
Server's Module Magic Number: 20020903:11
Server compiled with....
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
Looks like we need to change setup to get the SERVER_CONFIG_FILE and parse it to
determine the server root and modules directory.
This is vastly different now in Fedora DS 1.1 and later.