PHP学会网 php培训网 PHP暑期培训 PHP寒假培训 PHP假期培训 » 操作系统(Windows、Linux) » Name or service not known: mod_unique_id: unable to find IPv4 address of 造成apache不能启动
本页主题: Name or service not known: mod_unique_id: unable to find IPv4 address of 造成apache不能启动 打印 | 加为IE收藏 | 收藏主题 | 上一主题 | 下一主题

游子云



该用户目前不在线
级别: 管理员
精华: 3
发帖: 252
威望: 211 点
金钱: 2128 PYMB
贡献值: 0 点
在线时间:39(小时)
注册时间:2005-10-27
最后登录:2009-01-07

Name or service not known: mod_unique_id: unable to find IPv4 address of 造成apache不能启动


在apache 的日志error_log下发现
[Mon Dec 24 10:43:00 2007] [alert] (EAI 2)Name or service not known: mod_unique_id: unable to find IPv4 address of "phpwhy.com"
Configuration Failed
[Mon Dec 24 10:51:40 2007] [alert] (EAI 2)Name or service not known: mod_unique_id: unable to find IPv4 address of "phpwhy.com"
Configuration Failed
造成apache 不能启动
第一方法:
在/etc/hosts 下添加
218.106.244.209        phpwhy.com
第二种方法

将httpd.conf里的ServerName  改为IP对应
在/etc/rc.conf中添加一行 apache_enable="YES"
PHP培训,网站建设咨询
联系电话: 0571-85980046 ,0571-86704910
联系人:何老师
qq:310172
地址:杭州下沙4号路物美西子阳光星城1座501室
顶端 Posted: 2007-12-26 17:04 | [楼 主]
PHP学会网 php培训网 PHP暑期培训 PHP寒假培训 PHP假期培训 » 操作系统(Windows、Linux)

时:01-10 09:35 Copyright © 2006 phpwhy.com 权
ICP05060669

曳息 -