tags:

views:

151

answers:

1

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!

A: 

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.

ewall
Hi ewall, Both the port 10389 and 10636 are available. Do you know what does the first error message mean? Is there any configuration issue?
zbdiablo
The confusing part is that the error shows '{0}' instead of the configuration parameter. There were some bugs in earlier versions that caused this, but they should be fixed in v1.5.7 (which I assume you are using). So, offhand, I don't know what else it could be, but I'll think about it...
ewall
Yes, I'm using the latest version. Thank you all the same.
zbdiablo