IT分销/经销数据库JDBC

用JDBC连接DB2的sample报错ERRORCODE=-4214

各位专家:
我现在遇到个问题,一时不知如何解决,望能得到明示,谢谢!
我用JDBC连接DB2的sample库的时候,软件提示“用户名密码无效 ERRORCODE=-4214”
我在本地连接connect to sample正常,而且检查db2diag.log无错误。
该如何解决?
参与18

18同行回答

田强田强系统工程师
tail -n 100 db2diag.log有点不够,之前应该还会有些信息。显示全部
tail -n 100 db2diag.log有点不够,之前应该还会有些信息。收起
IT分销/经销 · 2010-12-03
浏览2482
wolaos123wolaos123项目经理澳美制药
$ db2 connect to sample user db2inst1 using mypasswdSQL0902C  A system error (reason code = "602932 ...joscol 发表于 2010-11-29 09:13     密码问题,1 查看该帐号是否被禁用或lock住。2 修改密码。。。。。3 restart instance。。。...显示全部
$ db2 connect to sample user db2inst1 using mypasswd
SQL0902C  A system error (reason code = "602932 ...
joscol 发表于 2010-11-29 09:13



    密码问题,
1 查看该帐号是否被禁用或lock住。
2 修改密码。。。。。
3 restart instance。。。收起
医院 · 2010-12-02
浏览2487
wangzhonnewwangzhonnew软件工程师IBM Canada Ltd.
这个license信息只是warning,DB2依然会使用全部的CPU显示全部
这个license信息只是warning,DB2依然会使用全部的CPU收起
IT分销/经销 · 2010-12-01
浏览2497
田强田强系统工程师
2010-11-29-09.14.47.011738   Instance:db2inst1   Node:000PID:225296(db2star2)   TID:1   Appid:nonebase sys utilities  LicCheckProcessors Probe:20SQL8017W  The number of processors on this ma...显示全部
2010-11-29-09.14.47.011738   Instance:db2inst1   Node:000
PID:225296(db2star2)   TID:1   Appid:none
base sys utilities  LicCheckProcessors Probe:20

SQL8017W  The number of processors on this machine exceeds the defined
entitlement of "1" for the product "DB2 Enterprise Server Edition".  The
number of processors on this machine is "2".  You should purchase additional
processor based entitlements from your IBM representative or authorized dealer
and update your license using the License Center or the db2licm command line
utility. For more information on updating processor based licenses, refer to
the Quick Beginnings manual for your platform.  For more information on the
db2licm utility, refer to the DB2 Command Reference.

license有限制。。收起
IT分销/经销 · 2010-12-01
浏览2534
drdb2drdb2系统工程师se
现在的问题是从你最初要求不同显然事情搞砸了"Unexpected system error 0x9 has occurred.This has been mapped to ZRC 0x83000009."  indicates bad file descriptor显示全部
现在的问题是从你最初要求不同
显然事情搞砸了
"Unexpected system error 0x9 has occurred.
This has been mapped to ZRC 0x83000009."  indicates bad file descriptor收起
互联网服务 · 2010-11-30
浏览2472
limin19821limin19821系统工程师乐酷天
$ db2 connect to sample user db2inst1 using mypasswdSQL0902C  A system error (reason code = "602932 ...joscol 发表于 2010-11-29 09:13 貌似不是一个简单的问题。显示全部
$ db2 connect to sample user db2inst1 using mypasswd
SQL0902C  A system error (reason code = "602932 ...
joscol 发表于 2010-11-29 09:13


貌似不是一个简单的问题。收起
IT分销/经销 · 2010-11-29
浏览2494
stephensun123stephensun123软件开发工程师SAP China
噢,那可能是instance出现问题了,用root用户执行一下如下命令就可以了/instance/db2iupdt db2inst1类似的问题http://www.db2china.net/club/vie ... =9360&extra=&page=1显示全部
噢,那可能是instance出现问题了,用root用户执行一下如下命令就可以了
/instance/db2iupdt db2inst1
类似的问题
http://www.db2china.net/club/vie ... =9360&extra=&page=1收起
互联网服务 · 2010-11-29
浏览2496
joscoljoscol系统工程师路畅
哎 搞不明白了!重新建了个实例db2inst2显示全部
哎 搞不明白了!重新建了个实例db2inst2收起
IT分销/经销 · 2010-11-29
浏览2477
joscoljoscol系统工程师路畅
$ tail -n 100 db2diag.logUnexpected system error 0x9 has occurred.This has been mapped to ZRC 0x83000009.PID:540786 TID:1 Node:000 Title: SYSTEM ERROR DESCRIPTIONA file descriptor does not refer to an open file.2010-11-29-09.14.41.569494   ...显示全部
$ tail -n 100 db2diag.log
Unexpected system error 0x9 has occurred.
This has been mapped to ZRC 0x83000009.

PID:540786 TID:1 Node:000 Title: SYSTEM ERROR DESCRIPTION
A file descriptor does not refer to an open file.
2010-11-29-09.14.41.569494   Instance:db2inst1   Node:000
PID:610364(db2stop2)   TID:1   Appid:none
base sys utilities  stopdbm Probe:911

ADM7514W  Database manager has stopped.

2010-11-29-09.14.47.011738   Instance:db2inst1   Node:000
PID:225296(db2star2)   TID:1   Appid:none
base sys utilities  LicCheckProcessors Probe:20

SQL8017W  The number of processors on this machine exceeds the defined
entitlement of "1" for the product "DB2 Enterprise Server Edition".  The
number of processors on this machine is "2".  You should purchase additional
processor based entitlements from your IBM representative or authorized dealer
and update your license using the License Center or the db2licm command line
utility. For more information on updating processor based licenses, refer to
the Quick Beginnings manual for your platform.  For more information on the
db2licm utility, refer to the DB2 Command Reference.


2010-11-29-09.14.47.609500   Instance:db2inst1   Node:000
PID:557094(db2wdog 0)   TID:1   Appid:none
oper system services  sqloRunInstance Probe:98

DiagData
0000 0001                                     ....               

2010-11-29-09.14.47.609786   Instance:db2inst1   Node:000
PID:610370(db2sysc 0)   TID:1   Appid:none
oper system services  sqloRunInstance Probe:61

DiagData
0000 0001                                     ....               

2010-11-29-09.14.48.176815   Instance:db2inst1   Node:000
PID:610370(db2sysc 0)   TID:1   Appid:none
oper system services  sqloChangeFileOwnership Probe:100

errno: 0000 0001                                     ....               

2010-11-29-09.14.48.217245   Instance:db2inst1   Node:000
PID:610370(db2sysc 0)   TID:1   Appid:none
oper system services  sqloChangeFileOwnership Probe:100

errno: 0000 0001                                     ....               

2010-11-29-09.14.48.259139   Instance:db2inst1   Node:000
PID:610370(db2sysc 0)   TID:1   Appid:none
oper system services  sqloChangeFileOwnership Probe:100

errno: 0000 0001                                     ....               

2010-11-29-09.14.49.362623   Instance:db2inst1   Node:000
PID:548886(db2spmrsy 0)   TID:1   Appid:none
oper system services  sqloopenp Probe:20

errno: 0000 0011                                     ....               

2010-11-29-09.14.49.428192   Instance:db2inst1   Node:000
PID:225296(db2star2)   TID:1   Appid:none
base sys utilities  startdbm Probe:911

ADM7513W  Database manager has started.

2010-11-29-09.14.54.618781   Instance:db2inst1   Node:000
PID:225298(db2agent (SAMPLE) 0)   TID:1   Appid:none
oper system services  sqlockpw_int Probe:70

DiagData
0000 0020                                     ...                 

2010-11-29-09.14.54.661594   Instance:db2inst1   Node:000
PID:225298(db2agent (SAMPLE) 0)   TID:1   Appid:none
oper system services  sqlockpw_int Probe:75

Unexpected system error 0x9 has occurred.
This has been mapped to ZRC 0x83000009.

PID:225298 TID:1 Node:000 Title: SYSTEM ERROR DESCRIPTION
A file descriptor does not refer to an open file.
2010-11-29-09.18.28.530540   Instance:db2inst1   Node:000
PID:225298(db2agent (SAMPLE) 0)   TID:1   Appid:none
oper system services  sqlockpw_int Probe:70

DiagData
0000 0020                                     ...                 

2010-11-29-09.18.28.579785   Instance:db2inst1   Node:000
PID:225298(db2agent (SAMPLE) 0)   TID:1   Appid:none
oper system services  sqlockpw_int Probe:75

Unexpected system error 0x9 has occurred.
This has been mapped to ZRC 0x83000009.

PID:225298 TID:1 Node:000 Title: SYSTEM ERROR DESCRIPTION
A file descriptor does not refer to an open file.$收起
IT分销/经销 · 2010-11-29
浏览2938
joscoljoscol系统工程师路畅
$ db2 connect to sample user db2inst1 using mypasswdSQL0902C  A system error (reason code = "6029321") occurred.  Subsequent SQL statements cannot be processed.  SQLSTATE=58005$ 显示全部
$ db2 connect to sample user db2inst1 using mypasswd
SQL0902C  A system error (reason code = "6029321") occurred.  Subsequent SQL
statements cannot be processed.  SQLSTATE=58005
$ 收起
IT分销/经销 · 2010-11-29
浏览2829

提问者

joscol
系统工程师路畅

相关问题

相关资料

相关文章

问题状态

  • 发布时间:2010-11-27
  • 关注会员:0 人
  • 问题浏览:25706
  • 最近回答:2010-12-03
  • X社区推广