由于浏览堆栈交换和谷歌,我觉得这与我的主机文件有关。目前是 rw-r--r--,包含:
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost
::1 localhost.localdomain localhost
Run Code Online (Sandbox Code Playgroud)
另外,我的相关(希望)httpd.conf 部分是:
ServerName 192.168.1.3
Run Code Online (Sandbox Code Playgroud)
虽然我已经为 ServerName 尝试了 localhost 和 127.0.0.1。盒子的本地IP是192.168.1.3 ip。
我得到的错误是:
[Thu May 17 07:50:44 2012] [alert] (EAI 2)Name or service not known: mod_unique_id: unable to find IPv4 address of "(none)"
Configuration Failed
Run Code Online (Sandbox Code Playgroud)
我正在使用 ArchLinux 安装,从包管理器安装 Apache。
有什么帮助吗?我是 Arc 的新手
[编辑]:添加我的文本墙 httpd.conf,请注意,我通常会对此进行一些自定义,但我又恢复了库存,希望能找出问题所在:
#
# This is the main Apache HTTP server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.2> …
Run Code Online (Sandbox Code Playgroud)