操作系统:
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,
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
网站栏目:roothas.plline377,line34.-创新互联
路径分享:http://cdkjz.cn/article/dgghhi.html