apache22 complains of Module mod_ldap missing

Noah admin2 at enabled.com
Mon Nov 5 20:59:16 PST 2007

Hi there,

I wrote in response too soon and after uncommenting the LDAP modules I
am still running into the same issue.

I checkbox the LDAP and AUTHNZ_LDAP options and I specifically set the
options to ON in the Makefile.options file by hand and still the same
error below occurs.  what could be wrong?


I am not quite sure what is wrong if I am not building apache correctly
or if my /usr/local/etc/apache22/httpd.conf file does not have
everything configured properly.  I might be missing the installation of
a module or something in my httpd.conf

please help.  I am not sure what to try next.



Table of contents:

1) log error message
2) cat /etc/make.conf
3) LoadModules from /usr/local/etc/apache22/httpd.conf
4) cat /usr/ports/www/apache22/Makefile.options

here is the log message:
[Sun Nov 04 18:26:41 2007] [error] Module mod_ldap missing. Mod_ldap
(aka. util_ldap) must be loaded in order for mod_auth_ldap to function
properly Configuration Failed

here is my /etc/make.conf

--- snip ---

# !cat
cat /etc/make.conf
## switches for RT3
# for subversion
# for Apache

# added by use.perl 2007-11-03 20:21:58

---- snip ---

here are the modules I install:

access1# grep "LoadModule" /usr/local/etc/apache22/httpd.conf
# have to place corresponding `LoadModule' lines at this location so the
# LoadModule foo_module modules/mod_foo.so
LoadModule perl_module libexec/apache22/mod_perl.so
LoadModule authn_file_module libexec/apache22/mod_authn_file.so
LoadModule authn_dbm_module libexec/apache22/mod_authn_dbm.so
LoadModule authn_anon_module libexec/apache22/mod_authn_anon.so
LoadModule authn_default_module libexec/apache22/mod_authn_default.so
LoadModule authn_alias_module libexec/apache22/mod_authn_alias.so
LoadModule authz_host_module libexec/apache22/mod_authz_host.so
LoadModule authz_groupfile_module libexec/apache22/mod_authz_groupfile.so
LoadModule authz_user_module libexec/apache22/mod_authz_user.so
LoadModule authz_dbm_module libexec/apache22/mod_authz_dbm.so
LoadModule authnz_ldap_module libexec/apache22/mod_authnz_ldap.so
LoadModule authz_owner_module libexec/apache22/mod_authz_owner.so
LoadModule authz_default_module libexec/apache22/mod_authz_default.so
LoadModule auth_basic_module libexec/apache22/mod_auth_basic.so
LoadModule auth_digest_module libexec/apache22/mod_auth_digest.so
LoadModule file_cache_module libexec/apache22/mod_file_cache.so
LoadModule cache_module libexec/apache22/mod_cache.so
LoadModule disk_cache_module libexec/apache22/mod_disk_cache.so
LoadModule include_module libexec/apache22/mod_include.so
LoadModule filter_module libexec/apache22/mod_filter.so
LoadModule charset_lite_module libexec/apache22/mod_charset_lite.so
LoadModule deflate_module libexec/apache22/mod_deflate.so
LoadModule log_config_module libexec/apache22/mod_log_config.so
LoadModule logio_module libexec/apache22/mod_logio.so
LoadModule env_module libexec/apache22/mod_env.so
LoadModule mime_magic_module libexec/apache22/mod_mime_magic.so
LoadModule cern_meta_module libexec/apache22/mod_cern_meta.so
LoadModule expires_module libexec/apache22/mod_expires.so
LoadModule headers_module libexec/apache22/mod_headers.so
LoadModule usertrack_module libexec/apache22/mod_usertrack.so
LoadModule unique_id_module libexec/apache22/mod_unique_id.so
LoadModule setenvif_module libexec/apache22/mod_setenvif.so
LoadModule version_module libexec/apache22/mod_version.so
LoadModule ssl_module libexec/apache22/mod_ssl.so
LoadModule mime_module libexec/apache22/mod_mime.so
#LoadModule dav_module libexec/apache22/mod_dav.so
LoadModule status_module libexec/apache22/mod_status.so
LoadModule autoindex_module libexec/apache22/mod_autoindex.so
LoadModule asis_module libexec/apache22/mod_asis.so
LoadModule info_module libexec/apache22/mod_info.so
LoadModule cgi_module libexec/apache22/mod_cgi.so
#LoadModule dav_fs_module libexec/apache22/mod_dav_fs.so
LoadModule vhost_alias_module libexec/apache22/mod_vhost_alias.so
LoadModule negotiation_module libexec/apache22/mod_negotiation.so
LoadModule dir_module libexec/apache22/mod_dir.so
LoadModule imagemap_module libexec/apache22/mod_imagemap.so
LoadModule actions_module libexec/apache22/mod_actions.so
LoadModule speling_module libexec/apache22/mod_speling.so
LoadModule userdir_module libexec/apache22/mod_userdir.so
LoadModule alias_module libexec/apache22/mod_alias.so
LoadModule rewrite_module libexec/apache22/mod_rewrite.so
LoadModule php5_module        libexec/apache22/libphp5.so
LoadModule speedycgi_module   libexec/apache22/mod_speedycgi.so
#LoadModule dav_svn_module     modules/mod_dav_svn.so
#LoadModule authz_svn_module   modules/mod_authz_svn.so
LoadModule authnz_external_module libexec/apache22/mod_authnz_external.so
#LoadModule fastcgi_module     libexec/apache22/mod_fastcgi.so
LoadModule dav_module         libexec/apache22/mod_dav.so
LoadModule dav_svn_module     libexec/apache22/mod_dav_svn.so
LoadModule authz_svn_module   libexec/apache22/mod_authz_svn.so

access1# cat Makefile.options
          AUTH_BASIC "Enable mod_auth_basic" ON \
          AUTH_DIGEST "Enable mod_auth_digest" ON \
          AUTHN_FILE "Enable mod_authn_file" ON \
          AUTHN_DBD "Enable mod_authn_dbd" OFF \
          AUTHN_DBM "Enable mod_authn_dbm" ON \
          AUTHN_ANON "Enable mod_authn_anon" ON \
          AUTHN_DEFAULT "Enable mod_authn_default" ON \
          AUTHN_ALIAS "Enable mod_authn_alias" ON \
          AUTHZ_HOST "Enable mod_authz_host" ON \
          AUTHZ_GROUPFILE "Enable mod_authz_groupfile" ON \
          AUTHZ_USER "Enable mod_authz_user" ON \
          AUTHZ_DBM "Enable mod_authz_dbm" ON \
          AUTHZ_OWNER "Enable mod_authz_owner" ON \
          AUTHZ_DEFAULT "Enable mod_authz_default" ON \
          CACHE "Enable mod_cache" ON \
          DISK_CACHE "Enable mod_disk_cache" ON \
          FILE_CACHE "Enable mod_file_cache" ON \
          MEM_CACHE "Enable mod_mem_cache" OFF \
          DAV "Enable mod_dav" ON \
          DAV_FS "Enable mod_dav_fs" ON \
          BUCKETEER "Enable mod_bucketeer" OFF \
          CASE_FILTER "Enable mod_case_filter" OFF \
          CASE_FILTER_IN "Enable mod_case_filter_in" OFF \
          EXT_FILTER "Enable mod_ext_filter" OFF \
          LOG_FORENSIC "Enable mod_log_forensic" OFF \
          OPTIONAL_HOOK_EXPORT "Enable mod_optional_hook_export" OFF \
          OPTIONAL_HOOK_IMPORT "Enable mod_optional_hook_import" OFF \
          OPTIONAL_FN_IMPORT "Enable mod_optional_fn_import" OFF \
          OPTIONAL_FN_EXPORT "Enable mod_optional_fn_export" OFF \
          LDAP "Enable mod_ldap" ON \
          AUTHNZ_LDAP "Enable mod_authnz_ldap" ON \
          ACTIONS "Enable mod_actions" ON \
          ALIAS "Enable mod_alias" ON \
          ASIS "Enable mod_asis" ON \
          AUTOINDEX "Enable mod_autoindex" ON \
          CERN_META "Enable mod_cern_meta" ON \
          CGI "Enable mod_cgi" ON \
          CHARSET_LITE "Enable mod_charset_lite" ON \
          DBD "Enable mod_dbd" OFF \
          DEFLATE "Enable mod_deflate" ON \
          DIR "Enable mod_dir" ON \
          DUMPIO "Enable mod_dumpio" ON \
          ENV "Enable mod_env" ON \
          EXPIRES "Enable mod_expires" ON \
          HEADERS "Enable mod_headers" ON \
          IMAGEMAP "Enable mod_imagemap" ON \
          INCLUDE "Enable mod_include" ON \
          INFO "Enable mod_info" ON \
          LOG_CONFIG "Enable mod_log_config" ON \
          LOGIO "Enable mod_logio" ON \
          MIME "Enable mod_mime" ON \
          MIME_MAGIC "Enable mod_mime_magic" ON \
          NEGOTIATION "Enable mod_negotiation" ON \
          REWRITE "Enable mod_rewrite" ON \
          SETENVIF "Enable mod_setenvif" ON \
          SPELING "Enable mod_speling" ON \
          STATUS "Enable mod_status" ON \
          UNIQUE_ID "Enable mod_unique_id" ON \
          USERDIR "Enable mod_userdir" ON \
          USERTRACK "Enable mod_usertrack" ON \
          VHOST_ALIAS "Enable mod_vhost_alias" ON \
          FILTER "Enable mod_filter" ON \
          VERSION "Enable mod_version" ON \
          PROXY "Enable mod_proxy" OFF \
          PROXY_CONNECT "Enable mod_proxy_connect" OFF \
          PROXY_FTP "Enable mod_proxy_ftp" OFF \
          PROXY_HTTP "Enable mod_proxy_http" OFF \
          PROXY_AJP "Enable mod_proxy_ajp" OFF \
          PROXY_BALANCER "Enable mod_proxy_balancer" OFF \
          SSL "Enable mod_ssl" ON \
          SUEXEC "Enable mod_suexec" OFF \
          CGID "Enable mod_cgid" OFF \

More information about the freebsd-questions mailing list