2013年7月25日 星期四

Linux Uninstal Oracle

Uninstalling all products from UNIX is a lot more consistent. If you do need to resort to a manual uninstall you should do something like:

* Uninstall all Oracle components using the Oracle Universal Installer (OUI).
* Stop any outstanding processes using the appropriate utilities:

# oemctl stop oms user/password
# agentctl stop
# lsnrctl stop

Alternatively you can kill them using the kill -9 pid command as the root user.
* Delete the files and directories below the $ORACLE_HOME:

# cd $ORACLE_HOME
# rm -Rf *

* With the exception of the product directory, delete directories below the $ORACLE_BASE.

# cd $ORACLE_BASE
# rm -Rf admin doc jre o*

* Delete the /etc/oratab file. If using 9iAS delete the /etc/emtab file also.

# rm /etc/oratab /etc/emtab
#rm -rf /usr/local/oracle
#rm -rf /etc/oraInst.loc

沒有留言:

張貼留言