您的位置:首页 > 数据库 > Oracle

CRS-4639: Could not contact Oracle High Availability Services

2013-11-12 15:38 411 查看
在启动asm实例的时候报如下错误

[grid@b1 ~]$ sqlplus / as sysasm

SQL*Plus: Release 11.2.0.1.0 Production on Thu Sep 12 18:14:13 2013

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

Connected to an idle instance.

SQL> startup

ORA-01078: failure in processing system parameters

ORA-29701: unable to connect to Cluster Synchronization Service

然后用crsctl check css检查的时候报如下错误:

[grid@b1 ~]$ crsctl check css

CRS-4639: Could not contact Oracle High Availability Services

CRS-4000: Command Check failed, or completed with errors.

解决CRS-4639: Could not contact Oracle High Availability Services过程如下:

[root@b1 grid]# cd /u01/app/11.2.0/grid/crs/install

[root@b1 install]# ./roothas.pl -deconfig -force -verbose

2013-09-12 19:25:05: Checking for super user privileges

2013-09-12 19:25:05: User has super user privileges

2013-09-12 19:25:05: Parsing the host name

Using configuration parameter file: ./crsconfig_params

CRS-4639: Could not contact Oracle High Availability Services

CRS-4000: Command Stop failed, or completed with errors.

CRS-4639: Could not contact Oracle High Availability Services

CRS-4000: Command Delete failed, or completed with errors.

Failure at scls_scr_getval with code 1

Internal Error Information:

Category: -2

Operation: opendir

Location: scrsearch1

Other: cant open scr home dir scls_scr_getval

System Dependent Information: 2

CRS-4544: Unable to connect to OHAS

CRS-4000: Command Stop failed, or completed with errors.

ACFS-9200: Supported

Successfully deconfigured Oracle Restart stack

[root@b1 install]# cd /u01/app/11.2.0/grid/

[root@b1 grid]# ./root.sh

Performing root user operation for Oracle 11g

The following environment variables are set as:

ORACLE_OWNER= grid

ORACLE_HOME= /opt/oracrs/product/11gR2/grid

Entries will be added to the /etc/oratab file as needed by

Database Configuration Assistant when a database is created

Finished running generic part of root script.

Now product-specific root actions will be performed.

To configure Grid Infrastructure for a Stand-Alone Server run the following command as the root user:

/opt/oracrs/product/11gR2/grid/perl/bin/perl -I/opt/oracrs/product/11gR2/grid/perl/lib -I/opt/oracrs/product/11gR2/grid/crs/install /opt/oracrs/product/11gR2/grid/crs/install/roothas.pl

To configure Grid Infrastructure for a Cluster execute the following command:

/opt/oracrs/product/11gR2/grid/crs/config/config.sh

This command launches the Grid Infrastructure Configuration Wizard. The wizard also supports silent operation, and the parameters can be passed through the response file that is available in the installation media.



/opt/oracrs/product/11gR2/grid/perl/bin/perl -I/opt/oracrs/product/11gR2/grid/perl/lib -I/opt/oracrs/product/11gR2/grid/crs/install /opt/oracrs/product/11gR2/grid/crs/install/roothas.pl/opt/oracrs/product/11gR2/grid/perl/bin/perl -I/opt/oracrs/product/11gR2/grid/perl/lib
-I/opt/oracrs/product/11gR2/grid/crs/install /opt/oracrs/product/11gR2/grid/crs/install/roothas.pl



[root@b1 grid]# /opt/oracrs/product/11gR2/grid/perl/bin/perl -I/opt/oracrs/product/11gR2/grid/perl/lib -I/opt/oracrs/product/11gR2/grid/crs/install /opt/oracrs/product/11gR2/grid/crs/install/roothas.pl

Using configuration parameter file: /opt/oracrs/product/11gR2/grid/crs/install/crsconfig_params

User ignored Prerequisites during installation

LOCAL ADD MODE

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

Operation successful.

LOCAL ONLY MODE

Successfully accumulated necessary OCR keys.

Creating OCR keys for user 'root', privgrp 'root'..

Operation successful.

CRS-4664: Node linux140 successfully pinned.

Adding Clusterware entries to inittab

linux140 2013/11/12 15:33:48 /opt/oracrs/product/11gR2/grid/cdata/linux140/backup_20131112_153348.olr

Successfully configured Oracle Grid Infrastructure for a Standalone Server

[grid@b1 ~]$ crs_stat -t

Name Type Target State Host

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

ora.cssd ora.cssd.type OFFLINE OFFLINE

ora.diskmon ora....on.type OFFLINE OFFLINE

[grid@b1 ~]$ crs_start -all

Attempting to start `ora.diskmon` on member `b1`

Attempting to start `ora.cssd` on member `b1`

Start of `ora.diskmon` on member `b1` succeeded.

Start of `ora.cssd` on member `b1` succeeded.

[grid@b1 ~]$ sqlplus / as sysasm

SQL*Plus: Release 11.2.0.1.0 Production on Thu Sep 12 19:34:50 2013

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

Connected to an idle instance.

SQL> startup

ASM instance started

Total System Global Area 283930624 bytes

Fixed Size 2212656 bytes

Variable Size 256552144 bytes

ASM Cache 25165824 bytes

ASM diskgroups mounted

ASM diskgroups volume enabled
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: