[Bug 450645] Re: error during slapd configuration: chown: cannot access `olcDbDirectory\nolcDbDirectory'

Ross Golder ross at golder.org
Thu Sep 2 03:51:18 BST 2010


Thanks, Nathan.

FWIW, working from your patch, I added /dev/null as an argument to the
grep, and had the 'cut' take the third field (as the first is now the
filename), threw in a 'head -1' (hackishly, as I know that's the only
one I need to update) and have now successfully completed the postinst.

In my case, I modified the lines to the following (sorry, not in patch
format):

grep -h olcSuffix ${SLAPD_CONF}/cn\=config/olcDatabase* /dev/null | head
-1 | cut -d: -f 3

grep "olcDbDirectory:" `grep -l "olcSuffix: $1"
${SLAPD_CONF}/cn\=config/olcDatabase*.ldif` /dev/null | head -1 | cut
-d: -f 3 | sed 's/^  *//g'

-- 
error during slapd configuration: chown: cannot access `olcDbDirectory\nolcDbDirectory'
https://bugs.launchpad.net/bugs/450645
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openldap in ubuntu.



More information about the Ubuntu-server-bugs mailing list