On 07/ 7/11 03:26 PM, Quanah Gibson-Mount wrote:--On Thursday, July 07, 2011 2:52 PM +1200 Ian Collins<ian@ianshome.com> wrote:Hello, I'm in the process of copying a server configuration to an Ubuntu server and I'm getting a very strange error on start up: Jul 7 14:46:03 Ubuntu64 slapd[5079]: config error processing olcDatabase={1}hdb,cn=config: olcDbDirectory: value #0: invalid path: Permission denied strace shows: [pid 5079] open("/opt/local/var/run/openldap//DUMMY",Where is the DUMMY coming from?I assumed it was from the internals somewhere, it isn't part of my config. The previous strace output is:
Have you verified that you can get to /opt/local/var/run/openldap and create a file as the user you are running slapd as? Just because /opt/local/var/run/openldap has the right permissions does not mean the higher level directories do. Also things like AppArmor often block slapd if installed.
--Quanah -- Quanah Gibson-Mount Sr. Member of Technical Staff Zimbra, Inc A Division of VMware, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration