PRCC-1008:SRVCTL STATUS INSTANCE -DETAIL FAILS (Doc ID 2279720.1)

Last updated on JULY 02, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.1 and later
Information in this document applies to any platform.

Symptoms

srvctl with detail option  for database is failing with IO server related errors from  client cluster in a multi cluster environment.

 

The following message reported in client cluster when execute srvctl status instance / srvctl status database if append the option "-detail" in command line.

srvctl command output:

$ srvctl status instance -db qdb -instance qdb1 -detail

Exception in thread "main" java.lang.IllegalArgumentException: PRCC-1008 : Enumerated type class oracle.cluster.database.
Instance$ConnectedToType does not have a member with corresponding value of IO Server
at oracle.cluster.database.Instance$ConnectedToType.getEnumMember(Instance.java:113)
at oracle.cluster.impl.database.InstanceImpl.setConnectedToType(InstanceImpl.java:218)
at oracle.ops.opsctl.StatusAction.displayDBInstanceStatus(StatusAction.java:776)
at oracle.ops.opsctl.StatusAction.executeInstance(StatusAction.java:706)
at oracle.ops.opsctl.Action.execute(Action.java:424)
at oracle.ops.opsctl.OPSCTLDriver.execute(OPSCTLDriver.java:507)
at oracle.ops.opsctl.OPSCTLDriver.main(OPSCTLDriver.java:236)

srvctl trace output: 

[main] [ 2016-08-30 08:46:24.195 PDT ] [ActionStatusImpl.parsingMessages:204] amKey is connected_to_instance
[main] [ 2016-08-30 08:46:24.196 PDT ] [ActionStatusImpl.parsingMessages:206] amValue is +IOS3
Exception in thread "main" java.lang.IllegalArgumentException: PRCC-1008 : Enumerated type class oracle.cluster.database.Instance$ConnectedToType does not have a member with corresponding value of IO Server
at oracle.cluster.database.Instance$ConnectedToType.getEnumMember(Instance.java:113)
at oracle.cluster.impl.database.InstanceImpl.setConnectedToType(InstanceImpl.java:218)
at oracle.ops.opsctl.StatusAction.displayDBInstanceStatus(StatusAction.java:776)
at oracle.ops.opsctl.StatusAction.executeInstance(StatusAction.java:706)
at oracle.ops.opsctl.Action.execute(Action.java:424)
at oracle.ops.opsctl.OPSCTLDriver.execute(OPSCTLDriver.java:507)
at oracle.ops.opsctl.OPSCTLDriver.main(OPSCTLDriver.java:236)
[Thread-1] [ 2016-08-30 08:46:24.202 PDT ] [InnerInterruptHandler.run:114] Running the shutdown hook
[Thread-1] [ 2016-08-30 08:46:24.203 PDT ] [InnerInterruptHandler.run:118] Calling Interrupt handler....ctrlCHandler
[Thread-1] [ 2016-08-30 08:46:24.203 PDT ] [CommandLineParser.<init>:504] Is this a cluster? : true
[Thread-1] [ 2016-08-30 08:46:24.203 PDT ] [OPSCTLDriver.ctrlCHandler:284] Stopped srvctl execution
[Thread-1] [ 2016-08-30 08:46:24.203 PDT ] [OPSCTLDriver.ctrlCHandler:285] Invoking interrupt handler
[Thread-1] [ 2016-08-30 08:46:24.203 PDT ] [CmdOptVals.isOptionSet:949] Calling isOptionSet for verbose
[Thread-1] [ 2016-08-30 08:46:24.204 PDT ] [OptVal.isSet:153] m_value is null
[Thread-1] [ 2016-08-30 08:46:24.204 PDT ] [SRVCTLHandler.getMethodName:122] getMethodName: Method Name = status_instance_Handler
[Thread-1] [ 2016-08-30 08:46:24.204 PDT ] [SRVCTLHandler.invokeCtrlCHandler:230] Interrupt handler method status_instance_Handler
[Thread-1] [ 2016-08-30 08:46:24.204 PDT ] [SRVCTLHandler.invokeCtrlCHandler:231] Interrupt handler class oracle.ops.opsctl.StatusAction
[Thread-1] [ 2016-08-30 08:46:24.206 PDT ] [SRVCTLHandler.invokeCtrlCHandler:244] oracle.ops.opsctl.StatusAction.status_instance_Handler()
java.lang.Class.getMethod(Class.java:1786)
oracle.ops.opsctl.SRVCTLHandler.invokeCtrlCHandler(SRVCTLHandler.java:234)
oracle.ops.opsctl.OPSCTLDriver.ctrlCHandler(OPSCTLDriver.java:286)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:498)
oracle.cluster.common.InnerInterruptHandler.run(InterruptHandler.java:121)
[Thread-1] [ 2016-08-30 08:46:24.219 PDT ] [OPSCTLDriver.ctrlCHandler:289] PRCG-1036 : Internal error.
oracle.ops.opsctl.SRVCTLHandler.invokeCtrlCHandler(SRVCTLHandler.java:245)
oracle.ops.opsctl.OPSCTLDriver.ctrlCHandler(OPSCTLDriver.java:286)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:498)
oracle.cluster.common.InnerInterruptHandler.run(InterruptHandler.java:121)

 

 

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