[ 
https://issues.apache.org/jira/browse/DIRSERVER-1835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13696294#comment-13696294
 ] 

Emmanuel Lecharny commented on DIRSERVER-1835:
----------------------------------------------

I think that a restart should at least clean the pid file. I would accept that 
a start fail if the pid file exists (in order to protect the user against 
starting the server twice).

In any case, if the server is already started, the user will get a failure as 
the LDAP port will already be bound, so the start will fail.
                
> ApacheDS not able to restart/start when the process shown in 
> apacheds-default.pid is not running
> ------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1835
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1835
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 2.0.0-M11
>         Environment: Linux CentOS
>            Reporter: James C. Wu
>            Priority: Minor
>
> I have a default instance of ApacheDS 2.0.0.M11. 
> I could not restart the apacheDS service using 
> /etc/init.d/apacheds-2.0.0-M11-default restart or 
> /etc/init.d/apacheds-2.0.0-M11-default start
> after a system reboot. 
> The problem is fixed by deleting the pid stored in the  apacheds-default.pid 
> file /var/lib/apacheds-2.0.0-M11/default/run/apacheds-default.pid

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to