热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

CheckingNetworkConfigurationrequirementsOracleNetConfigurationAssistantfailed

虚拟机Linux下安装oracle10G时,在安装过程中,到检查环境变量那一步时,Oracle提示如下信息:Checkin

虚拟机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;上面的问题就解决了。




推荐阅读
author-avatar
旻昊厉害_720
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有