Search This Blog

Total Pageviews

Saturday, 7 December 2024

CRS-2974: unable to act on resource 'ora.asm' on server

CRS-2974: unable to act on resource 'ora.asm' on server

[grid@srv1 ~]$ srvctl stop asm
PRCR-1065 : Failed to stop resource ora.asm
CRS-2974: unable to act on resource 'ora.asm' on server 'srv1' because that would require stopping or relocating resource 'ora.DATADISK.dg' but the appropriate force flag was not specified


ps -ef | grep -E 'd\.bin|ohasd'
root      1479     1  0 16:37 ?        00:00:00 /bin/sh /etc/init.d/init.ohasd run >/dev/null 2>&1 
Password file: +OCRDISK/orapwasm
Backup of Password file:
ASM listener: LISTENER
Spfile: +OCRDISK/ASM/ASMPARAMETERFILE/registry.253.1044813569
ASM diskgroup discovery string: /dev/oracleasm/disks/*
[grid@srv1 ~]$



use -force to stop asm 

srvctl stop asm -force   
or
srvctl stop asm -force -stopoption immediate


[grid@srv1 ~]$ srvctl stop asm
PRCR-1065 : Failed to stop resource ora.asm
CRS-2974: unable to act on resource 'ora.asm' on server 'srv1' because that would require stopping or relocating resource 'ora.DATADISK.dg' but the appropriate force flag was not specified

[grid@srv1 ~]$ srvctl stop asm -force

[grid@srv1 ~]$ srvctl status asm
ASM is not running.

[grid@srv1 ~]$ srvctl start asm

[grid@srv1 ~]$
[grid@srv1 ~]$ srvctl status asm
ASM is running on srv1
[grid@srv1 ~]$

Oracle DBA

anuj blog Archive