cannot use asmcmd after srvctl stop db / remove database
518459Jun 6 2011 — edited Mar 5 2013Hello,
I have an Oracle instance SNM with datafiles stored in ASM (Oracle 11.2.0.2 running on Solaris 10), Oracle Grid is also running on the machine. I have taken a backup of the database instance, and now I want to restore it.
Before starting the restore, I performed some cleanup of the grid resources:
srvctl stop db -d SNM
srvctl remove database -d SNM
dbca -silent -deleteDatabase -sourceDB SNM
crs_stat -t reports all other resources online, the problem is I cannot connect anymore with asmcmd to the ASM instance:
$ asmcmd
Connected to an idle instance.
ASMCMD> lsdg
ASMCMD-08102: no connection to ASM; command requires ASM to run
Did one of the srvctl commands or the dbca -deleteDatabase interfere with the ASM instance?
I'm using the same environment (ORACLE_SID, ORACLE_HOME etc.) as I used before the cleanup, but now I'm just not able to connect to the ASM instance anymore.
Any help is appreciated,
AdrianM