Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

netca silent mode errors with java exception

user12159859Jul 10 2013 — edited Jul 10 2013

I'm installing Oracle 11.2.0.3 on RHeL 6.4 and having some problems with the netca installer.

Unfortunately, this is a bit challenging since we do not have X11 libraries to run GUI mode.

So, I'm running the netca using response file:

Basically, the parameters I'm setting are:

SHOW_GUI=false

LOG_FILE=""/oracle/product/11.2.0.3/network/tools/log/netca.log""

INSTALL_TYPE=""typical""

LISTENER_NUMBER=1

LISTENER_NAMES={"LISTENER"}

LISTENER_PROTOCOLS={"TCP;1521"}

LISTENER_START=""LISTENER""

NAMING_METHODS={"TNSNAMES","ONAMES","HOSTNAME"}

NSN_NUMBER=1

NSN_NAMES={"EXTPROC_CONNECTION_DATA"}

NSN_SERVICE={"PLSExtProc"}

NSN_PROTOCOLS={"TCP;HOSTNAME;1521"}

Then, I run the command as:  netca /silent /responsefile=/<path>/netca.rsp

When I run it, it gives:  Error:  2  check the trace file for details.......  and then Oracle Net Services configuration failed.  The exit code is 1

Below is the trace file, the the main error at the end.

[main] [ 2013-07-10 11:52:47.293 EDT ] [NetCALogger.initTrace:203]  Oracle Net Configuration Assistant: 13071011AM5247

[main] [ 2013-07-10 11:52:47.294 EDT ] [NetCALogger.initTrace:204]  Oracle Home: /oracle/product/db/11.2.0.3

[main] [ 2013-07-10 11:52:47.295 EDT ] [NetCALogger.initTrace:205]  Oracle Base: /oracle/product

[main] [ 2013-07-10 11:52:47.295 EDT ] [NetCALogger.initTrace:206]  Oracle Home Name: OraDb11g_home1

[main] [ 2013-07-10 11:52:47.342 EDT ] [InventoryUtil.getOUIInvSession:347]  setting OUI READ level to ACCESSLEVEL_READ_LOCKLESS

[main] [ 2013-07-10 11:52:47.343 EDT ] [HAUtils.<init>:239]  oui location /oracle/oraInventory/ContentsXML

[main] [ 2013-07-10 11:52:47.358 EDT ] [Version.isPre:528]  version to be checked 11.2.0.3.0 major version to check against10

[main] [ 2013-07-10 11:52:47.358 EDT ] [Version.isPre:539]  isPre.java: Returning FALSE

[main] [ 2013-07-10 11:52:47.362 EDT ] [OCR.loadLibrary:312]

Inside constructor of OCR

[main] [ 2013-07-10 11:52:47.379 EDT ] [OCR.loadLibrary:320]  Going to load the ocr library

[main] [ 2013-07-10 11:52:47.379 EDT ] [Library.load:188]  library.load

[main] [ 2013-07-10 11:52:47.380 EDT ] [sPlatform.isHybrid:66]  osName=Linux osArch=amd64 JVM=64 rc=false

[main] [ 2013-07-10 11:52:47.381 EDT ] [sPlatform.isHybrid:66]  osName=Linux osArch=amd64 JVM=64 rc=false

[main] [ 2013-07-10 11:52:47.381 EDT ] [Library.load:264]  Loading  library /oracle/product/db/11.2.0.3/lib/libsrvmocr11.so

[main] [ 2013-07-10 11:52:47.384 EDT ] [OCR.loadLibrary:322]  loaded ocr libraries

[main] [ 2013-07-10 11:52:47.384 EDT ] [OCR.isCluster:952]  Calling OCRNative for isCluster()

[main] [ 2013-07-10 11:52:47.387 EDT ] [OCR.isCluster:956]  OCR Result status = true

[main] [ 2013-07-10 11:52:47.387 EDT ] [OCR.isCluster:968]  Bolean result = false

[main] [ 2013-07-10 11:52:47.390 EDT ] [CmdlineArgs.<init>:114]  Initializing variables array...

[main] [ 2013-07-10 11:52:47.390 EDT ] [CmdlineArgs.<init>:120]  Initializing NetProperties...

[main] [ 2013-07-10 11:52:47.391 EDT ] [CmdlineArgs.initArgs:137]  Initializing command line arguments...

[main] [ 2013-07-10 11:52:47.392 EDT ] [CmdlineArgs.parseLogParam:296]  Parsing /log argument...

[main] [ 2013-07-10 11:52:47.392 EDT ] [CmdlineArgs.parseLogParam:351]  Returning Log File = null

java.lang.ArrayIndexOutOfBoundsException: 2

        at oracle.net.ca.CmdlineArgs.parseArgs(CmdlineArgs.java:423)

        at oracle.net.ca.InitialSetup.<init>(NetCA.java:3999)

        at oracle.net.ca.NetCA.main(NetCA.java:428)

This post has been answered by user12159859 on Jul 10 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 7 2013
Added on Jul 10 2013
2 comments
960 views