You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2019/06/08 06:51:00 UTC
[jira] [Updated] (DIRSERVER-1996) Make "apacheds console" ignore
stale pidfile
[ https://issues.apache.org/jira/browse/DIRSERVER-1996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny updated DIRSERVER-1996:
-----------------------------------------
Component/s: installer-plugin
> Make "apacheds console" ignore stale pidfile
> --------------------------------------------
>
> Key: DIRSERVER-1996
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1996
> Project: Directory ApacheDS
> Issue Type: Bug
> Components: installer-plugin
> Affects Versions: 2.0.0-M17
> Environment: docker centos 6
> Reporter: Jamshid Afshar
> Priority: Major
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> Please make the bin/apacheds service script ignore the pid file when using the "console" command. I run it in the foreground in a "docker" container with {noformat}/opt/apacheds-APACHEDS_DIR_VERSION/bin/apacheds console default{noformat} (not as a regular service) but it often won't start because the pid was not cleaned up from a previous run.
> For now I apply this patch in my Dockerfile:
> {noformat}
> --- bin/apacheds.orig 2014-08-24 10:23:41.000000000 +0100
> +++ bin/apacheds 2014-08-28 05:56:32.217219720 +0100
> @@ -378,7 +378,7 @@
>
> console() {
> echo "Running $APP_LONG_NAME..."
> - getpid
> + #getpid
> if [ "X$pid" = "X" ]
> then
> # The string passed to eval must handles spaces in paths correctly.
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org