I recently learned about Oracle databases and encountered some minor problems during the installation process. Although it was a minor problem, it made me spend a lot of energy trying to sum up and finally solved the problem, the mood is self-evident.
There are two major problems in the process of installing the Oracle database:
I. He should first check several prerequisites. Generally, there will be no problems, mainly when checking network requirements, there may be a warning, network Verification Failed (although you can continue to install and use it, but the login will fail when you log on to Oracle using IE). Generally, this problem will not occur if you ensure that the network is disconnected;
2. When installing Oracle 10 Gb, the first condition detection will appear. Check the network requirement. The network configuration check result is not executed. The following message is displayed:
Checking Network Configuration Requirements... check complete. The overall result of this check is: not executed <
Recommended Solution: Oracle supports installation on a system with IP addresses allocated by DHCP. Before installation, you must configure the Microsoft LoopBack Adapter as the primary network Adapter of the system. For more information about installing software on a system with DHCP configured, see the Installation Guide ." After reading the installation instructions, I finally found the solution.
Solution:
Before installing ORACLE 10 Gb, the system will check whether some of the prerequisites for installation are met. It will often prompt you to configure the Microsoft LoopBack Adapter as the primary network Adapter of the system.
If you do not configure this configuration and you do not want the installation process to fail, the process is as follows:
Go to control panel/Add hardware. In the wizard, select "Yes, connected to this hardware"> "network Adapter"> "Microsoft Loopback Adapter". The configuration is complete, you will find that a new "Local Connection" is created, using this fake "Microsoft Loopback Adapter" (because the hardware is not connected at all, just lie to Oracle ). Set the IP address of the local connection (for example, 192.168.0.8 ). Now let's go back and let Oracle check again. It should have passed.
Note: The above is the setting of the XP system. The other systems are similar. I use the vista system, but the interface is somewhat changed. Add Hardware/network adapters on the control panel, select the one with the vendor Microsoft on the left side, and the relevant adapter types will be listed on the right side. Select the Microsoft loopback adapter and click Next, remember to right-click the new "Local Connection" and select "attribute". Set the IP address, for example, 192.168.0.102. Otherwise, the IP address will not pass.
-- Oracle 10g dhcp considerations
Oracle 10g em is bound to an ip address, so if the network uses dhcp, once the ip address changes, the console cannot be started.
Solution: Use a virtual Nic,
Add a microsoft Nic In loopback mode
In the hosts file, add 10. 10. 10. 10 corresponds to the machine name, so you can configure the virtual network card option in the console, you can not fear dhcp to change the IP address.
The specific method is:
1. Control Panel ---> Add hardware ---> next ---> yes, I have connected to this hardware ---> Add new hardware ---> install the hardware I have manually selected from the list --> network adapter --->
Microsoft ----> Microsoft loopback Adapter ---> next ----> Installation Complete
2. Add "10.10.10.10 machine name" to the hosts file"
In this way, no matter how your DHCP changes, ORACLE can find a fixed IP address 10.10.10.
Previously installed Oracle10g does not set static IP, using DHCP obtained IP address installation, after the result is installed, EM always reported TNS-12541 error after opening, But I clearly listen to open it. Find information online and check the Installation Wizard. A looback adapter needs to be installed, so that the host name corresponds to a static IP address.
Here are the steps to recreate EM:
1. Install the loopback adapter. In the Add hardware wizard on the control panel, the specific steps are not required.
2. Modify the properties of the loopback adapter created in the network connection, set TCP/IP, and add an IP address, for example, 10.0.0.1, mask: 255.255.255.0, and leave the remaining value blank. Set the DNS connection Suffix in "advanced", for example, mydomain.com.
3. Edit
C
:/WINNT/system32/drivers/etc/hosts, add the ing between IP address and Host Name
10.0.0.1 cocofish
4. Change the computer name in the system properties, add the host name suffix, such as mydomain.com, and then restart the computer.
5. Recreate the em console
Emca. bat-repos recreate
6. Start em console
Emctl. bat start dbconsole
After that, connect to the address http: // cocofish: 1158/em in the browser. Haha, the listener is normal. Try to log on. Everything is OK.
The following is information about Microsoft Loopback Adapter (Microsoft Loopback Adapter) in the oracle Installation Guide in English:
How to install the Microsoft Loopback adapter in Windows XP
View products that this article applies.
Article ID: 839013
Last Review: Limit l 22,200 4
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
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 phyany sical 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.20.
WINS = no
DHCP = no
IPAddress = 192.168.5.10
SubnetMask = 255.255.255.0
DefaultGateway = 192.168.5.254