[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: OpenLDAP 2.4.23 multi-master replication of the cn=config tree error: could not put entry file in place

On 10/05/2012 2:21 PM, Cyril Grosjean wrote:
May 10 19:12:40 sashimi slapd[24866]: ldif_write_entry: cannot create file for "olcDatabase={0}config,cn=config": Permission denied

To add to Quanah's reply, it'd be interesting to see the results of an strace of the slapd process. Using the above as an example, you could try (as root):

    strace -vv -s 1500 -e trace=file -f -o /tmp/slapd.strace -p 24866

Try to modify the config (olcLogLevel on cn=config, for example) and then ^C strace, and then grep for cn=config.ldif. I suspect you might find some EACCES or EPERM errors on the open() calls for that file.