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 2014/07/28 19:06:38 UTC

[jira] [Commented] (DIRSERVER-1989) Starting M17 service creates/replaces M16 folder in /var/lib

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

Emmanuel Lecharny commented on DIRSERVER-1989:
----------------------------------------------

I'm quite sure it's a pb with the shell being used, or with the right you have on the user and folder.

The installer is supposed to replace the @group@ variable through this line :

{code}
...
sed -e "s;@group@;${RUN_AS_GROUP};" ../server/bin/apacheds > ../server/bin/apacheds.tmp
mv ../server/bin/apacheds.tmp ../server/bin/apacheds
...
{code}

where RUN_AS_GROUP is defined in the variable.sh file :

{code}
...
Which group do you want to run the server with (if not already existing, the specified group will be created)|RUN_AS_GROUP|apacheds||
...
{code}

If the substitution has not occured, then that means the sed -e command has failed, or we haven't been able to write the file apacheds.tmp

> Starting M17 service creates/replaces M16 folder in /var/lib
> ------------------------------------------------------------
>
>                 Key: DIRSERVER-1989
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1989
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 2.0.0-M17
>         Environment: CentOS 6, installed via RPM
>            Reporter: Ashton Davis
>
> When starting the server service:
> `/opt/apacheds-2.0.0_M17/bin/apacheds start`
> I get this output:
> groups: @group@: No such user
> Creating directory '/var/lib/apacheds-2.0.0_M16'.
> Starting ApacheDS - default...



--
This message was sent by Atlassian JIRA
(v6.2#6252)