This article describes how to correctly install IBM DB2 Content Manager V83 and Return Error Code 122, the following is the description of Error Code 122 returned during the actual operation of installing IBM DB2 Content Manager V83. We hope this will help you in your future studies.
Product:
- DB2 Content Manager for Multiplatform ;
Platform:
- AIX, Linux, Windows 2000, Windows NT
Software Version: 8.3;
Problem description:
When installing IBM DB2 Content Manager V83, get the error message and return the Error Code 122. In this case, how can we solve this problem so that the installation of IBM DB2 Content Manager can be completed properly?
Answer:
When installing IBM DB2 Content Manager V83, the error code 122 is returned. This is mostly because the user uses the administrator user ID of the Library Server of IBM DB2 Content Manager for installation.
In this case, check the Installation Log File. The Installation log Files of IBM DB2 Content Manager are stored in the <IBMCMROOT>/log/directory by default (IBMCMROOT is an environment variable of CM). The log file name is cminstall. log.
Take Windows as an example. Check the log file to see the following error message:
- 2005-04-06 15:15:22 cmcfgls: ERROR ->
- 2005-04-06 15:15:22 cmcfgls: ERROR ->Fail to create database, Please check the log file: "d:\Program Files\IBM\db2cmv8\log\cminstall.log" for more information
- com.ibm.cm.dbutil.ICMDBUtilsException: Fail to create database
- at com.ibm.cm.dbutil.ICMConfigureLSDB.createDB(ICMConfigureLSDB.java:438)
- at com.ibm.cm.dbutil.ICMConfigureLSDB.configureLSDB(ICMConfigureLSDB.java:1408)
- at com.ibm.cm.dbutil.ICMConfigureLSDB.start(ICMConfigureLSDB.java:2111)
- at com.ibm.cm.dbutil.cmcfgdbu.startSilentMode(cmcfgdbu.java:146)
- at com.ibm.cm.dbutil.cmcfgdbu.startConfig(cmcfgdbu.java:207)
- at com.ibm.cm.dbutil.cmcfgdbu.main(cmcfgdbu.java:222)
- com.ibm.cm.dbutil.ICMDBUtilsException: Fail to create database
- at com.ibm.cm.dbutil.ICMConfigureLSDB.createDB(ICMConfigureLSDB.java:438)
- at com.ibm.cm.dbutil.ICMConfigureLSDB.configureLSDB(ICMConfigureLSDB.java:1408)
- at com.ibm.cm.dbutil.ICMConfigureLSDB.start(ICMConfigureLSDB.java:2111)
- at com.ibm.cm.dbutil.cmcfgdbu.startSilentMode(cmcfgdbu.java:146)
- at com.ibm.cm.dbutil.cmcfgdbu.startConfig(cmcfgdbu.java:207)
- at com.ibm.cm.dbutil.cmcfgdbu.main(cmcfgdbu.java:222)
- 2005/04/06 15:15:22 Command "C:\WINDOWS\TEMP\CM\db2cmv8\config\lscfg.bat" ended with exit code 122.
- 2005/04/06 15:15:22 2005-04-06 15:15:22 cmcfgdbu: ERROR ->Fail to create database error code: 122
In this case, do not use icmadmin as the management user of the Library Server of IBM DB2 Content Manager; instead, another system administrator user is used to install IBM DB2 Content Manager.
The above Content is the description of the Error Code 122 returned when IBM DB2 Content Manager V83 is installed. I hope it will help you in this regard.