IBM LDAP 配置问题

IBM LDAP configuration issue

我正在 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 LEVEL: Severe PID : 31078 TID : 139826858813184 PROC : db2sysc 0 INSTANCE: idsusr NODE : 000 HOSTNAME: dev02 EDUID : 14 EDUNAME: db2wlmt 0 FUNCTION: DB2 UDB, oper system services, sqloRequestSetPriority, probe:60 MESSAGE : ZRC=0xFFFFFBEE=-1042 SQL1042C An unexpected system error occurred.

DATA #1 : String, 29 bytes Unable to set thread priority

2018-08-31-02.26.04.849838-240 I253409E533 LEVEL: Error (OS) PID : 31023 TID : 139826611349248 PROC : db2wdog 0 [idsusr] INSTANCE: idsusr NODE : 000 HOSTNAME: dev02 EDUID : 2 EDUNAME: db2wdog 0 [idsusr] FUNCTION: DB2 UDB, oper system services, sqloSetPriorityHdl, probe:5934 MESSAGE : ZRC=0x83000001=-2097151999

CALLED : OS, -, sched_setscheduler OSERR: EPERM (1) DATA #1 : String, 51 bytes Failure setting absolute priority of kernel thread.

2018-08-31-02.26.04.853094-240 E253943E466 LEVEL: Severe PID : 31078 TID : 139826854618880 PROC : db2sysc 0 INSTANCE: idsusr NODE : 000 HOSTNAME: dev02 EDUID : 15 EDUNAME: db2wlmtm 0 FUNCTION: DB2 UDB, oper system services, sqloRequestSetPriority, probe:60 MESSAGE : ZRC=0xFFFFFBEE=-1042 SQL1042C An unexpected system error occurred.

DATA #1 : String, 29 bytes Unable to set thread priority

2018-08-31-02.26.16.862999-240 E257903E347 LEVEL: Error (OS) PID : 31130 TID : 140560770324352 PROC : db2star2 INSTANCE: idsusr NODE : 000 HOSTNAME: dev02 FUNCTION: DB2 UDB, SQO Memory Management, sqloMemCreateSingleSegment, probe:100 CALLED : OS, -, shmget OSERR: EEXIST (17)

2018-08-31-02.26.18.002541-240 E258251E726 LEVEL: Error (OS) PID : 31131 TID : 140560770324352 PROC : db2star2 INSTANCE: idsusr NODE : 000 HOSTNAME: dev02 FUNCTION: DB2 UDB, oper system services, sqloexecs, probe:2222 MESSAGE : ZRC=0x8300000D=-2097151987

2018-08-31-02.26.18.043809-240 I258978E433 LEVEL: Severe PID : 31130 TID : 140560770324352 PROC : db2star2 INSTANCE: idsusr NODE : 000 HOSTNAME: dev02 FUNCTION: DB2 UDB, base sys utilities, sqleAdjustSharedMemoryLimits, probe:20 MESSAGE : ZRC=0x840F0001=-2079391743=SQLO_ACCD "Access Denied" DIA8701C Access denied for resource "", operating system return code was "".

2018-08-31-02.26.18.050443-240 E259412E347 LEVEL: Error (OS) PID : 31130 TID : 140560770324352 PROC : db2star2 INSTANCE: idsusr NODE : 000 HOSTNAME: dev02 FUNCTION: DB2 UDB, SQO Memory Management, sqloMemCreateSingleSegment, probe:100 CALLED : OS, -, shmget OSERR: EEXIST (17)

2018-08-31-02.26.18.340053-240 I260908E491 LEVEL: Warning PID : 31078 TID : 139826829453056 PROC : db2sysc 0 INSTANCE: idsusr NODE : 000 APPHDL : 0-7
APPID: *LOCAL.idsusr.180831062618 HOSTNAME: dev02 EDUID : 21
EDUNAME: db2agent (instance) 0 FUNCTION: DB2 UDB, bsu security, sqlexLogPluginMessage, probe:20 DATA #1 : String with size, 66 bytes Password validation for user dasusr1 failed with rc = -2146498587

目前,我无法理解此步骤失败的原因是什么?是内核错误还是密码验证问题?我已经将 dasusr1 的密码设置为与 dasusr1 相同,这样就可以轻松记住并且不会出现问题。有人可以指导我吗?

您的脚本表明您在调用 idscfgdb 时正在使用 dasusr1(DB2 管理服务器用户)。文档指示应使用数据库管理员 ID。数据库管理员不同于 DB2 管理服务器用户。如果您没有单独的数据库管理员用户 ID,您可以使用实例所有者 ID 而不是数据库管理员。