oracle11gR2asm实例不能启动处理⽅法由于断电导致 11g R2 asm 数据库不能启动,处理过程如下:
/ as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Mon Mar 12 14:22:13 2012
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
检测 css 进程:
check css
CRS-4639: Could not contact Oracle High Availability Services
CRS-4000: Command Check failed, or completed with errors.
-ef|grep cssd
grid 135192 225738 0 12:08:39 pts/2 0:00 grep cssd
检测has进程:
check has
CRS-4639: Could not contact Oracle High Availability Services
linux安装oracle 11g说明ohasd进程没有启动,启动ohasd进程:
# ./ohasd start
Starting ohasd:
CRS-4123: Oracle High Availability Services has been started.
检查:
-
oracle11
oracle11's Password:
/ as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on Mon Mar 12 14:34:34 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 1.3696E+10 bytes
Fixed Size 2219808 bytes
Variable Size 6878658784 bytes
Database Buffers 6777995264 bytes
Redo Buffers 37015552 bytes
Database mounted.
Database opened.
SQL>
ok 数据库启动。
接下就是要探讨为什么ohasd进程为什么在开机的时候没有⾃动启动?
原因是:安装grid 软件的lv不是⾃动挂载的。所以服务器在启动的时候是不能⾃动挂载grid所在lv,也就不能⾃动启动ohasd了。如果⼿动挂载lv,那么必须⼿动启动ohasd服务。
修改lv为⾃动挂载:
System Storage Management (Physical & Logical Storage)
-->File Systems
--->Add / Change / Show / Delete File Systems
-->Enhanced Journaled File Systems
-->Change / Show Characteristics of an Enhanced Journaled File System
选择要⾃动挂载点
Mount AUTOMATICALLY at system restart? yes ------由no改为yes即可
数据刚安装完成的时候,has进程是⾃动启动,⽤下⾯的命令设置⾃动启动;
enable has --启⽤⾃动启动
disable has --关闭⾃动启动
⼿动启动 has:
crsctl start has
crsctl stop has
查看has 的状态:
crsctl check has
ohasd 资源启动后,才能启动crs资源。
在11gR2中, ohasd包含了crsd、ocssd、evmd.
ohasd负责启动lower stack的集资源, crsd负责启动上层的集资源.
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论