This content has been marked as final. Show 7 replies
Are you sure ASM is running?
Are the environment variables set?
Please post output of:
If they are not set correctly you can do the following.
echo $ORACLE_SID echo $ORACLE_HOME
If you have installed the GRID/ASM as the grid user switch your user(if not already done) to it and set you ORACLE_SID and ORACLE_HOME environment variables:
if this is a RAC instance please export the ORACLE_SID to ASM1 or ASM2 ... +ASM(n) depending on the node your are working.
su - grid export ORACLE_SID=+ASM export ORACLE_HOME=<GRID_HOME>
After this has been done please try the asmcmd command again.
Edited by: user10506095 on Jun 6, 2011 4:31 PM
Is this a RAC instance?
Did you do the install as the grid user?
If you did please switch to the grid user and post the output of the following:
Also please look in the asm alert log for any errors.
<GRID_HOME>/crsctl stat res -t cat /etc/oratab ps -ef|grep asm_pmon <GRID_HOME>/srvctl status asm
Yes, this is a RAC instance, installed as the grid user (oracle:oinstall).
I'm afraid the crsctl and srvctl status reports aren't meaningfull anymore, as the server is now in a different state (asmcmd now running, some of the resources offline though).
However, here's the output of the oratab file (which is located in /var/opt/oracle, as we're on Solaris, not Linux)
+ASM1:/opt/app/grid/18.104.22.168:N # line added by Agent
SNM:/opt/app/oracle/product/22.214.171.124:N # line added by Agent
Would this be the issue? (+ASM1 and SNM instances not being started automatically?)
QUOTE: +"I'm afraid the crsctl and srvctl status reports aren't meaningfull anymore, as the server is now in a different state (asmcmd now running, some of the resources offline though)."+
What do you mean the server is in a different state?
To see if the auto start is enabled you can run as root user:
Please post the output of:
<GRID_HOME>/crsctl config has
So that we can make sure all the correct resources are started.
<GRID_HOME>/crsctl stat res -t
I encountered the same issue, after removing database and re-register database to OCR again, I found asmcmd connect to idle instance, in the same I used to access ASMCOM.
Connected to an idle instance.
I checked the other databases/using ASM on the server, they are still working well.
so odd. have you fixed the issue? please share your experience if this is fixed.