设置:
我正在尝试使用 Apache 2.4.7 在 Ubuntu 14.04 上安装 ColdFusion 9。严重地。不要问。
- 启动一个安装了 LAMP 堆栈的 Vagrant Box ( xplore/ubuntu-14.04 );
- 执行
apt-get update
和apt-get upgrade
; - 已安装
libstdc++5
(但仍然收到 CF 无法验证已安装的警告); - 从
ColdFusion_9_WWEJ_linux64.bin
.
我必须创建一个符号链接来/etc/apache2/apache2.conf
调用/etc/apache2/httpd.conf
才能安装 CF,因为 CF9 不允许您指定 apache 配置文件名,但除此之外一切都很顺利。
问题:
当我使用 CF 启动时,./opt/coldfusion9/bin/coldfusion start
我收到以下消息:
There was an error while running the connector wizard
Connector installation was not successful
...这是cf-connectors.sh
修改 my的结果apache2.conf
,告诉它加载模块/opt/coldfusion9/runtime/lib/wsconfig/1/mod_jrun22.so
,然后尝试重新启动 Apache 并由于此错误而失败:
apache2: Syntax error on line 223 of /etc/apache2/apache2.conf:
Cannot load /opt/coldfusion9/runtime/lib/wsconfig/1/mod_jrun22.so into server:
/opt/coldfusion9/runtime/lib/wsconfig/1/mod_jrun22.so:
undefined symbol: ap_log_error
采取的故障排除步骤:
我跟踪了 Apache 错误日志,但这并没有多大帮助:
[mpm_prefork:notice] [pid 1516] AH00173: SIGHUP received. Attempting to restart
[mpm_prefork:notice] [pid 1516] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.3 configured -- resuming normal operations
[core:notice] [pid 1516] AH00094: Command line: '/usr/sbin/apache2'
JRun 二进制文件确实存在,在/opt/coldfusion9/runtime/bin/jrun
. 但是,我看过像这样的教程,显示它位于/opt/jrun4
...这很奇怪,因为我的 CF9 版本正在引用mod_jrun22.so
,让我相信存在版本差异。
运行./opt/coldfusion9/runtime/bin/jrun status
,我得到这个输出:
The coldfusion server is running
No jndi.properties file was found in samples's SERVER-INF directory. The JRun kernel requires JNDI information.
The samples server is not running
The admin server is not running
...这告诉我缺少indi.properties
文件,并且示例和管理服务器未运行。我认为这是cf-connectors.sh
失败的结果。
问题:
如何使 CF 连接器向导成功?我在这里想念什么?
提前致谢!