Monday, July 8, 2013

CA IdentityMinder ConnectorServer r12 Installation Error in Redhat Linux

Environment Details:

Redhat Linux 6.4
CA IdentityMinder r12.6 SP2
CA Directory r12

Issue:

Install, com.ca.etrust.install.admin.connectorserver.SOAConfigureJCS, msg1, Starting JCS Service...
Install, java.lang.String, msg1, WARNING: Timeout occured attempting to contact server...
Install, com.ca.etrust.install.admin.connectorserver.SOAConfigureJCS, err, Failed to start JCS Service
:
:
:

(Jul 8, 2013 8:18:03 AM), Install, com.ca.etrust.install.InstallUtils, msg1, /opt/CA/IdentityManager/ConnectorServer/jcs/logs/servicemix.log: INFO: locking
(Jul 8, 2013 8:18:03 AM), Install, com.ca.etrust.install.InstallUtils, msg1, ---- END LOG FILES ----
(Jul 8, 2013 8:18:03 AM), Install, com.ca.etrust.install.admin.connectorserver.SOAConfigureJCS, err, An error occurred and product installation failed.  Look at the log file /tmp/im_connector_server_install.log for details.
(Jul 8, 2013 8:18:03 AM), Install, com.ca.etrust.install.admin.connectorserver.SOAConfigureJCS, err, ProductException: (error code = -1; message="Failed to start JCS Service")
STACK_TRACE: 15
ProductException: (error code = -1; message="Failed to start JCS Service")
    at com.ca.etrust.install.admin.connectorserver.ConfigureJCS.startService(ConfigureJCS.java:1017)
    at com.ca.etrust.install.admin.connectorserver.ConfigureJCS.install(ConfigureJCS.java:285)
    at com.ca.etrust.install.admin.connectorserver.SOAConfigureJCS.install(SOAConfigureJCS.java:368)
    at com.installshield.product.service.product.PureJavaProductServiceImpl.installProductAction(PureJavaProductServiceImpl.java:1916)
    at com.ibm.wizard.platform.linux.LinuxProductServiceImpl.installProductAction(LinuxProductServiceImpl.java:552)
    at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.getResultForProductAction(PureJavaProductServiceImpl.java:5195)
    at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(InstallableObjectVisitor.java:369)
    at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(InstallableObjectVisitor.java:333)
    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:662)

Solution:

Run the below command to set the entropy and start the installation.

/sbin/rngd -r /dev/urandom -o /dev/random -t 1

CA IdentityMinder Provisioning Server r12 Installation Error in RedHat Linux



Environment Details:

Redhat Linux 6.4
CA IdentityMinder r12.6 SP2
CA Directory r12

=========================/tmp/kernparmchk.out===================================
* ERROR * ERROR * ERROR * ERROR * ERROR * ERROR * ERROR *
The following tunable kernel parameters have values lower
than the minimum required values for this CA product
on this platform.
Installation cannot continue.
Please examine the current and required values below.

Parameter   Current value   Required value
---------   -------------   -----------------
semmni                128            258

This installation procedure will now terminate.
Please update the kernel parameters shown above, then
run this installation again.
This information is saved in file /tmp/kernparmchk.out
for your future reference.
For more information, see the file readme_install.txt in:
/opt/dump/GEN06161536E/Provisioning/ProvisioningServer/linux/ecs-installation

=============================imps_server_install.log===============================

Install, com.ca.etrust.install.product.InstallEtrustCommonServices, err, ProductException: (error code = -1; message="Installing CA Enterprise Common Services failed.")
STACK_TRACE: 13
ProductException: (error code = -1; message="Installing CA Enterprise Common Services failed.")
       at com.ca.etrust.install.product.InstallEtrustCommonServices.install(InstallEtrustCommonServices.java:235)
       at com.installshield.product.service.product.PureJavaProductServiceImpl.installProductAction(PureJavaProductServiceImpl.java:1916)
       at com.ibm.wizard.platform.linux.LinuxProductServiceImpl.installProductAction(LinuxProductServiceImpl.java:552)
       at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.getResultForProductAction(PureJavaProductServiceImpl.java:5195)
       at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(InstallableObjectVisitor.java:369)
       at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(InstallableObjectVisitor.java:333)
       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:662)

(Jul 8, 2013 5:21:47 AM), Install, com.ibm.wizard.platform.linux.LinuxProductServiceImpl, msg1, uninstalling Install Etrust Common Services (installECS)

Solution:
1. To check the current semmni value:
cat /proc/sys/kernel/sem

or

ipcs -ls
2. Login using an user account with the administrative privilege and run the below command to set the "semmni" value to 258 as suggested by CA:


sysctl -w kernel.sem="250 32000 100 258"