Bo's Oracle Station

查看: 1762|回复: 3

CRS-0184: Cannot communicate with the CRS daemon.

[复制链接]

13

主题

31

帖子

119

积分

注册会员

Rank: 2

积分
119
发表于 2017-1-8 22:21:09 | 显示全部楼层 |阅读模式
[oracle@station4 ~]$ crs_stat -t
CRS-0184: Cannot communicate with the CRS daemon.

[oracle@station4 ~]$ sqlplus /nolog

SQL*Plus: Release 11.2.0.1.0 Production on Sun Jan 8 22:10:41 2017

Copyright (c) 1982, 2009, Oracle.  All rights reserved.

SQL> conn / as sysdba
Connected to an idle instance.
SQL> startup
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file '+DATA/orcl/spfileorcl.ora'
ORA-17503: ksfdopn:2 Failed to open file +DATA/orcl/spfileorcl.ora
ORA-29701: unable to connect to Cluster Synchronization Service
SQL>
SQL>
SQL> [oracle@station4 ~]$ crs_stat -t
SP2-0734: unknown command beginning "[oracle@st..." - rest of line ignored.
SQL> CRS-0184: Cannot communicate with the CRS daemon.
SP2-0734: unknown command beginning "CRS-0184: ..." - rest of line ignored.
SQL>
SQL>
SQL> exit
Disconnected
[oracle@station4 ~]$
回复

使用道具 举报

1005

主题

1469

帖子

1万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
12012
发表于 2017-1-9 11:23:55 | 显示全部楼层
以root执行以下语句:
mv /etc/oracle /etc/oracle.ori
/u01/app/oracle/product/11.2.0/grid/root.sh
安装提示输入"y"

su - oracle执行以下语句:
export ORACLE_SID=+ASM
export ORACLE_HOME=/u01/app/oracle/product/11.2.0/grid
/u01/app/oracle/product/11.2.0/grid/bin/sqlplus /nolog
conn / as sysasm
alter system set asm_diskstring='/dev/oracleasm/disks/*';
alter system set asm_diskgroups='DATA','FRA';
alter diskgroup data mount;
alter diskgroup fra mount;
echo "*.asm_diskgroups='DATA', 'FRA'"  > /u01/app/oracle/product/11.2.0/grid/dbs/init+ASM.ora
echo "*.asm_diskstring='/dev/oracleasm/disks/*'"  > /u01/app/oracle/product/11.2.0/grid/dbs/init+ASM.ora
/u01/app/oracle/product/11.2.0/grid/bin/srvctl add listener
/u01/app/oracle/product/11.2.0/grid/bin/srvctl add asm
/u01/app/oracle/product/11.2.0/grid/bin/crsctl start resource ora.asm
/u01/app/oracle/product/11.2.0/grid/bin/srvctl add database -d orcl -o /u01/app/oracle/product/11.2.0/dbhome_1
/u01/app/oracle/product/11.2.0/grid/bin/crsctl start resource ora.orcl.db



回复 支持 反对

使用道具 举报

13

主题

31

帖子

119

积分

注册会员

Rank: 2

积分
119
 楼主| 发表于 2017-1-9 22:15:47 | 显示全部楼层
[oracle@station4 ~]$ export ORACLE_SID=+ASM
[oracle@station4 ~]$ export ORACLE_HOME=/u01/app/oracle/product/11.2.0/grid
[oracle@station4 ~]$ /u01/app/oracle/product/11.2.0/grid/bin/sqlplus /nolog

SQL*Plus: Release 11.2.0.1.0 Production on Mon Jan 9 22:05:34 2017

Copyright (c) 1982, 2009, Oracle.  All rights reserved.

SQL> conn / as sysasm
Connected to an idle instance.
SQL> ST^H^H
SP2-0042: unknown command "" - rest of line ignored.
SQL> startup
ORA-01078: failure in processing system parameters
ORA-29701: unable to connect to Cluster Synchronization Service
SQL>
------------------
ASM实例启不了
回复 支持 反对

使用道具 举报

75

主题

115

帖子

2718

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
2718
发表于 2017-1-12 11:10:13 | 显示全部楼层
chenghuaming 发表于 2017-1-9 22:15
[oracle@station4 ~]$ export ORACLE_SID=+ASM
[oracle@station4 ~]$ export ORACLE_HOME=/u01/app/oracl ...

以root身份运行:
mv  /etc/oracle /etc/oracle.ori
/u01/app/oracle/product/11.2.0/grid/crs/install/roothas.pl

回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|Bo's Oracle Station   

GMT+8, 2024-4-26 12:43 , Processed in 0.044108 second(s), 24 queries .

快速回复 返回顶部 返回列表