刚在archlinux下安装了lighttpd程序,但在启动的时候老提示[Fail]
[root@myhost ~]# /etc/rc.d/httpd start
:: Starting Apache Web Server [fail]
然后我查看了/var/log/httpd/error_log文件发现,每次启动httpd任务时会打印如下错误日志:
[alert] (EAI 2)Name or service not known: mod_unique_id: unable to find IPv4 address of "myhost"
在google中搜索相关信息,得到如下解释:
If the service httpd don't start, take a look at
/var/log/httpd/error_log. If appears this line:
-
[alert] (EAI 2)Name or service not known: mod_unique_id: unable to find IPv4 address of "myhost"
you must uncomment the line:
LoadModule unique_id_module.
Restart httpd and now it should work. -- 17:22, 22 April 2007
[原文地址:]
大概的意思是,
如果httpd服务不能启动,并且error_log文件中记录了unable to find IPv4 address of "myhost"的日志,则你必须在/etc/httpd/conf/httpd.conf中找到LoadModule unique_id_module配置行并注释它,然后再启动httpd服务。在按其解决方法注释
LoadModule unique_id_module后问题得到解决。
至于
unique_id_module模块是用来做什么的,目前还未深究。有空再看看。
阅读(1473) | 评论(0) | 转发(0) |