Error With Oracle Net Configuration Assistant Installing DG4MSQL 12c on Microsoft Windows Server 2003 R2 (Doc ID 2064196.1)

Last updated on JANUARY 19, 2017

Applies to:

Oracle Database Gateway for SQL Server - Version 12.1.0.1 and later
Microsoft Windows x64 (64-bit)

Symptoms

Installing the Oracle Database Gateway for SQL*Server (DG4MSQL) 12.1 on Microsoft Windows Server 2003 R2 gives the following error message:

[INS-20802] Oracle Net Configuration Assistant Failed.


The steps during the install are -
- install fails at step 8 of 9 with NETCA failing
- then the INS-20802 message for NETCA
- then an INS-32091 message to say installation successful but some steps failed or cancelled and do you want to continue - with options - yes, no, details.

The installActions<date_time>.log in the section for running NETCA shows errors -

INFO: Started Plugin named: Oracle Net Configuration Assistant
INFO: Found associated job
INFO: Starting 'Oracle Net Configuration Assistant'
INFO: Starting 'Oracle Net Configuration Assistant'
INFO: NetCAInternalPlugIn: ... adding
INFO: Executing NETCA
INFO: Command C:\WINDOWS\system32\cmd /c call D:\product\product\12.1.0\tghome_1\bin\netca.bat /orahome D:\product\product\12.1.0\tghome_1 /orahnam OraGTW12Home3 /instype custom /inscomp client,oraclenet,server /insprtcl tcp,nmp /cfg local /authadp NO_VALUE /responseFile D:\product\product\12.1.0\tghome_1\network\install\netca_typ.rsp /ouiinternal /maskPasswords false
...
...
INFO: ... GenericInternalPlugIn: starting read loop.
INFO: Read: UnsatisfiedLinkError exception loading native library: oranjni12
INFO: Stderr Read: java.lang.UnsatisfiedLinkError: oracle.net.common.NetGetEnv.jniGetOracleHome()Ljava/lang/String;
WARNING: Skipping line: UnsatisfiedLinkError exception loading native library: oranjni12
INFO: Stderr Read: at oracle.net.common.NetGetEnv.jniGetOracleHome(Native Method)
INFO: End of argument passing to stdin
INFO: Stderr Read: at oracle.net.common.NetGetEnv.getOracleHome(Unknown Source)
INFO: Read: java.lang.UnsatisfiedLinkError: D:\product\product\12.1.0\tghome_1\BIN\oranjni12.dll: The specified procedure could not be found
INFO: Stderr Read: at oracle.net.ca.NetCALogger.getOracleHome(NetCALogger.java:230)
WARNING: Skipping line: java.lang.UnsatisfiedLinkError: D:\product\product\12.1.0\tghome_1\BIN\oranjni12.dll: The specified procedure could not be found
INFO: Stderr Read: at oracle.net.ca.NetCALogger.initOracleParameters(NetCALogger.java:215)
INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0
...
...
INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0
INFO: Read: Oracle Net Services configuration failed. The exit code is 1
WARNING: Skipping line: Oracle Net Services configuration failed. The exit code is 1
INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0
INFO: Completed Plugin named: Oracle Net Configuration Assistant
INFO: Oracle Net Configuration Assistant failed.
INFO: Oracle Net Configuration Assistant failed.

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms