[INS-06101] IP address of localhost could not be determined 解决方法
来源:互联网 发布:房间网络端口怎么连接 编辑:程序博客网 时间:2024/05/21 21:01
转载自点击打开链接
安装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
再次运行安装文件,顺利通过。
- [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 解决方法
- [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
- 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解决方法
- mysql IP address 'xxx' could not be resolved
- INS-06101 IP ADRESS OF LOCALHOST
- windows server 2003更新后 启动网站提示另一个程序正在使用此文件,进程无法访问 关闭phpstudy全部停止再启动OK
- Photoshop CC 2015 for MAC【中文安装包及超简单5秒破解】
- c#使用WPD读取便携式设备信息一(枚举设备、连接设备及读取设备信息)
- Linux命令之for - Bash中的For循环
- hdoj 1429 胜利大逃亡(续)< BFS + 状态压缩>
- [INS-06101] IP address of localhost could not be determined 解决方法
- 此篇只为记录曾经犯过的低级错误
- 关于最新的APP上架流程
- java中异常处理
- Python字符串的encode与decode
- Visual Tracker Benchmark 傻瓜式教程(一)
- 测试二维码
- bzoj 4540 HNOI 2016 序列 莫队
- java--关于非空判断的小技巧