/ 中存储网

Apache服务器Name or service not known: mod_unique_id错误

2013-09-10 17:01:04 来源:ITJS.CN

以前更改过主机名,但后来又更改了过来,但是httpd出错误,看日志内容如下:(请问该怎么更改)

[Wed Dec 18 04:11:24 2002] [alert] (22002)Name or service not known: mod_unique_id: unable to find IPv4 address of "zeasen"

Configuration Failed!

[Wed Dec 18 04:33:44 2002] [alert] (22002)Name or service not known: mod_unique_id: unable to find IPv4 address of "zeasen"

Configuration Failed!

[Wed Dec 18 20:38:27 2002] [alert] (22002)Name or service not known: mod_unique_id: unable to find IPv4 address of "zeasen"

Configuration Failed!

[Wed Dec 18 21:03:36 2002] [alert] (22002)Name or service not known: mod_unique_id: unable to find IPv4 address of "zeasen"

Configuration Failed!

[Wed Dec 18 21:09:46 2002] [alert] (22002)Name or service not known: mod_unique_id: unable to find IPv4 address of "zeasen"

Configuration Failed!

[Thu Dec 19 04:13:07 2002] [alert] (22002)Name or service not known: mod_unique_id: unable to find IPv4 address of "zeasen"

Configuration Failed!

[Thu Dec 19 04:20:44 2002] [alert] (22002)Name or service not known: mod_unique_id: unable to find IPv4 address of "zeasen"

Configuration Failed!

----------------------------------------------------------------------------

apache启动失败

我也遇到相同的问题,修改/etc/hosts,添加一行

127.0.0.1    zeasen                    localhost

就ok了 

用了好长时间才解决了,应该好好看日志文件 /var/log/