我在fedora 9下安装了Apache web,开始运行正常,后来我做了一些设置之后,重新启动HTTP服务,可怎么也启动不了,提示是下面这样的:
[root@localhost ~]# service httpd restart
停止 httpd: [失败]
启动 httpd:Syntax error on line 103 of /etc/httpd/conf.d/system-config-httpd.conf:
Port must be specified
[失败]
我拿了同目录下的system-config-httpd.conf.bak 覆盖了 system-config-httpd.conf 还是这样的结果 查看了系统使用的端口 没有其他程序占用80端口 麻烦哪位大哥帮忙看看 谢谢。


kaka735 于 2008-07-02 14:45:59发表:
指定之后 重启httpd服务 的错误提示
停止 httpd: [失败]
启动 httpd:(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
[失败]
110linux 于 2008-07-02 14:41:57发表:
/etc/httpd/conf.d/system-config-httpd.conf
的 103行 有错误
端口没指定 问题 改一下就好了