Checking Network Configuration requirements "Oracle Net Configuration Assistant" failed

虚拟机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.


经过多次安装和日志排查,终于发现了问题,这个是因为/etc/hosts配置文件配置错误导致的,这个文件的IP地址对应的主机名要和这个/etc/sysconfig/network的配置文件的主机名一样才行。

例如:/etc/sysconfig/network配置文件信息如下:

NETWORKING=yes

HOSTNAME=redhat6

那么/etc/hosts配置文件的主机名就要用到redhat6,如:

192.168.1.203  redhat6

127.0.0.1  localhost

上面的IP地址是linux本机的IP地址,修改后,上面的问题就解决了。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值