论坛风格切换切换到宽版
  • 781阅读
  • 7回复

[问题求助][CentOS] apache的问题。 [复制链接]

上一主题 下一主题
 
发帖
1934
C币
-152941
威望
334
贡献值
1
银元
-1
铜钱
4244
人人网人气币
0
只看楼主 倒序阅读 使用道具 楼主  发表于: 2009-05-01
Apache已安装。但无法运行。 service http.d  start .提示:(        游戏          )
启动 httpd:httpd: Could not reliably determine. the serve.r's fully qualified domain name, using 123.233.118.182 for ServerNam.e投资
(13)Permission denied: make_sock: could not bin.d to address .[::]:80投资
(13)Permission denied: make_sock: could not bind to addre.ss .0.0.0.0:80             汽车
no li.stening sockets available, shutting. down    美容
Unable t.o open logs(广告)
这是什么原因?

评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
离线liuqhe.
发帖
2082
C币
-593658
威望
412
贡献值
2
银元
-2
铜钱
4835
人人网人气币
0
只看该作者 沙发  发表于: 2010-04-14
Re:[CentOS]
好像是说ServerName没有正确配置
改成主机IP再试试

离线白乐天.
发帖
2018
C币
-140359
威望
350
贡献值
1
银元
-3
铜钱
4426
人人网人气币
0
只看该作者 板凳  发表于: 2010-04-14
Re:[CentOS]
你的配置文件估计有问题,跑个apachectl -t检查一下。

离线jacky750512.
发帖
2162
C币
-152267
威望
379
贡献值
1
银元
-3
铜钱
4755
人人网人气币
0
只看该作者 地板  发表于: 2010-04-14
Re:[CentOS]


QUOTE:原帖由 openth 于 2008-7-1 17:39 发表
Apache已安装。但无法运行。 service httpd  start 提示:
启动 httpd:httpd: Could not reliably determine the server's fully qualified domain name, using 123.233.118.182 for ServerName
(13)Permiss ...

有服务占用80端口,查查!!

离线翅膀.
发帖
2230
C币
-60365
威望
417
贡献值
1
银元
-1
铜钱
5042
人人网人气币
0
只看该作者 4楼 发表于: 2010-04-14
Re:[CentOS]


QUOTE:原帖由 openth 于 2008-7-1 17:39 发表
Apache已安装。但无法运行。 service httpd  start 提示:
启动 httpd:httpd: Could not reliably determine the server's fully qualified domain name, using 123.233.118.182 for ServerName
(13)Permiss ...

试试以下两种情况!

1、hosts文件中错写成:
192.168.0.30        Fedora8
删除

2、在apache配置文件httpd.conf中找到#ServerName www.example.com 这一行 把前面的#去掉

离线klxqlqw.
发帖
2074
C币
-262870
威望
355
贡献值
2
银元
-3
铜钱
4474
人人网人气币
0
只看该作者 5楼 发表于: 2010-04-14
Re:[CentOS]


QUOTE:原帖由 openth 于 2008-7-16 00:50 发表
呵呵,还是我自己解答吧.没有那么夸张,忘了,因为,当时,我是在普通的权限下,运行SERIVCE命令的.改用sudo service httpd start   就可以正常的运行了.什么也不用改.


是要使用root用户执行apachectl start
但配置文件httpd.conf中的ServerName最好还是改一下~~

离线yylqymzk.
发帖
2146
C币
-131837
威望
395
贡献值
1
银元
-2
铜钱
4823
人人网人气币
0
只看该作者 6楼 发表于: 2010-04-14
Re:[CentOS]
楼主,厉害。这么个问题难倒N多人

离线goto8809.
发帖
2096
C币
-152317
威望
413
贡献值
1
银元
-1
铜钱
4602
人人网人气币
0
只看该作者 7楼 发表于: 2010-04-14
Re:[CentOS]
配置有问题吧.是不是端口冲突了.
快速回复
限100 字节
批量上传需要先选择文件,再选择上传
 
上一个 下一个