[grid@node1 ~]$sqlplus / as sysasm
SQL*Plus: Release 11.2.0.1.0 Production on Thu Mar 21 10:13:07 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORA-00304: requested INSTANCE_NUMBER is busy
SQL> exit
Disconnected
[grid@node1 ~]$ ps -ef | grep oracle | grep ASM
grid 13701 1 0 Mar19 ? 00:00:00 oracle+ASM1_asmb_+asm1 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
grid 13738 1 0 Mar19 ? 00:00:01 oracle+ASM1_ocr (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
grid 32183 1 0 Mar20 ? 00:00:00 oracle+ASM1_asmb_orcl1 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
oracle 32688 1 0 Mar20 ? 00:00:00 ora_smco_orcl1
[grid@node1 ~]$ env | grep ORACLE_SID
ORACLE_SID=+ASM
与后台进程一对比发现,后台进程中为+ASM1 ,而环境变量为 +ASM ,
[grid@node1 ~]$ export ORACLE_SID=+ASM1
[grid@node1 ~]$ sqlplus / as sysasm
SQL*Plus: Release 11.2.0.1.0 Production on Thu Mar 21 10:19:39 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Real Application Clusters and Automatic Storage Management options
SQL>
链接:http://www.xuebuyuan.com/1518281.html
SQL*Plus: Release 11.2.0.1.0 Production on Thu Mar 21 10:13:07 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORA-00304: requested INSTANCE_NUMBER is busy
SQL> exit
Disconnected
[grid@node1 ~]$ ps -ef | grep oracle | grep ASM
grid 13701 1 0 Mar19 ? 00:00:00 oracle+ASM1_asmb_+asm1 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
grid 13738 1 0 Mar19 ? 00:00:01 oracle+ASM1_ocr (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
grid 32183 1 0 Mar20 ? 00:00:00 oracle+ASM1_asmb_orcl1 (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
oracle 32688 1 0 Mar20 ? 00:00:00 ora_smco_orcl1
[grid@node1 ~]$ env | grep ORACLE_SID
ORACLE_SID=+ASM
与后台进程一对比发现,后台进程中为+ASM1 ,而环境变量为 +ASM ,
[grid@node1 ~]$ export ORACLE_SID=+ASM1
[grid@node1 ~]$ sqlplus / as sysasm
SQL*Plus: Release 11.2.0.1.0 Production on Thu Mar 21 10:19:39 2013
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Real Application Clusters and Automatic Storage Management options
SQL>
链接:http://www.xuebuyuan.com/1518281.html