oracle10g rac(rhel4)_srvctl启动出错_PRKH-1010

启动oracle rac时,报如下错误

[root@capitek1 ~]# su - oracle
-bash-3.00$ srvctl start database -d capitek
PRKH-1010 : Unable to communicate with CRS services.
  [OCR Error(Native: prsr_initCLSS:[21])]
PRKO-2005 : Application error: Failure in getting Cluster Database Configuration for: capitek
-bash-3.00$ srvctl start database -d capitek
PRKH-1010 : Unable to communicate with CRS services.
  [OCR Error(Native: prsr_initCLSS:[21])]
PRKO-2005 : Application error: Failure in getting Cluster Database Configuration for: capitek
-bash-3.00$ crs_stat -t
CRS-0184: Cannot communicate with the CRS daemon.



处理方法:
1,在每个节点上:
/etc/init.d/init.crs stop
/etc/init.d/init.crs start

若crs进程正常,采用ps结果如下:
[root@capitek1 tmp]# ps -ef|grep crs
root      3541     1  0 04:07 ?        00:00:00 /bin/su -l oracle -c sh -c 'ulimit -c unlimited; cd /u01/app/oracle/product/10.2.0/crs_1/log/capitek1/evmd; exec /u01/app/oracle/product/10.2.0/crs_1/bin/evmd '
root      3991     1  0 04:07 ?        00:00:02 /u01/app/oracle/product/10.2.0/crs_1/bin/crsd.bin reboot
oracle    7192  3541  0 06:04 ?        00:00:00 /u01/app/oracle/product/10.2.0/crs_1/bin/evmd.bin
root      7271  7177  0 06:04 ?        00:00:00 /bin/su -l oracle -c /bin/sh -c 'ulimit -c unlimited; cd /u01/app/oracle/product/10.2.0/crs_1/log/capitek1/cssd;  /u01/app/oracle/product/10.2.0/crs_1/bin/ocssd  || exit $?'
oracle    7272  7271  0 06:04 ?        00:00:00 /bin/sh -c ulimit -c unlimited; cd /u01/app/oracle/product/10.2.0/crs_1/log/capitek1/cssd;  /u01/app/oracle/product/10.2.0/crs_1/bin/ocssd  || exit $?
oracle    7293  7272  0 06:04 ?        00:00:00 /u01/app/oracle/product/10.2.0/crs_1/bin/ocssd.bin
oracle    7532  7192  0 06:04 ?        00:00:00 /u01/app/oracle/product/10.2.0/crs_1/bin/evmlogger.bin -o /u01/app/oracle/product/10.2.0/crs_1/evm/log/evmlogger.info -l /u01/app/oracle/product/10.2.0/crs_1/evm/log/evmlogger.log
oracle    8460     1  0 06:04 ?        00:00:00 /u01/app/oracle/product/10.2.0/crs_1/opmn/bin/ons -d
oracle    8461  8460  0 06:04 ?        00:00:00 /u01/app/oracle/product/10.2.0/crs_1/opmn/bin/ons -d
root     17951  4548  0 06:11 pts/1    00:00:00 grep crs
[root@capitek1 tmp]#


若crs进程有问题,结果如下:
[root@capitek1 tmp]# ps -ef|grep crs
root      3991     1  0 04:07 ?        00:00:00 /bin/sh /etc/init.d/init.crsd run
root      6818  4548  0 06:01 pts/1    00:00:00 grep crs
[root


2,查看/tmp下面的crsctl相关日志,发现是vote and ocs权限有问题,修正权限和所有权如下:

--ocr
chown root:oinstall  /dev/hdb1
chown root:oinstall /dev/raw/raw4
chmod 660 /dev/hdb1
chmod 660 /dev/raw/raw4

--voting disk
chown oracle:oinstall /dev/hdb2
chown oracle:oinstall /dev/raw/raw5
chmod 660 /dev/hdb2
chmod 660 /dev/raw/raw5


3,切换到oracle用户,利用srvctl正常启动rac

4,crs_stat -t查看rac各组件状态

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/9240380/viewspace-628923/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/9240380/viewspace-628923/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值