Troubleshooting
Problem
manageprofiles.sh -backupProfile -profileName
Symptom
The command fails with the following message:
Profile <your_profile> is currently in use: Retry the command later. If there are no other processes are operating on the profile, then the profile might be corrupt. Run the validateAndUpdateRegistry command and create the profile again. INSTCONFFAILED: Cannot backup profile: For more information, consult /WebSphere/AppServer/logs/manageprofiles/your_profile_backupProfile.log. |
Cause
It is possible a started process locked an XML file or if the process was killed, a zombie process was created that is holding a file lock.
Resolving The Problem
Try the following 3 suggestions to help resolve the problem:
- You can try rebooting the server. This will clear any zombie processes and any file locks they are holding.
- If you cannot reboot the server, then you can try using the "lsof" command to list the open files on the server. Then look for any IBM® WebSphere® Application Server XML file for which there is an open file descriptor. You should be able to identify the process that is referencing that file descriptor and kill/close that process.
- The original process may have create a lock file in the OS /tmp directory. Look for any files in the /tmp directory that were created around the time of the first manageprofiles session that you killed. Then remove that file.
If the preceeding 3 suggestions do not resolve the problem, try modifying the profileRegisry.xml file located in the following default path:
<appServerRoot>/properties/profileRegistry.xml |
In this file there will be an entry corresponding to each profile. For example:
<profile isAReservationTicket="true" isDefault="false" name="your_profile" path="/WebSphere/AppServer/profiles/<your_profile>" template="/WebSphere/AppServer/profileTemplates/default"/> |
<profile isAReservationTicket="false" isDefault="false" name="your_profile" path="/WebSphere/AppServer/profiles/<your_profile>" template="/WebSphere/AppServer/profileTemplates/default"/> |
[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"General","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"}],"Version":"8.5.5;8.5;8.0;7.0","Edition":"Base;Network Deployment","Line of Business":{"code":"LOB45","label":"Automation"}}]
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21320418