Chinaunix首页 | 论坛 | 博客
  • 博客访问: 345617
  • 博文数量: 167
  • 博客积分: 2867
  • 博客等级: 少校
  • 技术积分: 1306
  • 用 户 组: 普通用户
  • 注册时间: 2010-05-12 00:08
文章分类

全部博文(167)

文章存档

2017年(10)

2016年(5)

2015年(9)

2014年(10)

2013年(5)

2012年(17)

2011年(110)

2010年(1)

我的朋友

分类: LINUX

2011-12-09 09:33:29

在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"
阅读(1219) | 评论(0) | 转发(0) |
0

上一篇:动态库使用

下一篇:fuse 原理总结

给主人留下些什么吧!~~