当前位置: 技术问答>linux和unix
FC6上安装oracle 10g时报错 "Thrown when the IP address of a host cannot be determined"
来源: 互联网 发布时间:2016-01-29
本文导语: 我现在在安装oracle 的机器上分别有三个端口 分别是 [root@localhost ~]# ifconfig -a eth0 Link encap:Ethernet HWaddr 00:19:DB:50:86:73 inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0 ine...
我现在在安装oracle 的机器上分别有三个端口 分别是
[root@localhost ~]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:19:DB:50:86:73
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::219:dbff:fe50:8673/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:53440 errors:0 dropped:0 overruns:0 frame:0
TX packets:48620 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:53485807 (51.0 MiB) TX bytes:8036984 (7.6 MiB)
Interrupt:193 Base address:0x4000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1550 errors:0 dropped:0 overruns:0 frame:0
TX packets:1550 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2830515 (2.6 MiB) TX bytes:2830515 (2.6 MiB)
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
其中eth0已经设置为静态的手动设置ip,并且重启网络(service network restart),服务器可以访问外网,但我在服务器上安装时碰到这个问题(Thrown when the IP address of a host cannot be determined),不知如何是好?请各位大虾指教!小弟在这里跪谢了!
[root@localhost ~]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:19:DB:50:86:73
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::219:dbff:fe50:8673/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:53440 errors:0 dropped:0 overruns:0 frame:0
TX packets:48620 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:53485807 (51.0 MiB) TX bytes:8036984 (7.6 MiB)
Interrupt:193 Base address:0x4000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1550 errors:0 dropped:0 overruns:0 frame:0
TX packets:1550 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2830515 (2.6 MiB) TX bytes:2830515 (2.6 MiB)
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
其中eth0已经设置为静态的手动设置ip,并且重启网络(service network restart),服务器可以访问外网,但我在服务器上安装时碰到这个问题(Thrown when the IP address of a host cannot be determined),不知如何是好?请各位大虾指教!小弟在这里跪谢了!
|
#vi /etc/hosts
127.0.0.1 localhost
192.168.1.100 你的机器名
127.0.0.1 localhost
192.168.1.100 你的机器名
您可能感兴趣的文章:
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。