Oracle 安装报错 [INS-06101] IP address of localhost could not be determined 解决方法
来源:互联网 发布:linux命令行 编辑:程序博客网 时间:2024/05/12 07:42
安装Oracle 11gR2,报错:[INS-06101] IP address of localhost could not be determined
出现这种错误是因为主机名和/etc/hosts 文件不一致,只需要把主机名和其IP 写入/etc/hosts 文件,就ok了。
查看主机名和和ip 地址关系:
[root@localhost~]# cat /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=localhost.localdomain
这里的主机名是localhost.localdomain.
[root@localhost~]# cat /etc/hosts
# Do not removethe following line, or various programs
# that requirenetwork functionality will fail.
127.0.0.1localhost
这里我们修改一下主机名,Linux 下修改/etc/sysconfig/network 里的hostname 需要重启系统才能生效。
修改network 文件之外,再使用hostname 命令指定一下主机名,就不用重启OS了。
1. 修改/etc/sysconfig/network 文件
[root@localhost~]# cat /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=dave
2. 使用hostname 命令修改主机名,该修改重启会失效,但在第一步我们已经修改过。所以失效也没关系
[root@localhost ~]# hostname
localhost
[root@localhost ~]# hostname dave
[root@localhost ~]# hostname
dave
3. 修改hosts 文件
[root@localhost ~]# cat /etc/hosts
# Do not remove the following line, orvarious programs
# that require network functionality willfail.
127.0.0.1 localhost
192.168.3.222 dave
再次运行安装文件,顺利通过。
- Oracle 安装报错 [INS-06101] IP address of localhost could not be determined 解决方法
- Oracle 安装报错 [INS-06101] IP address of localhost could not be determined 解决方法
- Oracle 安装报错 [INS-06101] IP address of localhost could not be determined 解决方法
- Oracle 安装报错 [INS-06101] IP address of localhost could not be determined 解决方法
- Oracle 安装报错 [INS-06101] IP address of localhost could not be determined 解决方法
- Oracle 安装报错 [INS-06101] IP address of localhost could not be determined 解决方法
- Oracle 安装报错 [INS-06101] IP address of localhost could not be determined
- 安装Oracle 11gR2,报错:[INS-06101] IP address of localhost could not be determined
- [INS-06101] IP address of localhost could not be determined
- [INS-06101] IP address of localhost could not be determined 解决方法
- IP address of localhost could not be determined 解决方法
- INS-06101 IP adress of localhost could not be determined
- ORACLE 11g R2 安装时,提示[INS-06101] IP address of localhost could not be detemined
- db2icrt创建purescale实例报错:A reachable IP address could not be determined
- Could not obtain the localhost address...解决方法
- IP address '121.41.35.30' could not be resolved: Name or service not known解决方法
- Myeclipse报错:“Versions of Spring facet could not be detected”的解决方法
- Myeclipse报错:“Versions of Spring facet could not be detected”的解决方法:译
- Java-Compare Version Numbers
- s3c6410的UART设备驱动(5)
- 少个人设计和人家人看人看
- MFC中控件的使用-------Check Box、Edit Control
- Log4j简单使用
- Oracle 安装报错 [INS-06101] IP address of localhost could not be determined 解决方法
- 利用Windows性能计数器分析软件产品的性能瓶颈
- 关于 Java 数组的 12 个最佳方法
- 在 Visual Basic 中读取二进制文件
- [ACM] HDU 4885 TIANKENG’s travel (特殊建图,最短路)
- 互有新媒体交互平台——新媒体交互解决新方案
- hdu 2052 Picture (模拟)
- Interleaving String
- 深入理解java异常处理机制