虚拟机环境CentOS5.5-32,当启动到sendmail,要等老半天,上网查资料,找到解决办法。
解决思路:sendmail启动时要查找DNS,所以就卡在解析域名这里。
以本机为样子,查询
[root@oracle ~]# cat /etc/resolv.conf
; generated by /sbin/dhclient-script
nameserver 219.141.136.10
nameserver 202.106.196.115
search oracle
我本机的hostname为 oracle
在查询
[root@oracle ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
将上边一行修改成
127.0.0.1 localhost.localdomain localhost oracle
就可以了,从起一下机器在试试!!