LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 536|回复: 4

Fedora 16无法启动web服务

[复制链接]
发表于 2012-2-2 16:18:03 | 显示全部楼层 |阅读模式
用[root@isuzu ~]# yum install httpd完成了Apache服务器的安装并通过[root@isuzu ~]# systemctl enable httpd.service启动(也试过其它方式启动/etc/init.d/httpd start)未提示失败,以为成功,访问http://127.0.0.1和http://localh ... d的状态如下:
[root@isuzu ~]# service httpd status
httpd.service - The Apache HTTP Server (prefork MPM)
          Loaded: loaded (/lib/systemd/system/httpd.service; disabled)
          Active: failed since Thu, 02 Feb 2012 15:27:50 +0800; 3min 17s ago
         Process: 9190 ExecStop=/usr/sbin/httpd $OPTIONS -k stop (code=exited, status=0/SUCCESS)
         Process: 9188 ExecStart=/usr/sbin/httpd $OPTIONS -k start (code=exited, status=0/SUCCESS)
        Main PID: 9189 (code=exited, status=1/FAILURE)
          CGroup: name=systemd:/system/httpd.service
请教各位可知是何原因,望指教。
发表于 2012-2-3 16:51:46 | 显示全部楼层
看日志~
/var/log/httpd/error_log
回复 支持 反对

使用道具 举报

发表于 2012-2-4 10:03:12 | 显示全部楼层
刚发现我这有个fedora16也是无法启动httpd,好像有个perl组件出问题了…
yum update下就没事了~
回复 支持 反对

使用道具 举报

发表于 2012-2-13 11:36:33 | 显示全部楼层
Post by ebird98;2159508
看日志~
/var/log/httpd/error_log
要养成看日志的习惯。

突然发现,好久没来了啊。。都挺能潜的啊。
回复 支持 反对

使用道具 举报

发表于 2012-2-13 11:40:58 | 显示全部楼层
看看潜了多久。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表