Wednesday, February 26, 2014

"AppSrv01 is already in use. Specify another name" while profile has been deleted on Windows 7



I have deleted the profile through profile management tool and also manually going to the folder C:\Program Files (x86)\IBM\SDP\runtimes\base_v7\profiles but when I was trying to create a new profile it was giving me message "AppSrv01 is already in use. Specify another name" on Windows 7



I also tried to run the manageprofile command  
C:\Program Files (x86)\IBM\SDP\runtimes\base_v7\bin>manageprofiles.bat -delete -profileName profile_name
It through me error message:
INSTCONFFAILED: Cannot delete the profile. For more information, consult C:\Prog
ram Files (x86)\IBM\SDP\runtimes\base_v7\logs\manageprofiles\AppSrv01_delete.log

After going through with IBM website I came to know below steps and it worked perfectly fine

Before you delete a profile, stop its application server to ensure that the application server can be deleted.
You cannot delete a profile using the Profile Management Tool.


About this task

The following example attempts to delete a profile using the manageprofiles command, and then using operating system commands.

Procedure

  1. Issue the manageprofiles command to delete a profile.Substitute your profile name for the profile_name value in the following commands.
    ./manageprofiles.sh -delete 
                    -profileName profile_name
    
    manageprofiles.bat -delete 
                   -profileName profile_name
    If the command is successful, you have completed the task and can skip the remaining steps. If the command is partially successful or unsuccessful, proceed to the next step to delete the profile manually. If you receive the INSTCONFFAILED: Cannot delete profile. message, the command was unsuccessful. If the deletion is partially successful, you could receive message information similar to the following wording:
    INSTCONFPARTIALSUCCESS: The profiles no longer exist, but errors occurred. 
    For more information, consult 
    app_server_root/logs/manageprofiles/deleteAll.log.
    or
    The current user does not have sufficient permissions to detect or 
    remove services. If a service does exist, then an administrative or root user has 
    to remove it. If a service does not exist, then no further action is 
    required.
  2. Issue operating system commands to delete the profile directory.
  3. Issue the following command to remove references in the registry to deleted profiles:
    ./manageprofiles.sh -validateAndUpdateRegistry 
    
    manageprofiles.bat -validateAndUpdateRegistry
    Editing of the registry is not recommended.

Results

You have now deleted a profile.

6 comments:

  1. I appreciate that you produced this wonderful article to help us get more knowledge about this topic.
    I know, it is not an easy task to write such a big article in one day, I've tried that and I've failed. But, here you are, trying the big task and finishing it off and getting good comments and ratings. That is one hell of a job done!


    Selenium training in bangalore
    Selenium training in Chennai
    Selenium training in Bangalore
    Selenium training in Pune
    Selenium Online training

    ReplyDelete
  2. Thanks for such a good collections.its very helpful for me again thank you.


    One Plus Service Centre in Chennai


    ReplyDelete
  3. Thank you for sharing valuable comments for us its very incredible post to whom looking for a particular course if any one who want to learn tally core to advance
    Websphere Application Server Training in Bangalore

    ReplyDelete
  4. Very helpful link

    ReplyDelete