Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1444804
  • 博文数量: 47
  • 博客积分: 2010
  • 博客等级: 大尉
  • 技术积分: 520
  • 用 户 组: 普通用户
  • 注册时间: 2008-06-14 15:37
文章分类

全部博文(47)

文章存档

2008年(47)

我的朋友
最近访客

分类: 系统运维

2008-08-01 14:30:19

解决apache的apr_sockaddr_info_get() failed错误
似乎不影响服务的使用,但是也挺别扭的。
-------------------------------------------------------------------------------------
[root@linux http]# service httpd restart
httpd: apr_sockaddr_info_get() failed for linux
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for

ServerName
-------------------------------------------------------------------------------------

/etc/sysconfig/network 默认主机名是:HOSTNAME=localhost.localdomain
/etc/hosts   二个配置文件主机名相同

原因是我删掉了网卡中的主机信息 ::1 localhost.localdomain   localhost
添加加去后:
cat /etc/hosts

::1 localhost.localdomain   localhost

阅读(1183) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~