Removing WebSphere Keys on AIX

Posted on 2010-01-07
Last Modified: 2013-12-11

I have installed WAS 6.1 ND on AIX server using cygwin.
Due to some permission issues I am forced to re-install the WAS.
Miskakenly while uninstalling the WAS, I have deleted the WebSphere folder instead of running uninstaller.
Now I am trying to install the WAS again using cygwin but its not accepting the previous path (/opt/IBM/WebSphere/AppServer) for fresh installation.
Its saying "use diff. path or install manually"

It seems the problem is with the registry keys residing on the AIX.

can any body let me know how to remove the registry keys for WebSphere


Question by:RishiBang
    LVL 68

    Accepted Solution

    this will involve multiple steps.
    1) Remove installp references to the software:
    • Issue lslpp -l | grep "WS" . If it's only WAS ND, you will most probably only find things starting with WSN...
    • Note all package names displayed by the above command (the first column up to the first dot, if any)
    • Remove these packages by issuing installp -u -g pkg1 pkg2 pkg3 ...  (e.g. installp -u -g WSNAA WSNACAA )
      • (or use smitty remove pkg1 pkg2 ...)
    • Reply y to all prompts
    • Note - It might be that this part will not run successfully, since some uninstall routines are missing. Continue anyway!
    2) Make sure that you actually removed all the product directories under /opt/IBM/WebSphere
    3) Remove product references in
    • The file is located in /usr/lib/objrepos/
      • It is used to track installed components.
      • Sometimes the file is located directly under /.
    • Make a backup copy of /usr/lib/objrepos/
    • Edit /usr/lib/objrepos/ using vi
    • Delete all lines containing either WS.....61... in the first field or /opt/IBM/WebSphere... in one of the following fields.
      • The dots stand for whichever character!
    • Save the file
    4) You should now be ready to reinstall to the same location.

    Author Closing Comment

    Hi wmp,
    Sorry for the delayed reply.
    First of all thanks for the detailed explanation. Using your information along with the following technote I am able to remove my broken WebSphere Installation and did the fresh installation

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Join & Write a Comment

    Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
    Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now