Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Uninstall and reinstall GRID

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

GRID needs to be reinstalled due to previous installation errors or other problems. The following error occurs

Install orace grid infrastructure prompt "[INS-40404] The installer has detected a configured instance of

1. Uninstall GRID software

su - grid

cd /u01/app/11.2.0/grid/deinstall/

or

cd /u01/app/grid/product/11.2.0/grid/deinstall/

./ deinstall

Just follow the prompts by default.

Finally, there will be a request to execute with root

/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"

Remember to stop all crs services here. If some of them cannot be stopped, just ps -ef directly.| grep pmon

KILL -9 PID

After completion, the script executed by root will be completed in a while, and then deinstall can also be completed by pressing Enter.

2. Delete the files starting with ocr in/etc/oracle/directory

rm ocr.loc

rm ocr.loc.orig

rm olr.loc

rm olr.loc.orig

3. Empty ASM disk data

Empty ASM Disk Command

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 single node installation

Forgot the screenshot at the back, select ascoper group, add volume, set password, install, run root script, complete

crsctl start resource ora.cssd

crsctl start resource ora.diskmon

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report