如图:在DBCA进行到3%时。报错
由于/etc/hosts与/etc/sysconfig/network不正确应,所以报错
[root@ocm2 ~]# 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
::1 localhost6.localdomain6 localhost6
172.166.10.161 ocm1.localdomain ocm1
172.166.10.162 ocm2.localdomain ocm2
[root@ocm2 ~]# cat /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=ocm2.localdomain
[root@ocm2 ~]# hostname
ocm2.localdomain
[root@ocm2 ~]#
之前在编辑/etc/sysconfig/network粗心将HOSTNAME=ocm2.localdomain写成HOSTNAME=com2.localdomain,故在DBCA时报下面图片错误。