无法启动 Apache 目录服务器 - 错误 04450

发布于 2024-09-08 01:26:30 字数 418 浏览 3 评论 0原文

当我尝试在 Windows 平台上启动 ApacheDS 1.5.7 时,出现错误 04450,并且 apacheds-rolling.log 包含:

[21:07:27] ERROR [org.apache.directory.shared.ldap.entry.DefaultServerAttribute] - ERR_04450 The value {0} is incorrect, it hasnt been added
[21:07:27] ERROR [org.apache.directory.server.Service] - Cannot start the server : reuseAddress can't be set while the acceptor is bound.

如何解决此问题?有人可以帮助我吗?非常感谢!

While I was trying to start ApacheDS 1.5.7 on windows platform, An Error 04450 occurs and the apacheds-rolling.log contains:

[21:07:27] ERROR [org.apache.directory.shared.ldap.entry.DefaultServerAttribute] - ERR_04450 The value {0} is incorrect, it hasnt been added
[21:07:27] ERROR [org.apache.directory.server.Service] - Cannot start the server : reuseAddress can't be set while the acceptor is bound.

How can i fix this problem? Anybody could help me? many thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

野の 2024-09-15 01:26:30

警告日志消息有点误导,实际上这不是一个严重的问题,尽管有此警告,服务器应该仍在运行,这已经在最新的主干代码中修复了一段时间(将作为 2.0 而不是 1.5 发布)。 8).

The warning log message is a bit misleading, actually this is not a serious issue, the server should be running despite of this warning, this has been fixed a while back in the latest trunk code (which will be released as 2.0 instead of 1.5.8).

末骤雨初歇 2024-09-15 01:26:30

根据这篇文章,dc =example,dc=org 默认情况下不再创建上下文条目,但没有人更新文档来反映这一点。我安装了 1.5.7,在我看来分区创建得很好,但我遇到了与上述相同的错误。我建议安装旧版本。

According to this post, the dc=example,dc=org context entry is not created by default anymore but no one has updated the documentation to reflect this. I installed 1.5.7 and it looks to me like the partition was created fine, but I'm getting the same error as described above. I suggest installing an older version.

热情消退 2024-09-15 01:26:30

第二条错误消息表明该端口已在使用中。您是否有可能已经运行了另一个 ApacheDS 进程,或者另一个程序正在使用这些端口?

这可能不是域控制器,是吗?如果是这样,则默认 LDAP 端口 389 和 389 636 已用于 Active Directory,因此您需要选择另一个。但是,我相信 ApacheDS 的默认值是 10389 (LDAP) 和 10636 (LDAPS),在这种情况下,它们通常会在 Windows 机器上打开。

您可以使用 netstat -abn 命令检查端口上的进程,并在列表中查找侦听端口 10389 或您选择的自定义端口的进程。

The 2nd error message suggests that the port is already in use. Is there a chance that you already had another ApacheDS process running, or that another program is using the ports?

This isn't a domain controller perchance, is it? If so, the default LDAP ports 389 & 636 are already in use for Active Directory, so you'll need to choose another. However, I believe the defaults for ApacheDS are 10389 (LDAP) and 10636 (LDAPS), in which case they would typically be open on a Windows box.

You can check for processes on the ports with the netstat -abn command, and look through the list for the process listening on port 10389 or whichever custom port you chose.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文