1. 卸载EM plugins.
/data01/app/oracle/product/Agent/core/12.1.0.4.0/oui/bin/runInstaller -deinstall -silent "REMOVE_HOMES={/data01/app/oracle/product/Middleware/plugins/oracle.em.soee.oms.plugin_12.1.0.2.0,/data01/app/oracle/product/Middleware/plugins/oracle.sysman.cfw.oms.plugin_12.1.0.1.0,/data01/app/oracle/product/Middleware/plugins/oracle.sysman.db.oms.plugin_12.1.0.6.0,/data01/app/oracle/product/Middleware/plugins/oracle.sysman.emas.oms.plugin_12.1.0.6.0,/data01/app/oracle/product/Middleware/plugins/oracle.sysman.emct.oms.plugin_12.1.0.6.0,/data01/app/oracle/product/Middleware/plugins/oracle.sysman.mos.oms.plugin_12.1.0.6.0,/data01/app/oracle/product/Middleware/plugins/oracle.sysman.ssa.oms.plugin_12.1.0.8.0,/data01/app/oracle/product/Middleware/plugins/oracle.sysman.vt.oms.plugin_12.1.0.6.0,/data01/app/oracle/product/Middleware/plugins/oracle.sysman.xa.oms.plugin_12.1.0.6.0}" -removeALLFiles -invPtrLoc /etc/oraInst.loc
2. 卸载sbin .
/data01/app/oracle/product/Agent/core/12.1.0.4.0/oui/bin/runInstaller -deinstall -silent "REMOVE_HOMES={/data01/app/oracle/product/Agent/sbin}" -removeALLFiles -invPtrLoc /etc/oraInst.loc
3. 卸载 agent home
/data01/app/oracle/product/Agent/core/12.1.0.4.0/oui/bin/runInstaller -deinstall -silent "REMOVE_HOMES={/data01/app/oracle/product/Agent/core/12.1.0.4.0}" -removeALLFiles -invPtrLoc /etc/oraInst.loc
4. 删除目录
rm -rf /data01/app/oracle/product/Agent
rm -rf /data01/app/oracle/product/Middleware
/data01/app/oracle/product/Agent/core/12.1.0.4.0/oui/bin/runInstaller -deinstall -silent "REMOVE_HOMES={/data01/app/oracle/product/Middleware/plugins/oracle.em.soee.oms.plugin_12.1.0.2.0,/data01/app/oracle/product/Middleware/plugins/oracle.sysman.cfw.oms.plugin_12.1.0.1.0,/data01/app/oracle/product/Middleware/plugins/oracle.sysman.db.oms.plugin_12.1.0.6.0,/data01/app/oracle/product/Middleware/plugins/oracle.sysman.emas.oms.plugin_12.1.0.6.0,/data01/app/oracle/product/Middleware/plugins/oracle.sysman.emct.oms.plugin_12.1.0.6.0,/data01/app/oracle/product/Middleware/plugins/oracle.sysman.mos.oms.plugin_12.1.0.6.0,/data01/app/oracle/product/Middleware/plugins/oracle.sysman.ssa.oms.plugin_12.1.0.8.0,/data01/app/oracle/product/Middleware/plugins/oracle.sysman.vt.oms.plugin_12.1.0.6.0,/data01/app/oracle/product/Middleware/plugins/oracle.sysman.xa.oms.plugin_12.1.0.6.0}" -removeALLFiles -invPtrLoc /etc/oraInst.loc
2. 卸载sbin .
/data01/app/oracle/product/Agent/core/12.1.0.4.0/oui/bin/runInstaller -deinstall -silent "REMOVE_HOMES={/data01/app/oracle/product/Agent/sbin}" -removeALLFiles -invPtrLoc /etc/oraInst.loc
3. 卸载 agent home
/data01/app/oracle/product/Agent/core/12.1.0.4.0/oui/bin/runInstaller -deinstall -silent "REMOVE_HOMES={/data01/app/oracle/product/Agent/core/12.1.0.4.0}" -removeALLFiles -invPtrLoc /etc/oraInst.loc
4. 删除目录
rm -rf /data01/app/oracle/product/Agent
rm -rf /data01/app/oracle/product/Middleware
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/35489/viewspace-1803528/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/35489/viewspace-1803528/