oracle 值等于n a,为何oracle restart的状态为n/a

RHEL6.7 + ASM + Oracle11gR2 RI for standalone

装好后状态都是正常的:

[grid@RHEL ~]$ crs_stat -t -v

Name           Type           R/RA   F/FT   Target    State     Host

----------------------------------------------------------------------

ora.DATA.dg    ora....up.type 0/5    0/     ONLINE    ONLINE    rhel

ora.FRA.dg     ora....up.type 0/5    0/     ONLINE    ONLINE    rhel

ora....ER.lsnr ora....er.type 0/5    0/     ONLINE    ONLINE    rhel

ora.asm        ora.asm.type   0/5    0/     ONLINE    ONLINE    rhel

ora.cssd       ora.cssd.type  0/5    0/5    ONLINE    ONLINE    rhel

ora.diskmon    ora....on.type 0/10   0/5    ONLINE    ONLINE    rhel

ora.orcl.db    ora....se.type 0/2    0/1    ONLINE    ONLINE    rhel

也配置了下面的自启:

crsctl modify resource "ora.cssd" -attr "AUTO_START=1"

crsctl modify resource "ora.diskmon" -attr "AUTO_START=1"

crsctl modify resource "ora.DATA.dg" -attr "AUTO_START=1"

crsctl modify resource "ora.FRA.dg" -attr "AUTO_START=1"

[grid@RHEL ~]$ crsctl check has

CRS-4638: Oracle High Availability Services is online

[grid@RHEL ~]$ crsctl check css

CRS-4529: Cluster Synchronization Services is online

[grid@RHEL ~]$  cat /etc/oracle/ocr.loc

ocrconfig_loc=/u01/app/11.2.0/grid/cdata/localhost/local.ocr

local_only=TRUE

[root@RHEL ~]# /u01/app/11.2.0/grid/bin/ocrcheck

Status of Oracle Cluster Registry is as follows :

Version                  :          3

Total space (kbytes)     :     262120

Used space (kbytes)      :        120

Available space (kbytes) :     262000

ID                       : 1617473145

Device/File Name         : /u01/app/11.2.0/grid/cdata/localhost/local.ocr

Device/File integrity check succeeded

Device/File not configured

Device/File not configured

Device/File not configured

Device/File not configured

Cluster registry integrity check succeeded

Logical corruption check succeeded

都运行正常,但是在EM里面看到oracle restart的状态为 n/a

一重启Linux,has这些的都不会自动启动,全部要手动一个个的启动

求教是什么回事呢?

安装的grid的时候遇到了已知的bug

[root@localhost Oracle]# /u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/crs/install/roothas.pl

2018-02-12 15:51:54: Checking for super user privileges

2018-02-12 15:51:54: User has super user privileges

2018-02-12 15:51:54: Parsing the host name

Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params

Creating trace directory

LOCAL ADD MODE

Creating OCR keys for user 'grid', privgrp 'oinstall'..

Operation successful.

CRS-4664: Node localhost successfully pinned.

Adding daemon to inittab

需要执行

/bin/dd if=/var/tmp/.oracle/npohasd of=/dev/null bs=1024 count=1

不过最后还是安装成功的,但是oracle restart完全不起作用,不知道是不是和这个bug有关

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值