[
https://issues.apache.org/jira/browse/DIRSTUDIO-1146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16032753#comment-16032753
]
Milad Hamid commented on DIRSTUDIO-1146:
----------------------------------------
Thanks [~elecharny] for solving port issue, now after running my Master Server,
I tried to run my second server which is my Slave server ( I named them because
my main goal is to have replication from my master server: partitions and
objects into Slave Server) but this time I got this error message: run has been
locked by another directory service.
[12:18:05] ERROR [org.apache.directory.server.UberjarMain] - Failed to start
the service.
java.lang.RuntimeException: the working directory
C:\Users\...\.ApacheDirectoryStudio\.metadata\.plugins\org.apache.directory.studio.ldapservers\servers\4be74ce8-e1s7-4002-881a-c6b1ebd43fdd\run
has been locked by another directory service.
at
org.apache.directory.server.core.DefaultDirectoryService.lockWorkDir(DefaultDirectoryService.java:2189)
at
org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:1223)
at
org.apache.directory.server.ApacheDsService.initDirectoryService(ApacheDsService.java:367)
at
org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:183)
at org.apache.directory.server.UberjarMain.start(UberjarMain.java:151)
at org.apache.directory.server.UberjarMain.main(UberjarMain.java:77)
[12:18:05] INFO [org.apache.directory.server.UberjarMain] - Stopping the
service.
[12:18:05] ERROR [org.apache.directory.server.UberjarMain] - Failed to start
the service.
java.lang.NullPointerException
at
org.apache.directory.server.ApacheDsService.stop(ApacheDsService.java:626)
at org.apache.directory.server.UberjarMain.stop(UberjarMain.java:210)
at org.apache.directory.server.UberjarMain.start(UberjarMain.java:158)
at org.apache.directory.server.UberjarMain.main(UberjarMain.java:77)
> The port of protocol LDAP port 10389 is already in use !
> --------------------------------------------------------
>
> Key: DIRSTUDIO-1146
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1146
> Project: Directory Studio
> Issue Type: Bug
> Components: studio-apacheds, studio-ldapservers
> Environment: Apache Directory Studio 2.0.0-M12 and ApacheDs 2.0.0-M23
> are installed on Windows 10 64 bit.
> Reporter: Milad Hamid
> Attachments: apacheds.log
>
>
> Hi,
> Each time i am trying to start/run my LdapServer (ApacheDS 2.0.0 Server)
> within Apache Studio I got this message, and the server has Stopped state.
> When I checked the log i got this error message: ERR_171 Failed to bind an
> LDAP service (10,389) to the service registry / Error while binding on
> /0.0.0.0:10389 original message : Address already in use: bind
> I used my cmd prompt and checked all ports and this port is available.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)