Oracle管理

asmcmd登陆问题小计

时间:2014-12-1 22:57:29  作者:solgle  来源:www.solgle.com  查看:2231  评论:0
内容摘要:[oracle@solgle-1 bin]$ ./asmcmdConnected to an idle instance.sh: /u02/app/product/11.2.0/dbname_1/bin/clsecho: No such file or directoryASMC...
[oracle@solgle-1 bin]$ ./asmcmd
Connected to an idle instance.
sh: /u02/app/product/11.2.0/dbname_1/bin/clsecho: No such file or directory
ASMCMD> 
 
-----查看asmSID名称
[oracle@solgle-1 dbs]$ ls
ab_+ASM1.dat  hc_+ASM1.dat  init.ora  orapw+ASM
[oracle@solgle-1 dbs]$    
 
[oracle@solgle-1 bin]$ export ORACLE_SID=+ASM1
[oracle@solgle-1 bin]$ ./asmcmd
Connected to an idle instance.
sh: /u02/app/product/11.2.0/dbname_1/bin/clsecho: No such file or directory
ASMCMD> startup
ERROR:
ORA-01031: insufficient privileges    ----看来是权限的问题
 
ERROR:
ORA-01005: null password given; logon denied
 
 
sh: /u02/app/product/11.2.0/dbname_1/bin/clsecho: No such file or directory
Connected to an idle instance.
sh: /u02/app/product/11.2.0/dbname_1/bin/clsecho: No such file or directory
ASMCMD> 
 
[oracle@solgle-1 bin]$ su - grid
Password: 
[grid@solgle-1 ~]$ cd /u01/app/grid/11.2.0/bin/
[grid@solgle-1 bin]$ ./asmcmd
ASMCMD> lsdg
State    Type    Rebal  Sector  Block  AU  Total_MB  Free_MB  Req_mir_free_MB  Usable_file_MB  Offline_disks  Voting_files  Name
MOUNTED  EXTERN  N         512   4096  2097152    137708    51994                0           51994              0             Y  DATA1/
MOUNTED  EXTERN  N         512   4096  1048576     41239    22984                0           22984              0             N  DATA2/
ASMCMD> 

 
标签:asmcmd登陆问题 

solgle.com 版权所有,欢迎分享!!!

相关文章
    相关评论
       Copyright © 2013-2020 solgle.com,All rights reserved.[solgle.com] 公安机关备案号:51010802000219
    Email:solgle@solgle.com; weixin:cd1008610000 ICP:蜀ICP备14011070号-1