Sign up ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

I am trying to install wireshark (this issue is not specific to wireshark) on my ubuntu box and I keep getting the following error for slap.d:

Setting up slapd (2.4.23-6ubuntu6.1) ...
  Creating initial configuration... mkdir: cannot create directory `/etc/ldap/slapd.d': File exists
dpkg: error processing slapd (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:

Besides uninstalling or trying to update open LDAP or slap.d, is there any other action that can be taken to resolve this issue? I am trying the install as root user & I have tried moving the slap.d conf file so far but without any luck. Any thoughts on troubleshooting/resolving this issue will be quite welcome. thank in advance

share|improve this question
See for an workaround –  Ulrich Dangel Jul 8 '12 at 20:00
thank you for commenting Ulrich - I went through it but it did not resolve the issue. I will retry as it could have been pilot error when I went through the instructions and was not able to resolve the issue. –  ali haider Jul 8 '12 at 20:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.