错误信息如下:
linux-nv03:/opt/apache/bin # ./apachectl configtest
Syntax error on line 222 of /opt/apache/conf/httpd.conf:
Cannot load /opt/apache/libexec/mod_proxy.so into server: /opt/apache/libexec/mod_proxy.so: undefined symbol: ap_proxy_ftp_canon
linux-nv03:/opt/apache/bin #
配置文件部分内容如下:
# Example:
# LoadModule foo_module libexec/mod_foo.so
LoadModule env_module libexec/mod_env.so
LoadModule config_log_module libexec/mod_log_config.so
LoadModule mime_module libexec/mod_mime.so
LoadModule negotiation_module libexec/mod_negotiation.so
LoadModule status_module libexec/mod_status.so
LoadModule includes_module libexec/mod_include.so
LoadModule autoindex_module libexec/mod_autoindex.so
LoadModule dir_module libexec/mod_dir.so
LoadModule cgi_module libexec/mod_cgi.so
LoadModule asis_module libexec/mod_asis.so
LoadModule imap_module libexec/mod_imap.so
LoadModule action_module libexec/mod_actions.so
LoadModule userdir_module libexec/mod_userdir.so
LoadModule alias_module libexec/mod_alias.so
LoadModule access_module libexec/mod_access.so
LoadModule auth_module libexec/mod_auth.so
LoadModule setenvif_module libexec/mod_setenvif.so
LoadModule proxy_module libexec/mod_proxy.so
LoadModule proxy_connect_module libexec/proxy_connect.so
LoadModule proxy_ftp_module libexec/proxy_ftp.so
LoadModule proxy_http_module libexec/proxy_http.so
# Reconstruction of the complete module list from all available modules
# (static and shared ones) to achieve correct module execution order.
# [WHENEVER YOU CHANGE THE LOADMODULE SECTION ABOVE UPDATE THIS, TOO]
ClearModuleList
AddModule mod_env.c
AddModule mod_log_config.c
AddModule mod_mime.c
AddModule mod_negotiation.c
AddModule mod_status.c
AddModule mod_include.c
AddModule mod_autoindex.c
AddModule mod_dir.c
AddModule mod_cgi.c
AddModule mod_asis.c
AddModule mod_imap.c
AddModule mod_actions.c
AddModule mod_userdir.c
AddModule mod_alias.c
AddModule mod_access.c
AddModule mod_auth.c
AddModule mod_so.c
AddModule mod_setenvif.c
AddModule mod_proxy.c
AddModule mod_proxy_connect.c
AddModule mod_proxy_ftp.c
AddModule mod_proxy_http.c
# ExtendedStatus controls whether Apache will generate "full" status
# information (ExtendedStatus On) or just basic information (ExtendedStatus
以上蓝色区域注释掉就OK了,但是我现在需要代理这个模块.....跪拜.
------解决方案--------------------------------------------------------
来接分咯