温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

roothas.pl line 377, line 34.

发布时间:2020-08-07 05:48:02 来源:ITPUB博客 阅读:160 作者:xychong123 栏目:关系型数据库
操作系统:
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




向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI