srvctl add database gives PRCR-1006, PRCT-1011 error
As oracle user
$ srvctl add database -d VIS1 -o $ORACLE_HOME
PRCR-1006 : Failed to add resource ora.vis1.db for vis1
PRCT-1011 : Failed to run "osdbagrp". Detailed error: null
$ osdbagrp -a
Memory fault
- Enable detailed SRVM trace as follows.
script /tmp/srvctl_trace.log
date
export SRVM_TRACE=TRUE
srvctl add database -d VIS1 -o $ORACLE_HOME
exit
cat /tmp/srvctl_trace.log
[main] [ 2014-12-04 07:44:18.533 EST ] [RuntimeExec.runCommand:192] Returning from RunTimeExec.runCommand
[main] [ 2014-12-04 07:44:18.534 EST ] [UnixSystem.dorunRemoteExecCmd:3232] retval = 139
[main] [ 2014-12-04 07:44:18.534 EST ] [CmdToolUtil.doexecute:474] nativeSystem.runRemoteExecCmd failed. Command = /vis1/11.2.0.4/bin/osdbagrp arguments = [-a] env = null error = null
[main] [ 2014-12-04 07:44:18.535 EST ] [AddAction.executeDatabase:667] removing server group vis1 that was created
[main] [ 2014-12-04 07:44:18.536 EST ] [CRSNative.internalQueryResources:1577] About to doQueryResources: eType resource, nodeName null, filter ((TYPE == ora.database.type) && (SERVER_POOLS CONTAINS ora.vis1))
[main] [ 2014-12-04 07:44:18.565 EST ] [CRSNative.internalQueryResources:1585] found 0 resources
[main] [ 2014-12-04 07:44:18.565 EST ] [DatabaseFactoryImpl.getDatabases:1145] No database was found hosted by server pool =ora.vis1
[main] [ 2014-12-04 07:44:18.566 EST ] [ServerPoolImpl.remove:1250] The dblist size is 0
[main] [ 2014-12-04 07:44:18.566 EST ] [CRSNative.unregisterEntity:791] About to unregister: name: ora.vis1, force: false, type: 3
[main] [ 2014-12-04 07:44:18.626 EST ] [FrameworkException.<init>:72] Set warning status: 2
PRCR-1006 : Failed to add resource ora.vis1.db for vis1
PRCT-1011 : Failed to run "osdbagrp". Detailed error: null
- Action plan to fix the above issue:
Copy the "osdbagrp" from the $GI_HOME/bin to the $RDBMS_HOME/bin
1) take a back up of $RDBMS_HOME/bin/osdbagrp
2) copy $GI_HOME/bin/osdbagrp to $RDBMS_HOME/bin/
3) try below command again from RDBMS Home
osdbagrp -a --> this should now result asmadmin instead of Memory fault
4) srvctl add database -d VIS1 -o $ORACLE_HOME <-- this works now.
========================================================================
No comments:
Post a Comment