1

I installed ApacheDS on CentOS 7, but it doesn't start when the system boot and I should start it manually, what should I do?

1 Answers1

0

Assuming :

  • you got ApacheDS .rpm from the official download page
  • you did a clean installation with sudo yum localinstall apacheds-<version>.

CentOS services are located under /etc/init.d/. By default ApacheDS service name takes the version number with it which is not very convenient, so you may first want to rename it in order to make future interactions easier, for example :

mv /etc/init.d/apacheds-2.0.0.AM25-default /etc/init.d/apacheds

Restart the service to check it works : service apacheds restart or systemctl restart apacheds.

Now, in order to enable apacheds service to be started on bootup, there are two (almost) equivalent options, either using systemctl (recommended), or chkconfig :

  • systemctl enable apacheds
  • /sbin/chkconfig apacheds on

See also systemd, chkconfig