Friday, February 5, 2010

Installing Oracle 10g (10.2.0.1.0)

While installing Oracle 10g on a Windows 2003 (32-bit) server instance on Amazon EC2 I got a warning from the installer after it ran some diagnostics:

Checking Network Configuration requirements ...

Check complete. The overall result of this check is: Failed <<<< Problem: The install has detected that the primary IP address of the system is DHCP-assigned. Recommendation: Oracle supports installations on systems with DHCP-assigned IP addresses; However, before you can do this, you must configure the Microsoft LoopBack Adapter to be the primary network adapter on the system. See the Installation Guide for more details on installing the software on systems configured with DHCP.


If I had chosen to ignore the warning the installation would have still succeeded anyways but here's how to fix the warning message.

Oracle Database Preinstallation Requirements: 2.6.5.3 Installing a Loopback Adapter on Windows 2003, Windows Server 2003 R2, or Windows XP offers 21 steps to help resolve the warning on Windows 2003, Windows Server 2003 R2, or Windows XP. It also contains directions for other Windows variants (Vista etc).

I decided to shave off a few steps by going the command line route since I might have to perform a number of installations.

Step 1
Download the DevCon package, a self-extracting zip archive containing an utility provided by Microsoft to allow you perform tasks that you would otherwise do from the Device Manager (and a little extra). You can read more about the tool DevCon command-line utility.

Step 2
After extracting DevCon to a location on your machine, open a command prompt window and change to the directory containing the actual devcon.exe file.

Step 3
Steps 1 to 12 from 2.6.5.3 Installing a Loopback Adapter on Windows 2003, Windows Server 2003 R2, or Windows XP can thus be condensed to these two simple steps using DevCon:

devcon -r install %WINDIR%\Inf\Netloop.inf *MSLOOP

devcon restart =net @'ROOT\NET\0000

In case you loopback adapter device address isn't "ROOT\NET\0000" you can check what value it is via:

devcon find *MSLOOP

Step 4
You can now go ahead to complete the rest of steps 13 to 21.

3 comments:

  1. Can you tell me. how to use this to vista 64 bits. I did download Windows driver it. after install WDK Checking Network Configuration requirements ... this is done but now it seems checking for oracle home incompatibilities failed. What can i do.?.

    ReplyDelete
  2. I'm not sure I understand your question. Why do you need to download a Windows driver to install Oracle?

    ReplyDelete
  3. I'd mention that most of us visitors are endowed to exist in a fabulous place with very many wonderful individuals with very helpful things.
    oracle course in chennai

    ReplyDelete