唯美古典
Java入门,Struts,Hibernate,Spring,Groovy,Grails
posts - 7,comments - 10,trackbacks - 0
安装Oracle首次成功的概率不是很大,因为有很多问题出现,我安装时碰到的是Network Adapter could't establish the connection 错误,在网上搜了下解决方法,下面和大家分享下~~

在安装oracle数据库时过程中主要困扰大家主要有两种情况:
一、他要先检查几个先决条件别一般都不会出问题,主要是在核查网络需求时,可能会遇到”警告“字样,网络核查失败(虽然可以继续安装使用,但在用IE登录oracle时会出现登录不上去的情况),一般情况下只要保证把网络断开就不会出现此类问题;

二、另一种情况就是在安装oracle 10g时,在先行条件检测时会出现,核查网络需求一项,检测网络配置结果是未执行,在下面会有提示信息:
      正在检查网络配置需求...检查完成。此次检查的总体结果为: 未执行 <<<<
建议方案: Oracle 支持在具有 DHCP 分配的 IP 地址的系统上进行安装。但在安装之前, 必须将 Microsoft LoopBack Adapter 配置为系统的主网络适配器。有关在配置有 DHCP 的系统上安装软件的详细信息, 请参阅 Installation Guide。”通过查阅安装指导,终于找到了解决方案。
        解决方法:
       在安装ORACLE 10g前系统会检测安装的一些前提条件是否满足,往往会提示说:将Microsoft LoopBack Adapter配置为系统的主网络适配器。

        如果你没有这样配置,且你不希望安装过程由于这个而出错,那么过程如下:
到控制面板/添加硬件,在向导中选择“是,已经连接了此硬件”→“网络适配器”→“Microsoft Loopback Adapter”,添加完成,你会发现新建了个“本地连接”,用的就是这个假的“Microsoft Loopback Adapter”(因为根本就没有连接这个硬件,只是骗下Oracle而已)。把这个本地连接的IP设置一下(例如192.168.0.8)。好了,现在 回去重新让Oracle检测一遍吧,应该通过了吧。
注:上面是XP系统的设置,其他系统大同小异,我的是vista系统,只是界面有些变化,在控制面板/添加硬件/网络适配器,在左侧选择厂商为 Microsoft的那个,右边会列出相关适配器类型,选择Microsoft回环适配器,一路下一步就可以了,记得在新建的"本地连接"中点右键选"属 性",把IP设置一下,例如192.168.0.102,否则也是通不过的.
        如还有任何疑问欢迎大家留言讨论。
http://support.microsoft.com/default.aspx?scid=kb;en-us;839013
如下是oracle官方英文安装指导文件中关于Microsoft Loopback Adapter(微软回环适配器)的相关信息:

How to install the Microsoft Loopback adapter in Windows XP
View products that this article applies to.
Article ID : 839013
Last Review : April 22, 2004
Revision : 1.0
For a Microsoft Windows 2000 version of this article, see 236869 (http://support.microsoft.com/kb/236869/).
On This Page
SUMMARY
Manual installation
Unattended installation
MORE INFORMATION
APPLIES TO

SUMMARY
The Microsoft Loopback adapter is a testing tool for a virtual network environment where network access is not available. Also, you must use the Loopback adapter if there are conflicts with a network adapter or with a network adapter driver. You can bind network clients, protocols, and other network configuration items to the Loopback adapter, and you can install the network adapter driver or network adapter later while retaining the network configuration information. You can also install the Loopback adapter during the unattended installation process.


Back to the top

Manual installation
To manually install the Microsoft Loopback adapter in Windows XP, follow these steps: 1. Click Start, and then click Control Panel.
2. If you are in Classic view, click Switch to Category View under Control Panel in the left pane.
3. Double-click Printers and Other Hardware, and then click Next.
4. Under See Also in the left pane, click Add Hardware,and then click Next.
5. Click Yes, I have already connected the hardware, and then click Next.
6. At the bottom of the list, click Add a new hardware device, and then click Next.
7. Click Install the hardware that I manually select from a list, and then click Next.
8. Click Network adapters, and then click Next.
9. In the Manufacturer box, click Microsoft.
10. In the Network Adapter box, click Microsoft Loopback Adapter, and then click Next.
11. Click Finish.
After the adapter is installed successfully, you can manually configure its options, as with any other adapter. If the TCP/IP properties are configured to use DHCP, the adapter will eventually use an autonet address (169.254.x.x/16) because the adapter is not actually connected to any physical media.

Note By default, TCP/IP properties are configured to use DHCP.


Back to the top

Unattended installation
To install the Microsoft Loopback adapter, use the following sample Unattend.txt file as a model for your Unattend.txt file: [NetAdapters]
Adapter01=Params.Adapter01

[Params.Adapter01]
InfID="*msloop"
; Microsoft Loopback Adapter
ConnectionName ="MS Loopback Adapter"

[NetProtocols]
MS_TCPIP=Params.MS_TCPIP
; TCP/IP parameters
; Use parameter values specific to your network

[Params.MS_TCPIP]
AdapterSections=params.TCPIP.Adapter01
DNS=yes
DNSSuffixSearchOrder=mycorp.com
EnableLMHosts=No
; Adapter Specific TCP/IP parameters
; Use parameter values specific to your network

[params.TCPIP.Adapter01]
SpecificTo=Adapter01
DNSDomain=mycorp.com
DNSServerSearchOrder=192.168.5.251
WINS=no
DHCP=no
IPAddress=192.168.5.10
SubnetMask=255.255.255.0
DefaultGateway=192.168.5.254



唯美古典的工作室
posted on 2009-12-07 14:59 唯美古典 阅读(2157) 评论(1)  编辑  收藏 所属分类: 数据库

FeedBack:
# re: 【转】Oracle 10g Network Adapter could't establish the connection 错误
2009-12-08 10:40 | 淘宝网首页
卡机撒上的撒旦  回复  更多评论
  

只有注册用户登录后才能发表评论。


网站导航: