oracle 11g 操作ASM許可權問題

longqidong發表於2012-08-02

在11g中,使用sysdba連線ASM。

SQL>conn / as sysdba

SQL> alter diskgroup DATA mount;                               

alter diskgroup DATA mount

*

ERROR at line 1:

ORA-15032: not all alterations performed

ORA-15260: permission denied on ASM disk group




ORA-15260: permission denied on ASM disk group
告知許可權被否則。

[root@rac1 ~]# su - grid
>$sqlplus / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on Thu May 3 15:28:20 2012

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> alter diskgroup webdg add disk '/dev/raw/raw4';
alter diskgroup webdg add disk '/dev/raw/raw4'
*
ERROR at line 1:
ORA-15032: not all alterations performed
ORA-15260: permission denied on ASM disk group



使用sysasm連線,即可。

/home/grid@serv1=>+ASM1$sqlplus / as sysasm

SQL*Plus: Release 11.2.0.1.0 Production on Thu May 3 15:29:42 2012

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> show user
USER is "SYS"

                

SQL> alter diskgroup DATA mount;

Diskgroup altered.

這是11g在ASM管理上一個改進。

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/22418990/viewspace-739656/,如需轉載,請註明出處,否則將追究法律責任。

相關文章