安装oracle rac后asmcmd报错

问题:

安装好整个rac环境后,
(1) asmca界面上,发现crs磁盘组mounted(1 of 2)
(2) asmcmd命令报错如下:


[grid@bakrac1 ~]$ asmcmd
Can't locate strict.pm in @INC (@INC contains: /home/oracle/app/11.2.0/grid/perl/lib/5.10.0/x86_64-linux-thread-multi /home/oracle/app/11.2.0/grid/perl/lib/5.10.0 /home/oracle/app/11.2.0/grid/perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi /home/oracle/app/11.2.0/grid/perl/lib/site_perl/5.10.0 /home/oracle/app/11.2.0/grid/lib /home/oracle/app/11.2.0/grid/lib/asmcmd /home/oracle/app/11.2.0/grid/rdbms/lib/asmcmd /home/oracle/app/11.2.0/grid/perl/lib/5.10.0/x86_64-linux-thread-multi /home/oracle/app/11.2.0/grid/perl/lib/5.10.0 /home/oracle/app/11.2.0/grid/perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi /home/oracle/app/11.2.0/grid/perl/lib/site_perl/5.10.0 /home/oracle/app/11.2.0/grid/perl/lib/5.10.0/x86_64-linux-thread-multi /home/oracle/app/11.2.0/grid/perl/lib/5.10.0/x86_64-linux-thread-multi /home/oracle/app/11.2.0/grid/perl/lib/5.10.0 /home/oracle/app/11.2.0/grid/perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi /home/oracle/app/11.2.0/grid/perl/lib/site_perl/5.10.0 /home/oracle/app/11.2.0/grid/perl/lib/site_perl .) at /home/oracle/app/11.2.0/grid/bin/asmcmdcore line 143.
BEGIN failed--compilation aborted at /home/oracle/app/11.2.0/grid/bin/asmcmdcore line 143.

原因:

发现grid的home和base目录权限被谁改成了oracle:oinstall,由于GI安装在/home/oracle/app目录下,容易被误操作chown -R ,对GI进行relink后解决。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值