Oracle:OHAS无法启动的处理过程

 

Oracle:OHAS无法启动的处理过程

1. 安装grid过程中有报错,当时就忽略了,手动创建ASM安装完成后检查has是online,但是服务器重启动查看has报如下错:

报错类型:

CRS-4639: Could not contact Oracle HighAvailability Services 
  
2.运行crs目录下的roothas.pl 
[root@station8install]#cd /u01/app/oracle/product/11.2.0/grid/crs/install
[root@station8 install]# ./roothas.pl -deconfig -force -verbose
2012-09-1820:45:37: Checking for super user privileges
2012-09-18 20:45:37: User has super user privileges
2012-09-18 20:45:37: 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.
PROCL-26: Error while accessing the physical storage
CRS-4544: Unable to connect to OHAS
CRS-4000: Command Stop failed, or completed with errors.
ACFS-9200: Supported
acfsroot: ACFS-9313: No ADVM/ACFS installation detected.
Successfully deconfigured Oracle Restart stack 
  
3.重新执行root.sh 
[root@station8 ~]#cd/u01/app/oracle/product/11.2.0/grid/
[root@station8 grid]# ./root.sh
Running Oracle 11groot.sh script... 
The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /u01/grid/gridsoft 
Enter the full pathname of the local bin directory: [/usr/local/bin]: y
Creating y directory...
   Copying dbhome to y ...
   Copying oraenv to y ...
   Copying coraenv to y ... 
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.sh script.
Now product-specific root actions will be performed.
2012-09-18 20:46:29: Checking for super user privileges
2012-09-18 20:46:29: User has super user privileges
2012-09-18 20:46:29: Parsing the host name
Using configuration parameter file:/u01/grid/gridsoft/crs/install/crsconfig_params
LOCAL ADD MODE 
Creating OCR keys for user 'grid', privgrp 'oinstall'..
Operation successful.
CRS-4664: Node station8 successfully pinned.
Adding daemon to inittab
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting 
station8     2012/09/18 20:46:51     /u01/app/oracle/product/11.2.0/grid/cdata/station8/backup_20120918_204651.olr
Successfully configured Oracle Grid Infrastructure for a Standalone Server
Updating inventory properties for clusterware
Starting Oracle Universal Installer... 
Checking swap space: must be greater than 500 MB.   Actual 1568MB    Passed
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /u01/app/oraInventory
'UpdateNodeList' was successful. 

4.查看res信息 
[root@station8 ~]#cd/u01/app/oracle/product/11.2.0/grid/bin

[root@station8 bin]# ./crsctl stat res -t
--------------------------------------------------------------------------------
NAME           TARGET STATE       SERVER                  STATE_DETAILS       
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.cssd
      1       OFFLINEOFFLINE                                                   
ora.diskmon
      1       OFFLINE OFFLINE 

5.检查has状态 
[root@station8 bin]#./crsctl check has
CRS-4638: OracleHigh Availability Services is online

6.启动相应资源

[root@station8 bin]# ./crsctl start res-all
CRS-2672:Attempting to start 'ora.diskmon' on 'station8'
CRS-2672: Attempting to start 'ora.cssd' on 'station8'
CRS-2676: Start of 'ora.diskmon' on 'station8' succeeded
CRS-2676: Start of 'ora.cssd' on 'station8' succeeded


[root@station8 bin]#./crs_stat -t
Name          Type          Target    State    Host        
------------------------------------------------------------
ora.cssd       ora.cssd.type ONLINE    ONLINE    station8         
ora.diskmon    ora....on.type ONLINE   ONLINE    station8 
  
[root@station8 bin]#ps -ef|grep gridsoft
grid     3771     1  0 20:46?        00:00:00 /u01/app/oracle/product/11.2.0/grid/bin /ohasd.bin reboot
grid      4756     1  0 20:47?        00:00:00 /u01/app/oracle/product/11.2.0/grid/bin /bin/orarootagent.bin
grid      4760     1  0 20:47?        00:00:00 /u01/app/oracle/product/11.2.0/grid/bin /bin/cssdagent
grid      4775     1  0 20:47?        00:00:00 /u01/app/oracle/product/11.2.0/grid/bin /bin/ocssd.bin 
grid      4788     1  0 20:47?        00:00:00 /u01/app/oracle/product/11.2.0/grid/bin /bin/diskmon.bin -d -f
root      4826  3476  0 20:49pts/1    00:00:00 grep gridsoft 

[grid@station8 bin]$ ./crsctl check has
CRS-4638: Oracle High Availability Services isonline 
  

 

 

 

 

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值