CA Identity Manager: Provisioning Server 14.1 installation fails on RHEL 7.3
search cancel

CA Identity Manager: Provisioning Server 14.1 installation fails on RHEL 7.3

book

Article ID: 99174

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Governance CA Identity Portal

Issue/Introduction



Attempting to install IDM 14.1 Provisioning Server (while Provisioning Directory is already installed on a remote host) fails and rolls back reporting following errors in imps install log:

(May 25, 2018 7:59:43 PM), Install, com.ca.etrust.install.admin.ETAInstallRepositoryRouter, msg1, Extracting Provisioning Directory schema files...
(May 25, 2018 7:59:44 PM), Install, com.ca.etrust.install.admin.ETAInstallRepositoryRouter, msg1, Extracting Router DSA files...
(May 25, 2018 7:59:44 PM), Install, com.ca.etrust.install.admin.ETAInstallRepositoryRouter, msg1, Uncompressing Tar: /bin/gtar: /tmp/imps-schema.tar.exclude_list: Permission denied
(May 25, 2018 7:59:44 PM), Install, com.ca.etrust.install.admin.ETAInstallRepositoryRouter, msg1, Uncompressing Tar: /bin/gtar: Error is not recoverable: exiting now
....
....
(May 25, 2018 8:02:10 PM), Install, com.ca.etrust.install.admin.ConfigureAdminServer, msg1, Performing Local Registration...
(May 25, 2018 8:02:10 PM), Install, com.ca.etrust.install.admin.ConfigureAdminCommon, err, Error importing LDIF file '/opt/CA/IdentityManager/ProvisioningServer/data/eta_local_reg.ldif'. Reason: javax.naming.NamingException: javax.naming.NamingException: javax.naming.ServiceUnavailableException: [LDAP: error code 52 - Unavailable]
(May 25, 2018 8:02:10 PM), Install, com.ca.etrust.install.admin.ConfigureAdminServer, err, An error occurred and product update failed.  Look at the log file /tmp/imps_server_install.log for details.
(May 25, 2018 8:02:10 PM), Install, com.ca.etrust.install.admin.ConfigureAdminServer, err, ProductException: (error code = 200; message="Java error"; exception = [javax.naming.NamingException: javax.naming.NamingException: javax.naming.ServiceUnavailableException: [LDAP: error code 52 - Unavailable]])
STACK_TRACE: 16
ProductException: (error code = 200; message="Java error"; exception = [javax.naming.NamingException: javax.naming.NamingException: javax.naming.ServiceUnavailableException: [LDAP: error code 52 - Unavailable]])
    at com.ca.etrust.install.admin.ConfigureAdminServer.ldapAddModify(ConfigureAdminServer.java:315)
    at com.ca.etrust.install.admin.ConfigureAdminServer.ldapAdd(ConfigureAdminServer.java:277)
    at com.ca.etrust.install.admin.ConfigureAdminServer.ServerConfigWizard(ConfigureAdminServer.java:749)
    at com.ca.etrust.install.admin.ConfigureAdminServer.install(ConfigureAdminServer.java:206)
    at com.ca.etrust.install.admin.ConfigureAdminServer.replace(ConfigureAdminServer.java:113)
    at com.installshield.product.service.product.PureJavaProductServiceImpl.replaceProductAction(PureJavaProductServiceImpl.java:1928)
    at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.getResultForReplaceProductAction(PureJavaProductServiceImpl.java:5429)
    at com.installshield.product.service.product.InstallableObjectVisitor.replaceComponent(InstallableObjectVisitor.java:578)
    at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(InstallableObjectVisitor.java:335)
    at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(InstallableObjectVisitor.java:133)
    at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(PureJavaProductServiceImpl.java:4563)
    at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(PureJavaProductServiceImpl.java:3758)
    at com.installshield.wizard.service.AsynchronousOperation.run(AsynchronousOperation.java:41)
    at java.lang.Thread.run(Thread.java:745)
....
....
....
(May 25, 2018 8:02:26 PM), Install, com.ca.etrust.install.admin.ETAServerStatusAction, msg1, Stopping Service(s) 'im_ps, im_ccs' (if installed)...
(May 25, 2018 8:02:26 PM), Install, com.ca.etrust.install.admin.ETAServerStatusAction, msg1, Stopping Service 'im_ps'...
(May 25, 2018 8:02:31 PM), Install, com.ca.etrust.install.admin.ETAServerStatusAction, msg1, Starting Service(s) 'im_ps, im_ccs' (if installed)...
(May 25, 2018 8:02:31 PM), Install, com.ca.etrust.install.admin.ETAServerStatusAction, msg1, Starting Service 'im_ps'...
(May 25, 2018 8:04:33 PM), Install, com.ca.etrust.install.admin.ETAServerStatusAction, msg1, ERROR: Service 'im_ps' failed to start
(May 25, 2018 8:04:33 PM), Install, com.ca.etrust.install.admin.ETAServerStatusAction, err, An error occurred and product update failed.  Look at the log file /tmp/imps_server_install.log for details.
(May 25, 2018 8:04:33 PM), Install, com.ca.etrust.install.admin.ETAServerStatusAction, err, ProductException: (error code = -1; message="ERROR: Service 'im_ps' failed to start")
STACK_TRACE: 13
ProductException: (error code = -1; message="ERROR: Service 'im_ps' failed to start")
    at com.ca.etrust.install.admin.ETAServerStatusAction.startService(ETAServerStatusAction.java:214)
    at com.ca.etrust.install.admin.ETAServerStatusAction.replace(ETAServerStatusAction.java:71)
    at com.installshield.product.service.product.PureJavaProductServiceImpl.replaceProductAction(PureJavaProductServiceImpl.java:1928)
    at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.getResultForReplaceProductAction(PureJavaProductServiceImpl.java:5429)
    at com.installshield.product.service.product.InstallableObjectVisitor.replaceComponent(InstallableObjectVisitor.java:578)
    at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(InstallableObjectVisitor.java:335)
    at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(InstallableObjectVisitor.java:133)
    at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(PureJavaProductServiceImpl.java:4563)
    at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(PureJavaProductServiceImpl.java:3758)
    at com.installshield.wizard.service.AsynchronousOperation.run(AsynchronousOperation.java:41)
    at java.lang.Thread.run(Thread.java:745)

Environment

Release:
Component: IDMGR

Resolution

In this specific situation, an attempt was made to run Provisioning Server install in a repair mode after migrating Provisioning Directory, which was giving the Permission Denied on extracting some tar files even though the install was done as ROOT permission and given full access to the installer folder.

It was later revealed, when checking /etc/profile file content, that the DXHOME environment variable was configured to be /opt/CA/Directory/dxserver/
In the above the last '/' was causing this problem. Removing the last '/' making DXHOME value as /opt/CA/Directory/dxserver , the install completed successfully.