Code Snippet
- /etc/init.d/oracle stop
End of Code Snippet
You can view all oracle processes using the command, this will search all running processes that begin with 'ora'.
Code Snippet
- ps -ef | grep ora
End of Code Snippet
Kill the relevent processes using the process' PID and the kill command
Code Snippet
- kill <PID>
End of Code Snippet
Remove all files within your $ORACLE_BASE directory (Don't forget to re-create this directory structure on a new install)
Code Snippet
- rm -rf $ORACLE_BASE
End of Code Snippet
Remove all Oracle references in etc
Code Snippet
- rm -rf /etc/ora*
End of Code Snippet
Remove any temporary files
Code Snippet
- rm -rf /tmp/.oracle
- rm -rf /var/tmp/.oracle
End of Code Snippet
This should be enough to remove Oracle from the machine...
No comments:
Post a Comment