roothas.pl line 377, line 34.

操作系统:
csyz:/etc#>oslevel -s
6100-08-02-1316
数据库版本:11.2.0.4

单节点安装grid 报错:
/u02/app/11.2.0/grid/crs/install/rootcrs.pl -deconfig -force
/u02/app/11.2.0/grid/root.sh
To configure Grid Infrastructure for a Stand-Alone Server run the following command as the root user:
/u02/app/11.2.0/grid/perl/bin/perl -I/u02/app/11.2.0/grid/perl/lib -I /u02/app/11.2.0/grid/crs/install /u02/app/11.2.0/grid/crs/install/roothas.pl



===============
删除如下内容:
/var/tmp/.oracle ----del
/etc/inittab  ---del has 信息。
/tmp/.oracle  ---del



===============================


csyz:/etc#>/u02/app/11.2.0/grid/perl/bin/perl -I/u02/app/11.2.0/grid/perl/lib -I/u02/app/11.2.0/grid/crs/install /u02/app/11.2.0/grid/crs/install/roothas.pl
Using configuration parameter file: /u02/app/11.2.0/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 'system'..
Operation successful.
CRS-4664: Node csyz successfully pinned.
Adding Clusterware entries to inittab
ohasd failed to start
Failed to start the Clusterware. Last 20 lines of the alert log follow: 
2017-12-12 22:25:22.942: 
[client(3080584)]CRS-1001:The OCR was formatted using version 3.
2017-12-12 22:28:56.110: 
[ohasd(4390966)]CRS-0715:Oracle High Availability Service has timed out waiting for init.ohasd to be started.
2017-12-12 22:32:10.118: 
[ohasd(4390966)]CRS-2112:The OLR service started on node csyz.
2017-12-12 22:32:10.279: 
[ohasd(4390966)]CRS-1301:Oracle High Availability Service started on node csyz.
2017-12-12 22:32:10.970: 
[ohasd(3080524)]CRS-0704:Oracle High Availability Service aborted due to Oracle Local Registry error [PROCL-24: Error in the messaging layer Messaging error [gipcretAddressInUse] [20]]. Details at (:OHAS00106:) in /u02/app/11.2.0/grid/log/csyz/ohasd/ohasd.log.
[client(3277080)]CRS-10001:12-Dec-17 22:33 ACFS-9200: Supported
2017-12-12 22:34:55.470: 
[client(3211540)]CRS-2101:The OLR was formatted using version 3.
2017-12-12 22:34:57.943: 
[client(3997844)]CRS-1001:The OCR was formatted using version 3.
[client(2818166)]CRS-10001:12-Dec-17 22:39 ACFS-9200: Supported
2017-12-12 22:40:17.228: 
[client(4063408)]CRS-2101:The OLR was formatted using version 3.
2017-12-12 22:40:21.364: 
[client(3211676)]CRS-1001:The OCR was formatted using version 3.


ohasd failed to start at /u02/app/11.2.0/grid/crs/install/roothas.pl line 377, <ALERTLOG> line 34.  《====报错信息


解决方法:
在运行脚本的时候
/u02/app/11.2.0/grid/perl/bin/perl -I/u02/app/11.2.0/grid/perl/lib -I/u02/app/11.2.0/grid/crs/install /u02/app/11.2.0/grid/crs/install/roothas.pl
同时打开一个窗口运行:
csyz:/tmp#>dd if=/tmp/.oracle/npohasd of=/dev/null bs=1024 count=1


===============

启动方法:
窗口1:dd if=/tmp/.oracle/npohasd of=/dev/null bs=1024 count=1
窗口2:crsctl disable has




来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/20747382/viewspace-2148623/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/20747382/viewspace-2148623/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器学习模型机器
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值