LoveUnix » DB2 & Informix » SQL30082N reason “24”
让LU留住您的每

一天 让LU博客留住您的每一天
2007-8-16 12:54 xn_sung
SQL30082N reason “24”

听说从windows连接到aix的db2会出现如下问题,
SQL30082N
尝试建立连接失败,安全性原因为“24”("USERNAME AND/OR PASSWORD INVALID").SQLSTATE=08001

号称是aix的一个bug,该如何处理呢?

[[i] 本帖最后由 xn_sung 于 2007-11-1 14:08 编辑 [/i]]

2007-8-16 13:34 seven
是的,如果你的user and passwd都是正确的话,还是抱24

设置db2set DB2_NUM_CKPW_DAEMONS=0

[[i] 本帖最后由 seven 于 2007-8-16 13:42 编辑 [/i]]

2007-8-16 13:43 xn_sung
TL04 + Service Pack 2
64-bit AIX kernel is recommended
DB2 UDB Version 8.1 FixPak 4 and higher requires a minimum C++ runtime level of xlC.rte 6.0.0.0 and xlC.aix50.rte 6.0.0.5
Due to AIX APARs IY84813, IY86266, IY90020, and IY86265, it is recommended to disable DB2's password daemons by issuing the command db2set DB2_NUM_CKPW_DAEMONS=0 and recycling the instance. See the documented issue "DB2 password checking daemons are vulnerable to various AIX authentication APARs". Alternatively, upgrade to the TL04 Concluding Service Pack and apply the AIX ifix IY86266_44.epkg.Z , which contains the fixes for these APARs.
If upgrading to TL05, it is recommended to apply a minimum of Service Pack 3 which includes APAR IY89429 and several AIX authentication APAR fixes. With this service level, the workaround of issuing the command db2set DB2_NUM_CKPW_DAEMONS=0 is no longer necessary and can be removed with db2set DB2_NUM_CKPW_DAEMONS=""

版主大人,这两个补丁不打,只是设置那个参数就可以了吗?

[[i] 本帖最后由 seven 于 2007-8-16 17:39 编辑 [/i]]

2007-8-16 17:40 seven
[quote]原帖由 [i]xn_sung[/i] 于 2007-8-16 13:43 发表 [url=http://bbs.loveunix.net/redirect.php?goto=findpost&pid=706517&ptid=75744][img]http://bbs.loveunix.net/images/common/back.gif[/img][/url]
TL04 + Service Pack 2
64-bit AIX kernel is recommended
DB2 UDB Version 8.1 FixPak 4 and higher requires a minimum C++ runtime level of xlC.rte 6.0.0.0 and xlC.aix50.rte 6.0.0.5
Due to AIX A ... [/quote]


要么设置db2set DB2_NUM_CKPW_DAEMONS=0,要么TL04+CSP+AIX ifix IY86266_44.epkg.Z,要么TL05+SP3

2007-8-16 20:57 xn_sung
:sad 我那个哥们呢试过了说只改参数不行,看来我得亲自试一下,可惜我的aix补丁打的比较前卫~~

还有,版主大人的女朋友找工作,是应届毕业生吗?

2007-8-17 10:26 seven
[quote]原帖由 [i]xn_sung[/i] 于 2007-8-16 20:57 发表 [url=http://bbs.loveunix.net/redirect.php?goto=findpost&pid=706702&ptid=75744][img]http://bbs.loveunix.net/images/common/back.gif[/img][/url]
:sad 我那个哥们呢试过了说只改参数不行,看来我得亲自试一下,可惜我的aix补丁打的比较前卫~~

还有,版主大人的女朋友找工作,是应届毕业生吗? [/quote]


在目前的情况下设置db2set DB2_NUM_CKPW_DAEMONS=0,然后restart instance,是一个一劳永逸的方法,

aix的补丁也别打太新了,TL06打了,db2就起不来了

=====
BTW,是应届,您有好引荐吗?

2007-8-17 11:34 xn_sung
靠,还好我昨天下载06失败了(狂鄙视IBM下载用的DD,巨恶心),不然就打上去了~
多谢版主大人!!!

=============

BTW:版主大人年纪也不小了,找个刚毕业的,明显是老牛吃嫩草嘛:lu2:

2007-10-24 13:56 banker
这个相当地有用啊,多谢!!

页: [1]
查看完整版本: SQL30082N reason “24”


Powered by Discuz! Archiver 5.5.0  © 2001-2006 Comsenz Inc.