Docker-openldap: service could not start

Created on 6 Jan 2019  Â·  1Comment  Â·  Source: osixia/docker-openldap

when i run:
docker exec -it xxx /bin/bash

dpkg-reconfigure slapd
......
......
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.

help wanted

Most helpful comment

before

when i run:
docker exec -it xxx /bin/bash

dpkg-reconfigure slapd
......
......
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.

before dpkg-reconfigure slapd ,
try echo exit 0 > /usr/sbin/policy-rc.d , then dpkg-reconfigure slapd,
this worked in my case~

>All comments

before

when i run:
docker exec -it xxx /bin/bash

dpkg-reconfigure slapd
......
......
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.

before dpkg-reconfigure slapd ,
try echo exit 0 > /usr/sbin/policy-rc.d , then dpkg-reconfigure slapd,
this worked in my case~

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jckoester picture jckoester  Â·  4Comments

tlchan picture tlchan  Â·  3Comments

gpcimino picture gpcimino  Â·  5Comments

xd34 picture xd34  Â·  4Comments

xero88 picture xero88  Â·  3Comments