How to really reinstall Oracle 10g
You can tell when a blogger has been busy when their blog isn’t being updated. Sorry. How about a little highly technical content?
I have a virual machine with Oracle 10g on it. Actually, it’s not Linux, it’s Windows because the Oracle install on Linux is a pain. Anyway, they will only give us dynamic IPs at the office and, wouldn’t you know, the IP on my virtual machine change. Oracle doesn’t like this at all — not one bit. I could have probably figured out how to change the IP address in Oracle manually, but instead of going through that pain and suffering, I decided it would be easier to uninstall and reinstall. Only it wasn’t quite that easy after all. This is what I did:
- Run Oracle’s Installer and uninstall all products.
- Reboot. Yes, I said reboot. Some Oracle process is still hanging on to a DLL you need to remove. This is the only way to stop it.
- Remove the top of your Oracle directory. In the Unix world, this is probably
/opt/oracle. On my Windows machine, it’sc:\oracle. - Reinstall Oracle with the same options as before. Or different ones — it really doesn’t matter.
- Reboot again. This will ensure all the processes come up right.
Not too hard, right? That extra reboot in there was the tough part.