Troubleshooting
Problem
You use IBM Installation Manager in group mode. You receive errors indicating that files could not be deleted or backed up.
Symptom
Group mode users might see errors in the following scenarios.
NOTE: Installation Manager is used in group mode for all scenarios.
Scenario 1: Adding a Feature
1. User 1 installs Offering A.
2. User 2 modifies Offering A by adding Feature X.
3. Feature X is not added. The modify operation is rolled back and an error similar to the following error is shown:
Error backing up files from /grouphome/WASShared/native/com.ibm.websphere.WAS.server.samples_006_all.all_7.5.0.YYYYMMDDMMSS.zip
java.io.FileNotFoundException: /grouphome/appdata/adapters/native/IBM WebSphere Application Server V7.5/backupDirs/49_/0.properties (No such file or directory)
Scenario 2: Removing a Feature
1. User 1 installs Offering A.
2. User 1 modifies Offering A by adding Feature X.
3. User 2 modifies Offering A by removing Feature X.
4. Feature X is removed but an error similar to the following error is shown:
Error during "complete" phase:
Deleting files from /grouphome/IBM/WebSphere/AppServerv75
Failed to delete /grouphome/appdata/adapters/native/IBM WebSphere Application Server V7.5/backupDirs/49/0.properties
Failed to delete /grouphome/appdata/adapters/native/IBM WebSphere Application Server V7.5/backupDirs/49
java.io.FileNotFoundException: /grouphome/appdata/adapters/native/IBM WebSphere Application Server V7.5/backupDirs.properties.new (Permission denied)
Error executing "chmod()" operation (status=-1).
See agent output log for more information: /grouphome/appdata/logs/native/YYYYMMDD_MMSS.log
Scenario 3: Uninstalling Installation Manager
1. User 1 installs a version of Installation Manager that is an earlier version than the current installed version.
2. User 1 sets the permissions for the Installation Manager installation directory and agent data location to: g=u
3. User 2 updates Installation Manager.
4. User 1 uninstalls Installation Manager but an error similar to the following error is shown:
CRIMC9CB8AE9AE ERROR: Error uninstalling.
CRIMC9CB8AE9AE ERROR: Deleting files from /home/IBM/InstallationManager_Group/properties/version
CRIMC9CB8AE9AE ERROR: Failed to delete /home/AppData/adapters/native/IBM Installation Manager/com.ibm.sdp.eclipse.ide/backupDirs/5/0.properties
CRIMC9CB8AE9AE ERROR: Failed to delete /home/AppData/adapters/native/IBM Installation Manager/com.ibm.sdp.eclipse.ide/backupDirs/5
Cause
Group permissions were not equal to owner permissions for group mode users.
Group permissions must be set equal to owner permissions for each file and folder in the agent data location. If the permission are not set correctly, a user might see errors when using Installation Manager after another user has used Installation Manager.
For example, User 1 starts Installation Manager in group mode and installs an offering. The backup directory is created by Installation Manager using the permissions from User 1. When User 2 uses Installation Manager to modify an offering, User 2 receives a permission denied error. User 2 does not have write permission to the files in the backup directory.
Resolving The Problem
To work around this issue, perform one of the following actions:
- Set the
umaskfor each user in the group.
- Run
chmod -R g=uon the agent data location before each group user starts Installation Manager.
For the scenarios, to resolve the issue:
Scenario 1: Adding a feature
Before adding a feature, the previous user or an administrator must run
chmod -R g=u on the agent data location.Scenario 2: Removing a feature:
The feature has been removed but the backup directory and properties file remains. The previous user or an administrator must remove only the specified
backupDirs/number folder and properties file that are listed in the error message.Scenario 3: Uninstalling Installation Manager
Installation Manager is partially uninstalled. To complete the uninstall, delete both the Installation Manager installation directory and the agent data location.
Was this topic helpful?
Document Information
Modified date:
25 October 2021
UID
swg21497970