ERROR<53761> - Plugins - conn=-1 op=-1 msgId=-1 - Connection Bind through PTA failed (91). Retrying...

本文记录了LDAP6.3在DSCC控制台启动时遇到“意外错误”的问题及解决过程。通过日志发现连接绑定失败,并最终定位到/etc/hosts配置错误。修正主机名后,问题得以解决。

LDAP6.3在DSCC控制台启动实例完成,但是操作状态显示“意外错误”,查看日志如下:

04/May/2016:21:10:39 +0800] - Sun-Java(tm)-System-Directory/6.3 B2008.0311.0224 (32-bit) starting up
[04/May/2016:21:10:39 +0800] - Listening on all interfaces port 11111 for LDAP requests
[04/May/2016:21:10:39 +0800] - Listening on all interfaces port 11112 for LDAPS requests
[04/May/2016:21:10:39 +0800] - slapd started.
[04/May/2016:21:10:39 +0800] - INFO: 0 entries in the directory database.
[04/May/2016:21:10:39 +0800] - INFO: add:0, modify:0, modrdn:0, search:0, delete:0, compare:0, bind:0 since startup.
[04/May/2016:21:10:40 +0800] - ERROR<53761> - Plugins - conn=-1 op=-1 msgId=-1 - Connection  Bind through PTA failed (91). Retrying...
[04/May/2016:21:10:40 +0800] - ERROR<53761> - Plugins - conn=-1 op=-1 msgId=-1 - Connection  Bind through PTA failed (91).
[04/May/2016:21:10:40 +0800] - ERROR<53761> - Plugins - conn=-1 op=-1 msgId=-1 - Connection  Bind through PTA failed (91). Retrying...
[04/May/2016:21:10:40 +0800] - ERROR<53761> - Plugins - conn=-1 op=-1 msgId=-1 - Connection  Bind through PTA failed (91).

 

检查发现/etc/hosts配置文件有错,127.0.0.1和::1后面的hostname写到其它服务器的主机名了。因为是/etc/hosts配置文件是从其它服务器直接复制粘贴过来的,所以就错了。修改为正确的,删除原来的实例,重新创建后正常。

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       testldap210.com     testldap210
::1                testldap210.com     testldap210
……

参考资料:https://community.oracle.com/thread/2013701

转载于:https://www.cnblogs.com/rusking/p/5459882.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值