11G RAC 卸载

 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问题。

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值