Your hostname, , and the servername you have set in DirectAdmin, server.host.com, do not match.
/bin/hostname --fqdn
rm /dev/null
mknod -m 0666 /dev/null c 1 3
hostname: Name or service not known
编辑你的/ etc / hosts文件,然后修改:1.2.3.4 your.hostname.com
成:1.2.3.4 your.hostname.com your
这样你就可以在服务器IP旁边使用长名称和短名称的主机名。如果你在输出中有一个主机名,例如:
Your hostname, bob.host.com, and the servername you have set in DirectAdmin, server.host.com, do not match.








