Thursday, 24 July 2014

ccmsrv create command reports error - oninit: Fatal error in initializing ASF with 'ASF_INIT_DATA' flags; asfcode = '-406'.

In Linux distribution, when creating a informix server, sometimes you might get an error saying...
oninit: Fatal error in initializing ASF with 'ASF_INIT_DATA' flags; asfcode = '-406'.

Commad:
ccmsrv create

Error:
WARNING: server initialization failed, or possibly timed out (if -w was used).
Check the message log, online.log, for errors.

WARNING: unable to initialize the database server
         see /synergy/cm721/ccm/informix/log/cm721.log for details
oninit: Fatal error in initializing ASF with 'ASF_INIT_DATA' flags; asfcode = '-406'.

In $CCM_HOME/informix/log/<server>.log

16:39:11  IBM Informix Dynamic Server Started.
16:39:12  Could not disable priority aging: errno = 13

Thu Jun 24 16:39:12 2014

16:39:12  Error: Unable to reset open files limit, must run as super-user
16:39:12  Event alarms enabled.  ALARMPROG = '/synergy/cm721/ccm/informix/etc/alarmprogram.sh'
16:39:12  (0) error in creating /INFORMIXTMP

Workaround
Login as root and create a directory /INFORMIXTMP under the root directory. Change the permissions as follows:

root# mkdir /INFORMIXTMP
root# chown informix:informix /INFORMIXTMP
root# chmod 1775 /INFORMIXTMP

Execute 'ccmsrv create' again.

Tuesday, 1 July 2014

Rational Synergy throws javax.naming.NamingException: LDAP response read timed out, timeout used:2000ms.

This is due to the timeout happening between Synergy server and RDS server. To avoid this problem increase the timeout value form 2000ms to a higher value, say 10000ms (10sec)


  1. On Synergy server, open %CCM_HOME/etc/TDSConfiguration.xml
  2. Modify"LDAP_CONNECTION_TIMEOUT" value from 2000 to 10000
  3. Restart Synergy services

Tuesday, 6 May 2014

Rational Synergy ccm set_password command fails with java.security.InvalidKeyException: Invalid AES key length: 8 bytes

Rational Synergy ccm set_password command fails with java.security.InvalidKeyException: Invalid AES key length: 8 bytes

This is because of the old password file (.ccmrc) which is not supported in Synergy 7.2.1.
To resolve this problem you need to manually delete the old password file. (default location <user_home>/.ccmrc)

Sunday, 4 May 2014