我正在CentOS 7服务器上安装IBM Tivoli LDAP。 IBM DB2用于其数据库配置。 IBM DB2也安装在同一服务器上。我面临一个错误,我们需要为目录服务器实例配置数据库。
[root@dev02 sbin]# ./idscfgdb -I idsusr -a dasusr1 -w dasusr1 -l /home/idsusr -t ldapdb -n
GLPWRP123I The program '/opt/ibm/ldap/V6.3.1/sbin/64/idscfgdb' is used with the following arguments '-I idsusr -a dasusr1 -w ***** -l /home/idsusr -t ldapdb -n'.
You have chosen to perform the following actions:
GLPCDB023I Database 'ldapdb' will be configured.
GLPCDB024I Database 'ldapdb' will be created at '/home/idsusr'
GLPCDB035I Adding database 'ldapdb' to directory server instance: 'idsusr'.
GLPCTL017I Cataloging database instance node: 'idsusr'.
GLPCTL018I Cataloged database instance node: 'idsusr'.
GLPCTL008I Starting database manager for database instance: 'idsusr'.
GLPCTL009I Started database manager for database instance: 'idsusr'.
GLPCTL026I Creating database: 'ldapdb'.
GLPCTL028E Failed to create database: 'ldapdb'. The failure might have occurred because the system was not set up correctly before using the tool.
GLPCTL011I Stopping database manager for the database instance: 'idsusr'.
GLPCTL012I Stopped database manager for the database instance: 'idsusr'.
GLPCDB004E Failed to add database 'ldapdb' to directory server instance: 'idsusr'.
GLPCDB026W The program did not complete successfully. View earlier error messages for information about the exact error.
在检查数据库日志时,我发现了以下错误----
2018-08-31-02.26.04.833398-240 E252943E465级别:严重PID :31078 TID:139826858813184 PROC:db2sysc 0 实例:idsusr节点:000主机名:dev02教育:14 EDUNAME:db2wlmt 0功能:DB2 UDB,操作系统服务, sqloRequestSetPriority,探测:60消息:ZRC = 0xFFFFFBEE = -1042 SQL1042C发生意外的系统错误。
数据#1:字符串,29个字节无法设置线程优先级
2018-08-31-02.26.04.849838-240 I253409E533级别:错误(OS) PID:31023 TID:139826611349248 PROC:db2wdog 0 [idsusr]实例:idsusr节点:000主机名:dev02 EDUID:2 EDUNAME:db2wdog 0 [idsusr]功能: DB2 UDB,操作系统服务,sqloSetPriorityHdl,探针:5934 MESSAGE :ZRC = 0x83000001 = -2097151999
CALLED:OS,-,sched_setscheduler OSERR:EPERM(1) 数据#1:字符串,51字节,失败,设置内核的绝对优先级 线程。
2018-08-31-02.26.04.853094-240 E253943E466级别:严重PID :31078 TID:139826854618880 PROC:db2sysc 0 实例:idsusr节点:000主机名:dev02教育:15 EDUNAME:db2wlmtm 0功能:DB2 UDB,操作系统服务, sqloRequestSetPriority,探测:60消息:ZRC = 0xFFFFFBEE = -1042 SQL1042C发生意外的系统错误。
数据#1:字符串,29个字节无法设置线程优先级
2018-08-31-02.26.16.862999-240 E257903E347级别:错误(OS) PID:31130 TID:140560770324352 PROC:db2star2 实例:idsusr节点:000主机名:dev02功能: DB2 UDB,SQO内存管理,sqloMemCreateSingleSegment,探针:100 调用:OS,-,shmget OSERR:EEXIST(17)
2018-08-31-02.26.18.002541-240 E258251E726级别:错误(OS) PID:31131 TID:140560770324352 PROC:db2star2 实例:idsusr节点:000主机名:dev02功能: DB2 UDB,操作系统服务,sqloexecs,探针:2222 MESSAGE: ZRC = 0x8300000D = -2097151987
2018-08-31-02.26.18.043809-240 I258978E433级别:严重PID :31130 TID:140560770324352 PROC:db2star2实例: idsusr NODE:000主机名:dev02功能:DB2 UDB, 基本sys实用程序sqleAdjustSharedMemoryLimits,探测:20 MESSAGE: ZRC = 0x840F0001 = -2079391743 = SQLO_ACCD“访问被拒绝” DIA8701C对资源“”的访问被拒绝,操作系统返回码 是“”。
2018-08-31-02.26.18.050443-240 E259412E347级别:错误(OS) PID:31130 TID:140560770324352 PROC:db2star2 实例:idsusr节点:000主机名:dev02功能: DB2 UDB,SQO内存管理,sqloMemCreateSingleSegment,探针:100 调用:OS,-,shmget OSERR:EEXIST(17)
2018-08-31-02.26.18.340053-240 I260908E491级别:警告 PID:31078 TID:139826829453056 PROC:db2sysc 0 实例:idsusr节点:000 APPHDL:0-7
APPID:* LOCAL.idsusr.180831062618主机名:dev02 EDUID:21
EDUNAME:db2agent(实例)0功能:DB2 UDB,bsu安全性, sqlexLogPluginMessage,探测:20 DATA#1:字符串,大小为66字节 用户dasusr1的密码验证失败,原因是rc = -2146498587
目前,我无法理解此步骤失败的原因是什么?是内核错误还是密码验证问题?我已经将dasusr1的密码设置为与dasusr1相同的密码,以便可以轻松记住它并且不会出现任何问题。有人可以指导我吗?
答案 0 :(得分:0)
您的脚本表明您在调用idscfgdb时正在使用dasusr1(DB2管理服务器用户)。文档指示应使用数据库管理员ID。数据库管理员不同于DB2管理服务器用户。如果您没有数据库管理员的单独用户ID,则可以使用实例所有者ID代替数据库管理员。