免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 6878 | 回复: 2
打印 上一主题 下一主题

[ldap] IBM Tivoli Directory Server 启动异常 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-11-14 09:19 |只看该作者 |倒序浏览
启动的时候报这个错误:
GLPRDB001E Error code -1 from function:" SQLConnect " ldapdb .
SQL1026N  数据库管理器已激活。
GLPRDB004E The directory server is unable to connect to the database.
GLPSRV064E Failed to initialize be_config.
GLPSRV040E Server starting in configuration only mode due to errors.

查找的官方文档错误:
GLPSRV064E Failed to initialize plugin name.Explanation: The server was unable to initialize the specified object. The object might be an external server plug-in, or an internal server feature. Operator response: Verify that the server is properly configured.

请教高手解决问题 谢谢!

论坛徽章:
0
2 [报告]
发表于 2009-02-05 14:55 |只看该作者

同问

同问

论坛徽章:
0
3 [报告]
发表于 2009-02-06 09:14 |只看该作者

网上搜索到的资料,仅供参考——慎用

这条记录是英文的,你查看一下错误日志,看看是不是和以下记录相符。我尝试操作了一下,但是没成功-_-!
Password expiryprevents IDS from staring.





Technote (FAQ)

This document applies only to the following language version(s) :
English

Problem
Unable to start IDS. db2cli.log reports that password expired.
Errors received before and after the password change are:
--------------------------------------------------------------------------------------------------------------
09/27/2004 09:43:50 AM native retcode = -30082; state = "08001"; message = "[IBM][CLI Driver] SQL30082N Attempt to establish connection failed with security reason "1" ("PASSWORD EXPIRED"). SQLSTATE=08001
"
09/27/2004 09:44:51 AM native retcode = -30082; state = "08001"; message = "[IBM][CLI Driver] SQL30082N Attempt to establish connection failed with security reason "24" ("USERNAME AND/OR PASSWORD INVALID").
SQLSTATE=08001
--------------------------------------------------------------------------------------------------------------
Other errors in ibmslapd.log:
--------------------------------------------------------------------------------------------------------------
Plugin of type DATABASE is successfully loaded from /lib/libback-config.so.
Error code -1 from odbc string:" SQLConnect " ldapdb2b .
09-27-2004 11:29:48 0 0 SQL1063N DB2START processing was successful.
SQL1063N DB2START processing was successful.
Error code -1 from odbc string:" SQLConnect " ldapdb2b .
Failed to initialize be_config.
Error encountered. Server starting in configuration only mode.
--------------------------------------------------------------------------------------------------------------
During the investigation, it was found that:
- changing the password for the ldapdb2 user did not help (after doing this remember to telnet in again as that user to make sure that the password isn't in a state where it needs to be changed on next login).
- db2 connect to ldapdb2 --> works.
- db2 connect to ldapdb2 user ldapdb2 --> fails with the same error as the ibmslapd startup (SQL30082N - security reason "24").
- dropping/recreating the existing ldapdb2 instance doesn't help.
- creating a NEW instance and database works.

Cause
This appears to be an OS issue.

Solution
In order to resolve this problem, need to do the following:
1. drop the ldapdb2 instance
2. remove ldapdb2 user id and its home directory
3. recreate the user (using a new UID) and home directory
4. recreate the instance
5. recatalog the database
Now should be able to connect using both:
db2 connect to ldapdb2
db2 connect to ldapdb2 user ldapdb2
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP