设置:
我试图用Apache2.4.7在Ubuntu14.04上安装ColdFusion 9。我是认真的。别问了。
apt-get update和apt-get upgrade;libstdc++5 (但仍然收到CF无法验证是否已安装的警告);ColdFusion_9_WWEJ_linux64.bin安装CF。为了安装CF,我必须为/etc/apache2/apache2.conf创建一个名为/etc/apache2/httpd.conf的符号链接,因为CF9不允许您指定apache文件名,但除此之外,一切顺利。
问题是:
当我使用./opt/coldfusion9/bin/coldfusion start启动CF时,我得到以下消息:
There was an error while running the connector wizard
Connector installation was not successful...which是cf-connectors.sh修改我的apache2.conf的结果,告诉它加载模块/opt/coldfusion9/runtime/lib/wsconfig/1/mod_jrun22.so,然后尝试重新启动apache2.conf,但由于这个错误而失败了:
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...which中是很奇怪的,因为我的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...which告诉我缺少一个indi.properties文件,并且示例和管理服务器没有运行。我认为这是cf-connectors.sh失败的结果。
问题是:
如何使CF连接器向导成功?我在这里错过了什么?
提前感谢!
发布于 2014-09-06 10:35:44
Apache2.4.x不受Cold聚变9的支持,请参见我的答案:找不到jk.conf过程
我建议您安装Apache2.2,然后您应该能够安装连接器。
发布于 2014-09-26 12:21:31
虽然Adobe不支持Apache2.4,但是可以通过Apache2.4源代码重新编译mod_jrun模块(在对源代码做了小修改之后)。
如果你还感兴趣的话,我的博客上有完整的说明。
运行Apache2.4(Ubuntu14.04+ ColdFusion 9)
https://stackoverflow.com/questions/25671846
复制相似问题