Problem solve Get help with specific problems with your technologies, process and projects.

Problem installing Oracle9i on WinXP Pro after failed 8i installation

This mess began with me attempting to install Oracle 8i on Window XP Pro machine. That install failed, and then I read the instructions. Not supported.

I uninstalled, and all services appeared to be properly removed. I could restart the machine and all looked good. I then installed Oracle9i Release 2 (, Personal Edition onto the machine. During the install, at the point where it is creating a database, my install failed with a "ORA-12571 TNS:packet writer failure" message. No database was installed, but the listener services all seem to be up and running. I tried using the utilities to create a db, but no success. I can use the utilities to view other Oracle instances running on the network.

I am at a loss.

When I get into these situations, I find that it is best to just scratch the whole thing and start over. So first, you will need to remove all traces of Oracle from your machine. This is done as follows:

  1. Shutdown any Oracle software that is running.
  2. Delete the ORACLE_HOME directory.
  3. Delete the C:\Program Files\Oracle directory.
  4. Fire up the registry editor (regedit).
  5. Delete the HKEY_LOCAL_MACHINE\Software\Oracle folder.
  6. Delete any Oracle ODBC drivers from the HKEY_LOCAL_MACHINE\Software\ODBC\ODBCINST.INI folder
  7. Delete the Oracle services from HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services folder.
  8. Repeat the above for HKEY_LOCAL_MACHINE\System\ControlSetXXX\Services folders where XXX is a number (001, 002, etc.).
  9. Right click on My Computer and select Properties. Click Advanced and then Environment Variables. Find the PATH variable. Remove any traces of Oracle directories in the path.
  10. Reboot your machine.
After you've done all of the above, try reinstalling Oracle.

For More Information

Dig Deeper on Oracle database design and architecture

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.