有人有解决这个问题的方法吗...运行 RHEL 5.6,使用 Apache httpd 2.2.3-65.el5_8,在尝试启动 Web 服务器时出现此错误:
httpd: Syntax error on line 445 of /etc/httpd/conf/httpd.conf: Syntax error on line 2 of /etc/httpd/conf/mod_jk.conf:
Cannot load /data/cf10/config/wsconfig/1/mod_jk.so into server: /data/cf10/config/wsconfig/1/mod_jk.so: undefined symbol: ap_get_server_description
我在 Google 上搜索过,有一些建议可以编译我自己的连接器,但我需要 Adobe 为 CF10 提供的连接器。此外,Adobe 网站列出了 CF10 与 Apache HTTPD 2.2.21 的兼容性,而 RedHat Enterprise 不会将版本号上调,而是在存储库中进行反向修补。任何帮助都将非常有帮助。
距离 CF10 上线(或计划上线)还有 50 天,我们确实需要一些帮助来解决这个问题。
回应这里的一位发帖者,我确实验证了我在基于 x64 OS 的系统中正在使用 x64 连接器。
Eric 要求的输出:
undefined symbol: ap_server_root (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: apr_pool_cleanup_null (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: apr_hash_get (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: ap_get_server_name (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: apr_strerror (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: ap_hook_child_init (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: apr_stat (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: apr_table_elts (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: ap_os_escape_path (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: ap_finalize_request_protocol (/data/cf10/config/wsconfig/1/mo d_jk.so)
undefined symbol: apr_pool_cleanup_register (/data/cf10/config/wsconfig/1/mo d_jk.so)
undefined symbol: apr_global_mutex_create (/data/cf10/config/wsconfig/1/mo d_jk.so)
undefined symbol: ap_rflush (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: ap_get_server_description (/data/cf10/config/wsconfig/1/mo d_jk.so)
undefined symbol: apr_thread_detach (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: apr_itoa (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: apr_global_mutex_child_init (/data/cf10/config/wsconfig/1/mo d_jk.so)
undefined symbol: apr_array_push (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: ap_sub_req_lookup_uri (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: apr_pool_create_ex (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: apr_filepath_merge (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: apr_date_parse_http (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: ap_destroy_sub_req (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: ap_mpm_query (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: apr_sockaddr_info_get (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: ap_get_server_port (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: apr_table_make (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: apr_global_mutex_lock (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: apr_thread_create (/data/cf10/config/wsconfig/1/mod_jk.so)
linux-vdso.so.1 => (0x00007ffff67fc000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b408b6f1000)
libc.so.6 => /lib64/libc.so.6 (0x00002b408b90c000)
/lib64/ld-linux-x86-64.so.2 (0x0000003ab2a00000)
undefined symbol: ap_set_last_modified (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: apr_file_open (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: apr_pvsprintf (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: ap_hook_post_config (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: apr_pstrndup (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: apr_pool_userdata_get (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: apr_time_now (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: ap_hook_handler (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: apr_hash_set (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: ap_check_cmd_context (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: apr_pool_clear (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: ap_rwrite (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: apr_psprintf (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: ap_get_status_line (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: apr_palloc (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: ap_add_common_vars (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: apr_file_write (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: apr_table_setn (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: apr_off_t_toa (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: ap_open_piped_log (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: apr_table_add (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: ap_hook_type_checker (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: apr_array_pstrcat (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: ap_run_default_port (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: ap_getword_conf (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: ap_add_version_component (/data/cf10/config/wsconfig/1/mo d_jk.so)
undefined symbol: ap_log_error (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: apr_file_inherit_set (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: ap_should_client_block (/data/cf10/config/wsconfig/1/mo d_jk.so)
undefined symbol: apr_pool_userdata_set (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: apr_sleep (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: apr_pstrdup (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: ap_get_client_block (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: ap_set_content_type (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: apr_table_get (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: ap_get_remote_host (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: ap_server_root_relative (/data/cf10/config/wsconfig/1/mo d_jk.so)
undefined symbol: apr_hash_make (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: ap_setup_client_block (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: ap_content_type_tolower (/data/cf10/config/wsconfig/1/mo d_jk.so)
undefined symbol: ap_find_path_info (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: unixd_set_global_mutex_perms (/data/cf10/config/wsconfig/1/mo d_jk.so)
undefined symbol: apr_table_set (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: apr_pstrcat (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: ap_no2slash (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: ap_update_mtime (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: apr_array_make (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: apr_global_mutex_unlock (/data/cf10/config/wsconfig/1/mo d_jk.so)
undefined symbol: apr_uri_unparse (/data/cf10/config/wsconfig/1/mod_jk.so)
undefined symbol: apr_sockaddr_ip_get (/data/cf10/config/wsconfig/1/mod_jk.so)
答案1
从 OP 迁移解决方案
以下是 Adobe 的回应和解决方案
您可以从以下位置下载连接器“RHEL_mod_jk.zip”网页链接
请注意,您可以继续安装,但最初选择不配置 Web 服务器。安装 CF 后,您可以继续使用 wsconfig 工具创建连接器<root>\ColdFusion10\cfusion\runtime\bin
。请参阅以下说明这一页
连接器到位后,您可以简单地导航到<root>\ColdFusion10\config\wsconfig\<magic_number>
文件夹并mod_jk.so
用下载的副本替换文件,然后重新启动 Apache。