OCI: Backup Fails with DCS-10001:Internal error encountered: Failed to get CPU_COUNT from database.
(Doc ID 2817371.1)
Last updated on APRIL 29, 2024
Applies to:
Oracle Database Backup Service - Version N/A and laterOracle Cloud Infrastructure - Database Service - Version N/A and later
Linux x86-64
Symptoms
VMBM Backups are failing with below error:
# dbcli describe-job -i 718f6d99-3330-461f-a203-7329fa6a24b9
Job details
----------------------------------------------------------------
ID: 718f6d99-3330-461f-a203-7329fa6a24b9
Description: Create ARCHIVELOG Backup with TAG-Auto_Archive for Db:<MyDB> in OSS:be9NxSdRr5fEhcpZ3EqM
Status: Failure
Created: October 23, 2021 10:00:06 PM UTC
Progress: 3%
Message: DCS-10001:Internal error encountered: Failed to get CPU_COUNT from database.
Cause: This is an internal error.
Action: Contact Oracle Support Services for assistance.
In addition, see following symptoms:
dcs-agent.log
=========
[2021-10-23 22:00:18,496] FINE [TaskZJsonRpcExt_116486 : JobId=718f6d99-3330-461f-a203-7329fa6a24b9] com.oracle.dcs.agent.utils.AgentCommonUtils: Output : select '['||value||']' from v$parameter where upper(name)='CPU_COUNT'
*
ERROR at line 1:
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0
[2021-10-23 22:00:18,496] FINE [TaskZJsonRpcExt_116486 : JobId=718f6d99-3330-461f-a203-7329fa6a24b9] com.oracle.dcs.agent.rpc.service.backup.DbBkupOperations: Failed to get CPU_COUNT from database
[2021-10-23 22:00:18,508] SEVERE [TaskZJsonRpcExt_116486 : JobId=718f6d99-3330-461f-a203-7329fa6a24b9] com.oracle.dcs.commons.jrpc.JsonRequestProcessor: RPC request invocation failed on request: {"classz":"******** "
DcsException{errorHttpCode=InternalError, msg=Internal error encountered: Failed to get CPU_COUNT from database. , msgId=10001, causedBy=null}
at com.oracle.dcs.commons.exception.DcsException$Builder.build(DcsException.java:69)
at com.oracle.dcs.agent.rpc.service.backup.DbBkupOperations.getCpuCountForGivenContext(DbBkupOperations.java:2960)
at com.oracle.dcs.agent.rpc.service.backup.DbBkupOperations.getCpuCount(DbBkupOperations.java:2935)
at com.oracle.dcs.agent.rpc.service.backup.DbBkupOperations.getNoOfChannels(DbBkupOperations.java:2943)
at com.oracle.dcs.agent.utils.BackupUtils.getBkupChannelCmd(BackupUtils.java:884)
at com.oracle.dcs.agent.rpc.service.objecstore.ObjectStoreActions.validateRmanConnection(ObjectStoreActions.java:265)
at sun.reflect.GeneratedMethodAccessor725.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.oracle.dcs.commons.jrpc.JsonRequestProcessor.invokeRequest(JsonRequestProcessor.java:31)
at com.oracle.dcs.commons.jrpc.JsonRequestProcessor.process(JsonRequestProcessor.java:70)
at com.oracle.dcs.agent.task.TaskZJsonRpcExt.callInternal(TaskZJsonRpcExt.java:53)
at com.oracle.dcs.agent.task.TaskZJsonRpc.call(TaskZJsonRpc.java:198)
at com.oracle.dcs.agent.task.TaskZJsonRpc.call(TaskZJsonRpc.java:30)
at com.oracle.dcs.commons.task.TaskWrapper.call(TaskWrapper.java:103)
at com.oracle.dcs.commons.task.TaskWrapper.call(TaskWrapper.java:24)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
[2021-10-23 22:00:18,515] FINE [TaskZJsonRpcExt_116486 : JobId=718f6d99-3330-461f-a203-7329fa6a24b9] com.oracle.dcs.agent.zk.DCSZooKeeper: DCS node id is - node_0
[2021-10-23 22:00:18,515] FINE [TaskZJsonRpcExt_116486 : JobId=718f6d99-3330-461f-a203-7329fa6a24b9] com.oracle.dcs.agent.task.TaskZJsonRpc: Task[TaskZJsonRpcExt_116486] RPC request 'Local:node_0@validateRmanConnection()' completed: Failure
[2021-10-23 22:00:18,515] FINE [TaskZJsonRpcExt_116486 : JobId=718f6d99-3330-461f-a203-7329fa6a24b9] com.oracle.dcs.commons.task.report.ServiceJobReport: process TaskDetail this.jobid= 718f6d99-3330-461f-a203-7329fa6a24b9 d.jobid=718f6d99-3330-461f-a203-7329fa6a24b9 d.taskid=TaskZJsonRpcExt_116486 this.msg=null d.res=DCS-10001:Internal error encountered: Failed to get CPU_COUNT from database. d.subtasks.isempty=true d.status=Failure
$ srvctl status database -d $ORACLE_UNQNAME -v
Instance DATABASE1 is not running on node node1
Instance DATABASE2 is running on node node2. Instance status: Open.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |