oslevel -s 6100-08-02-1316 數(shù)據(jù)庫版本:11.2.0.4 單節(jié)點安裝grid 報錯: /u02/app/11.2.0/grid/crs/install/rootcrs.pl -deconfig -fo..."/>
溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務(wù)條款》

roothas.pl line 377, line 34.

發(fā)布時間:2020-08-07 05:48:02 來源:ITPUB博客 閱讀:171 作者:xychong123 欄目:關(guān)系型數(shù)據(jù)庫
操作系統(tǒng):
csyz:/etc#>oslevel -s
6100-08-02-1316
數(shù)據(jù)庫版本:11.2.0.4

單節(jié)點安裝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



===============
刪除如下內(nèi)容:
/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問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI