directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <>
Subject [jira] [Commented] (DIRSERVER-1989) Starting M17 service creates/replaces M16 folder in /var/lib
Date Mon, 28 Jul 2014 17:06:38 GMT


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 :

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

where RUN_AS_GROUP is defined in the file :

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

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:
>             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

View raw message