溫馨提示×

溫馨提示×

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

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

GRID卸載及重新安裝

發(fā)布時(shí)間:2020-08-10 00:40:38 來源:ITPUB博客 閱讀:242 作者:germany006 欄目:關(guān)系型數(shù)據(jù)庫

由于之前錯(cuò)誤安裝或者其他問題需要重新安裝GRID,出現(xiàn)以下報(bào)錯(cuò)

安裝orace grid infrastructure 提示“[INS-40404] The installer has detected a configured instance of


1、卸載GRID軟件
su - grid
cd /u01/app/11.2.0/grid/deinstall/
或者
cd /u01/app/grid/product/11.2.0/grid/deinstall/

./deinstall
按照提示默認(rèn)來就行
最后會(huì)有一個(gè)要求用root用戶執(zhí)行的
/tmp/deinstall2018-03-23_04-09-51PM/perl/bin/perl -I/tmp/deinstall2018-03-23_04-09-51PM/perl/lib -I/tmp/deinstall2018-03-23_04-09-51PM/crs/install /tmp/deinstall2018-03-23_04-09-51PM/crs/install/roothas.pl -force  -deconfig -paramfile "/tmp/deinstall2018-03-23_04-09-51PM/response/deinstall_Ora11g_gridinfrahome1.rsp"

這里要記得把crs的服務(wù)全部停止了,如果有部分無法停止,就直接ps -ef|grep pmon
然后KILL -9 PID
完成后,root執(zhí)行的那個(gè)腳本過一會(huì)兒就會(huì)執(zhí)行完成,然后deinstall 也可以按回車完成


2、刪除/etc/oracle/ 目錄下ocr開頭的文件
rm ocr.loc
rm ocr.loc.orig
rm olr.loc
rm olr.loc.orig

3、清空ASM磁盤中的數(shù)據(jù)

清空ASM 磁盤命令


dd  if=/dev/zero  of=/dev/asm_vdb  bs=8192  count=128000
128000+0 records in
128000+0 records out
1048576000 bytes (1.0 GB) copied, 9.92851 s, 106 MB/s


4、grid單節(jié)點(diǎn)安裝
GRID卸載及重新安裝
GRID卸載及重新安裝

后面的忘記截圖了,選擇asmoper組,添加卷,設(shè)置密碼,安裝,運(yùn)行root腳本,完成



crsctl start resource ora.cssd
crsctl start resource ora.diskmon


向AI問一下細(xì)節(jié)

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

AI