Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

cannot use asmcmd after srvctl stop db / remove database

518459Jun 6 2011 — edited Mar 5 2013
Hello,

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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 2 2013
Added on Jun 6 2011
7 comments
4,301 views