The DB2 Content Manager installation is blocked: failure to connect to the DB2 database
Problem(Abstract)
The DB2 Content Manager installation is blocked by a failure to connect to the DB2 database. The problem is related to a DB2 connection failure with the DB2 Content Manager V8.4 installer. The error messages can be summarized as follows:
Error 1: DB2 return code is -4499, DB2 Content Manager return code is 3
CheckDBConnUtil00002 exception (com.ibm.db2.jcc.b.gm: [jcc][t4][2043][11550][3.50.152] Exception java.net.ConnectException: Error opening socket to server install01/9.123.114.105 on port 50,000 with message: A remote host refused an attempted connect operation.. ERRORCODE=-4499, SQLSTATE=08001)
Another message with the same error code can appear as follows:
CheckDBConnUtil00002 exception (com.ibm.db2.jcc.b.gm: [jcc][t4][2057][11264][3.50.152] The application server rejected establishment of the connection.An attempt was made to access a database, icmnlsdb, which was either not found or does not support transactions. ERRORCODE=-4499, SQLSTATE=08004)
Error 2: DB2 return code is -4222, DB2 Content Manager return code is 9
CheckDBConnUtil00002 exception (com.ibm.db2.jcc.b.qm: [jcc][t4][10380][11951][3.50.152] Required property "install02" is unknown host. ERRORCODE=-4222, SQLSTATE=08001)
Error 3: DB2 return code is -4214, DB2 Content Manager return code is 5
CheckDBConnUtil00002 exception (com.ibm.db2.jcc.b.mm: [jcc][t4][2013][11249][3.50.152] Connection authorization failure occurred. Reason: User ID or Password invalid. ERRORCODE=-4214, SQLSTATE=28000)
Symptom
DB2 connection failure with DB2 Content Manager V8.4 installer
Cause
Error 1: DB2 return code is -4499
Three problems might be the cause of this error.
DB2 is stopped.
The wrong DB2 database listening port number is specified.
The wrong database name is specified.
IXDBA.NET社区论坛
Error 2: DB2 return code is -4222
For this problem, the host name is probably specified incorrectly.
Error 3: DB2 return code is -4214
Three problems might be the cause of this error.
The user name is invalid
The password is invalid.
Both the user name and the password are invalid.
Resolving the problem
The following procedures might help you resolve the connection failure problem:
Resolving Error 1: DB2 return code is -4499
Check whether DB2 is started.
Check whether the database exists. Use the command
db2 list db directory to list the databases.
Check the DB2 listening port. The DB2 instance is listening on Port 50000 by default, but the port number might have been modified.
Restart DB2 or restart the computer on which DB2 is running, because there might be too many connections already active for DB2 to respond to the new request.
Resolving Error 2: DB2 return code is -4222
If the wrong host name is specified, or the DNS server cannot parse the host name, then you can use the command ping hostname, where hostname is the host name, to test the connection. You can also use the IP address directly in this command.
Check the privileges of folder /tmp/CM/db2cmv8. The DB2 Content Manager installer performs the su command to DB2 Content Manager accounts to test the connection. For example, if you have an icmadmin account as the library server administrator, the installer uses this account, creates a shell script under the /tmp/CM/db2cmv8 folder, and runs it to see the result. If the folder does not have the write and execute privileges for icmadmin, the connection test fails.
Resolving Error 3: DB2 return code is -4214
Check that the user name and password are specified correctly.
Check that the password does not contain special characters, such as the dollar sign ($).
分享到:
相关推荐
DB2错误信息(按sqlcode排序)这不只是一本字典,完全是DB2秘籍。呵呵,分享给大家。
您可能感兴趣的文章:数据库触发器DB2和SqlServer有哪些区别DB2死锁的解决过程全记录CentOS下DB2数据库安装过程详解db2数据库常用操作命令大全DB2新手使用的一些小笔记:新建实例、数据库路径不存在、客户端连接 .db2...
db2 sqlstate 57016,db2 57016 原因码7错误怎么解决呢?下面小编给大家带来了DB2 sqlstate 57016 SQLCODE=-668 原因码 "7"错误的快速解决办法,一起看下吧
因为项目中需要用到db2 ,故找了一些db2 的错误码供查阅
DB2错误代码,一个doc一个dbf,内容是一样的。
DB2的JDBC驱动,包括 db2jcc.jar,db2jcc_license_cu.jar,db2jcc4.jar。版本:DB2 v9.7.0.11
DB2中出现的主要错误,操作数据库过程中,遇到许多问题,很多都与SQL CODE和SQL State相关,现在把一个完整的SQLCODE和SQLState错误信息和相关解释作以下说明,一来可以自己参考,对DB2错误自行找出原因
远程连接db2数据库远程连接db2数据库远程连接db2数据库远程连接db2数据库远程连接db2数据库远程连接db2数据库远程连接db2数据库远程连接db2数据库远程连接db2数据库
db2 数据库错误对照文档,错误分析及解决办法,常见的都有。db2数据库开发者最好的帮助文档。
db2数据库错误解决代码sqlcode db2数据库错误解决代码sqlcode
1、db2 connect to <数据库名> --连接到本地数据库名 db2 connect to <数据库名> user <用户名> using <密码> --连接到远端数据库 2、 db2 force application all --强迫所有应用断开数据库连接 3、db2 backup...
JDBC连接DB2数据库需要的jar包 JDBC连接DB2数据库需要的jar包 JDBC连接DB2数据库需要的jar包
编目 //=====替换下面的主要参数 ...db2set db2codepage=819 db2 connect to DBjia user administrator using eteda //===================================编目 结束 //查看服务器编码 db2set -all
• 第 1 部分:DB2 规划 本教程介绍 DB2 9 产品和工具的基本知识,以及描述不同类型的数据应用程序、数据仓库和 OLAP 的概念。 • 第 2 部分:安全性 本教程介绍与 DB2 9 相关的身份验证、授权和特权概念。您应该...
db2look -d <数据库名> -u <用户> -e -o <脚本名称>.sql --导出数据库的表结构,其中用户空间一般为db2admin/db2inst1 db2look -d <数据库名> -u <用户> -t <表1> <表2> -e -o <脚本名称>.sql --导出数据库中表1和表...
squirrel-sql-3.7(小松鼠-数据库连接工具).zipsquirrel-sql-3.7(小松鼠-数据库连接工具).zipsquirrel-sql-3.7(小松鼠-数据库连接工具).zipsquirrel-sql-3.7(小松鼠-数据库连接工具).zip
关于DB2数据库的JDBC连接文章有很多,比较出名的有诸如“JDBC数据库连接大全”和“JSP的DB2连接数据库”,虽然都是很详细的资料,也都说解决了前人没有解决的问题,但还是有许多纰漏。我就这两天的经验给大家写一篇...
IBM DB2、Oracle、MS-SQL Server、MySQL常用数据库数据迁移
db2驱动程序 db2 驱动 驱动程序 IBM db2
db2数据库连接驱动 db2jcc_license_cu-1.0.jar db2jcc-1.0.jar 以及maven中pom的设置