Generating installation and configuration debug info in Identity Manager 4.7.x

Generating installation and configuration debug info in Identity Manager 4.7.x

With the release of Identity Manager 4.7 the installation and configuration methods of the product was changed from GUI based in the previous versions to be script based. In cases where troubleshooting needs to be done on the installation problems, generating debug information will be helpful to narrow down the failures and their causes.

This process would require that the media be copied over to the filesystem on the server where Identity Manager is being installed, so the shell scripts can be changed individually. Please note that making changes only to the parent ( script is not going to take care of any failures that may occur when the child process or new shell get spawned during installation or configuration. If the failure is determined to be in the spawned process or shell, then whichever script that gets executed in the parent script to spawn the new process also needs to be changed, after which the installation/configuration should be rerun.

Make the following change in any of the required shell scripts on which troubleshooting needs to be performed. In an editor, open the script to be debugged and add
"set -x" (without the quotes)

as the first line in the file. Save the changes and re run the installation or configuration. To output the debug messages to the console in addition to directing them to a file, run the script as shown in the below example:
./<any-script>.sh 2>&1 | tee /tmp/<anyscriptname>.log


Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2018-05-08 23:25
Updated by:
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.