Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 bugs.debian.org/cgi-bin/bugreport.cgi?bug=596343 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.