【发布时间】:2012-01-18 22:23:38
【问题描述】:
我开始在 VirtualBox VM 上全新安装 Fedora 15,并尝试安装 Zend Server CE。要安装,我将 Zend 存储库添加到 yum 并运行:
sudo yum install zend-server-ce-php-5.3
安装本身似乎进行得很好。我按照指示在http://localhost:10081/ZendServer 打开了浏览器。单击许可证页面并输入管理密码后,出现错误:
Failed to access Web server. Please make sure that the Web server is running and listening to the correct port
“应用程序”、“规则管理”和“管理”选项卡正常运行,但“监视器”和“服务器设置”选项卡均显示上述错误。 Web服务器没有运行是事实,但是当我尝试纠正时,我得到了另一个错误:
$ sudo service httpd start
[sudo] Password for XXXXX:
Starting httpd (via systemctl): Job failed. See system logs and 'systemctl status' for details.
[FAILED]
对于它的价值(我猜并不多),以下是消息所指的详细信息:
$ sudo tail /var/log/messages
....
Jan 17 17:24:18 M5 systemd[1]: httpd.service: control process exited, code=exited status=1
Jan 17 17:24:18 M5 systemd[1]: Unit httpd.service entered failed state.
$ systemctl status httpd.service
httpd.service - LSB: start and stop Apache HTTP Server
Loaded: loaded (/etc/rc.d/init.d/httpd)
Active: failed since Tue, 17 Jan 2012 17:24:18 -0500; 3min 44s ago
Process: 19500 ExecStart=/etc/rc.d/init.d/httpd start (code=exited, status=1/FAILURE)
CGroup: name=systemd:/system/httpd.service
诊断似乎不是很有帮助。我尝试了各种方法,例如在安装 Zend Server CE 之前安装和启动 httpd,重新安装 httpd(不好:卸载它会导致 Zend 也卸载)。 httpd 配置没有引起问题,如下输出所示:
$ /usr/sbin/apachectl configtest
Syntax OK
这是一个已知问题吗?我的下一步行动是什么?我是否开始将调试语句放在控制脚本中以查看失败的原因?我可以这样做,但我希望有人已经解决了这个问题并可以给我一个快速的解决方案。
【问题讨论】:
-
apachectl configtest显示什么? -
@Phil 好问题,但我只是得到“语法正常”。将更新我的问题以反映这一点。
标签: zend-framework apache