Yangtingkun http://yangtingkun.itpub.net/post/468/471845
http://blog.csdn.net/tianlesoftware/article/details/5892225
http://www.itpub.net/thread-1361816-1-1.html
异常情况下(如数据库名字没了 打不开asm 机器ip名字改变 等情况下) deinstall 做不了,需要手动方法。
asm:
删除磁盘(如果存在的话)-->停止asm-->删除asm-->停止asmlib
[root@orcl ~]# oracleasm status
Checking if ASM is loaded: yes
Checking if /dev/oracleasm is mounted: yes
[root@orcl ~]# oracleasm exit
Unmounting ASMlib driver filesystem: /dev/oracleasm
Unloading module "oracleasm": oracleasm
[root@orcl ~]# oracleasm status
Checking if ASM is loaded: no
Checking if /dev/oracleasm is mounted: no
chkconfig oracleasm off
/etc/oratab
/etc/init.d/init.ohasd, ohasd
/etc/inittab
h1:35:respawn:/etc/init.d/init.ohasd run >/dev/null 2>&1 </dev/null
/etc/oracle
/etc/oraInst.loc:
inventory_loc=/u01/app/oraInventory
inst_group=oinstall
/etc/rc2.d & rc3.d & rc4.d & rc5.d rc6.d rc1.d rc0.d
lrwxrwxrwx 1 root root 17 Oct 14 20:37 K19ohasd -> /etc/init.d/ohasd
lrwxrwxrwx 1 root root 19 Jan 15 10:41 K20oracleasm -> ../init.d/oracleasm
两个Home内容删除, GRID_HOME很多需要root 权限删除.
删除$ORACLE_BASE/admin内容
[root@orcl oracle]# rm -rf cfgtoollogs
[root@orcl oracle]# rm -rf checkpoints
[root@orcl oracle]# rm -rf diag/
[root@orcl oracle]# rm -rf oradiag_oracle/
rm -rf oraInventory/
重新创建的时候 糟糕 又是CRC 错误!!!! 好像机器的问题。
/tmp内容删除
用原来的home也不行,ora-29702 , cgs问题。