Settings | Sign in | Sign up

The author has 2 posts.

fedora下更改了计算机名后apache无法开机启动的解决方法

Floor 1 巨大八爪鱼 8/11/13 10:26
打开/etc/hosts,加入一行:127.0.0.1 [计算机名],
如:127.0.0.1    pc3

这是因为更改计算机名后,未自动更新hosts文件造成的。

相关日志:
[Sun Aug 11 07:49:11.808597 2013] [suexec:notice] [pid 982] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Aug 11 07:49:11.841662 2013] [unique_id:alert] [pid 982] (EAI 5)No address associated with hostname: AH01564: unable to find IPv4 address of "pc3"
AH00016: Configuration Failed

http://tieba.baidu.com/p/2523322219
Floor 2 巨大八爪鱼 8/11/13 10:26
重启计算机后,apache已经可以自动启动了

Content converter:

Reply the post
Content:
User: You are currently anonymous.
Captcha:
Unclear? Try another one.