虚拟机Linux下安装oracle 10G 时,在安装过程中,到检查环境变量那一步时,Oracle提示如下信息:
Checking Network Configuration requirements ...
Actual Result: Unknown Host Exception has Occurred :redhat6: redhat6.
Check complete. The overall result of this check is: Not executed <<<<
Recommendation: Oracle supports installations on systems with DHCP-assigned public IP addresses. However, the primary network interface on the system should be
configured with a static IP address in order for the Oracle Software to function properly. See the Installation Guide for more details on installing the software on
systems configured with DHCP.
经过多次安装和日志排查&#xff0c;终于发现了问题&#xff0c;这个是因为/etc/hosts配置文件配置错误导致的&#xff0c;这个文件的IP地址对应的主机名要和这个/etc/sysconfig/network的配置文件的主机名一样才行。
例如&#xff1a;/etc/sysconfig/network配置文件信息如下&#xff1a;
NETWORKING&#61;yes
HOSTNAME&#61;redhat6
那么/etc/hosts配置文件的主机名就要用到redhat6&#xff0c;如&#xff1a;
192.168.1.203 redhat6
127.0.0.1 localhost
上面的IP地址是linux本机的IP地址&#xff0c;修改后&#xff0c;上面的问题就解决了。