久久精品人人爽,华人av在线,亚洲性视频网站,欧美专区一二三

在部署Oracle11gR2執(zhí)行root.sh腳本時(shí)遇到CRS

共計(jì) 5068 個(gè)字符,預(yù)計(jì)需要花費(fèi) 13 分鐘才能閱讀完成。

這篇文章主要為大家展示了“在部署 Oracle11gR2 執(zhí)行 root.sh 腳本時(shí)遇到 CRS-2101 問(wèn)題怎么辦”,內(nèi)容簡(jiǎn)而易懂,條理清晰,希望能夠幫助大家解決疑惑,下面讓丸趣 TV 小編帶領(lǐng)大家一起研究并學(xué)習(xí)一下“在部署 Oracle11gR2 執(zhí)行 root.sh 腳本時(shí)遇到 CRS-2101 問(wèn)題怎么辦”這篇文章吧。

在部署 Oracle11gR2 執(zhí)行 root.sh 腳本時(shí),遇上 bug 導(dǎo)致 [client(16400)]CRS-2101:The OLR was formatted using version 3 問(wèn)題,然后就卡著不動(dòng),過(guò)程如下:

[root@qsyxdb1 home]# /u01/app/11.2.0/grid/root.sh
Performing root user operation for Oracle 11g 
 
The following environment variables are set as:
 ORACLE_OWNER= grid
 ORACLE_HOME= /u01/app/11.2.0/grid
 
Enter the full pathname of the local bin directory: [/usr/local/bin]: 
 Copying dbhome to /usr/local/bin ...
 Copying oraenv to /usr/local/bin ...
 Copying coraenv to /usr/local/bin ...
 
 
Creating /etc/oratab file...
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 script.
Now product-specific root actions will be performed.
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
User ignored Prerequisites during installation
Installing Trace File Analyzer
OLR initialization - successful
 root wallet
 root wallet cert
 root cert export
 peer wallet
 profile reader wallet
 pa wallet
 peer wallet keys
 pa wallet keys
 peer cert request
 pa cert request
 peer cert
 pa cert
 peer root cert TP
 profile reader root cert TP
 pa root cert TP
 peer pa cert TP
 pa peer cert TP
 profile reader pa cert TP
 profile reader peer cert TP
 peer user cert
 pa user cert
Adding Clusterware entries to inittab
ohasd failed to start
Failed to start the Clusterware. Last 20 lines of the alert log follow: 
2018-08-16 16:16:59.741: 
[client(16400)]CRS-2101:The OLR was formatted using version 3.

提示錯(cuò)誤并卡在此處,遇上了就不多說(shuō),直接另開(kāi)一個(gè)會(huì)話窗口,在 root 用戶下執(zhí)行 /bin/dd if=/var/tmp/.oracle/npohasd of=/dev/null bs=1024 count=1(注:根據(jù)操作系統(tǒng)版本不同,npohasd 文件目錄可能不同,更改目錄路徑即可) 繼續(xù)監(jiān)控 root.sh 執(zhí)行輸出日志,如下所示,順利完成。

CRS-2672: Attempting to start  ora.mdnsd  on  qsyxdb1 
CRS-2676: Start of  ora.mdnsd  on  qsyxdb1  succeeded
CRS-2672: Attempting to start  ora.gpnpd  on  qsyxdb1 
CRS-2676: Start of  ora.gpnpd  on  qsyxdb1  succeeded
CRS-2672: Attempting to start  ora.cssdmonitor  on  qsyxdb1 
CRS-2672: Attempting to start  ora.gipcd  on  qsyxdb1 
CRS-2676: Start of  ora.cssdmonitor  on  qsyxdb1  succeeded
CRS-2676: Start of  ora.gipcd  on  qsyxdb1  succeeded
CRS-2672: Attempting to start  ora.cssd  on  qsyxdb1 
CRS-2672: Attempting to start  ora.diskmon  on  qsyxdb1 
CRS-2676: Start of  ora.diskmon  on  qsyxdb1  succeeded
CRS-2676: Start of  ora.cssd  on  qsyxdb1  succeeded
 
已成功創(chuàng)建并啟動(dòng)  ASM。 
已成功創(chuàng)建磁盤組 OCR。 
clscfg: -install mode specified
Successfully accumulated necessary OCR keys.
Creating OCR keys for user  root , privgrp  root ..
Operation successful.
CRS-4256: Updating the profile
Successful addition of voting disk ada400ba18eb4f92bf9bdaa9171a7775.
Successful addition of voting disk 2308ef593a784fb7bff13436b84c61a3.
Successful addition of voting disk 3e882c78f43c4f32bff9e12e71de3866.
Successfully replaced voting disk group with +OCR.
CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
## STATE File Universal Id File Name Disk group
-- ----- ----------------- --------- ---------
 1. ONLINE ada400ba18eb4f92bf9bdaa9171a7775 (/dev/asmdiskb) [OCR]
 2. ONLINE 2308ef593a784fb7bff13436b84c61a3 (/dev/asmdiskc) [OCR]
 3. ONLINE 3e882c78f43c4f32bff9e12e71de3866 (/dev/asmdiskd) [OCR]
Located 3 voting disk(s).
CRS-2672: Attempting to start  ora.asm  on  qsyxdb1 
CRS-2676: Start of  ora.asm  on  qsyxdb1  succeeded
CRS-2672: Attempting to start  ora.OCR.dg  on  qsyxdb1 
CRS-2676: Start of  ora.OCR.dg  on  qsyxdb1  succeeded
Configure Oracle Grid Infrastructure for a Cluster ... succeeded
[root@qsyxdb1 home]#

在節(jié)點(diǎn) 2 執(zhí)行 root.sh 的時(shí)候,依然出現(xiàn)了這種情況,如法炮制即可,過(guò)程如下。

[root@qsyxdb2 ~]# /u01/app/11.2.0/grid/root.sh
Performing root user operation for Oracle 11g 
 
The following environment variables are set as:
 ORACLE_OWNER= grid
 ORACLE_HOME= /u01/app/11.2.0/grid
 
Enter the full pathname of the local bin directory: [/usr/local/bin]: 
 Copying dbhome to /usr/local/bin ...
 Copying oraenv to /usr/local/bin ...
 Copying coraenv to /usr/local/bin ...
 
 
Creating /etc/oratab file...
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 script.
Now product-specific root actions will be performed.
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
User ignored Prerequisites during installation
Installing Trace File Analyzer
OLR initialization - successful
Adding Clusterware entries to inittab
ohasd failed to start
Failed to start the Clusterware. Last 20 lines of the alert log follow: 
2018-08-16 16:51:44.453: 
[client(15563)]CRS-2101:The OLR was formatted using version 3.
 
CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node qsyxdb1, number 1, and is terminating
An active cluster was found during exclusive startup, restarting to join the cluster
Configure Oracle Grid Infrastructure for a Cluster ... succeeded
[root@qsyxdb2 ~]#

以上是“在部署 Oracle11gR2 執(zhí)行 root.sh 腳本時(shí)遇到 CRS-2101 問(wèn)題怎么辦”這篇文章的所有內(nèi)容,感謝各位的閱讀!相信大家都有了一定的了解,希望分享的內(nèi)容對(duì)大家有所幫助,如果還想學(xué)習(xí)更多知識(shí),歡迎關(guān)注丸趣 TV 行業(yè)資訊頻道!

正文完
 
丸趣
版權(quán)聲明:本站原創(chuàng)文章,由 丸趣 2023-07-24發(fā)表,共計(jì)5068字。
轉(zhuǎn)載說(shuō)明:除特殊說(shuō)明外本站除技術(shù)相關(guān)以外文章皆由網(wǎng)絡(luò)搜集發(fā)布,轉(zhuǎn)載請(qǐng)注明出處。
評(píng)論(沒(méi)有評(píng)論)
主站蜘蛛池模板: 江陵县| 惠州市| 齐齐哈尔市| 湖南省| 梅州市| 元谋县| 来宾市| 平顶山市| 天峨县| 阿拉善右旗| 龙口市| 常熟市| 酒泉市| 武宁县| 淮滨县| 静宁县| 大洼县| 乌恰县| 北海市| 瑞丽市| 沾化县| 五原县| 新营市| 台安县| 无棣县| 资兴市| 隆德县| 西藏| 大厂| 江达县| 右玉县| 察哈| 隆德县| 会同县| 南安市| 神池县| 江安县| 上饶县| 芮城县| 湘西| 呈贡县|