Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Aug 2021 14:33:07 +0300
From:      Odhiambo Washington <odhiambo@gmail.com>
To:        User questions <freebsd-questions@freebsd.org>
Subject:   Re: Update of OpenLdap
Message-ID:  <CAAdA2WMZ8uojha9ev7T1JZ=WbeEJsimL_pQmxbaSPR%2B9d9GmWg@mail.gmail.com>
In-Reply-To: <20210807072442.0000095d@seibercom.net>
References:  <20210807072442.0000095d@seibercom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Aug 7, 2021 at 2:25 PM Jerry Seibert <jerry@seibercom.net> wrote:

> FreeBSD 11.4-RELEASE-p9
>
> After the recent updating of "openldap", the follow error/warning
> message is presented whenever I attempt to access the database.
>
> Aug  7 07:13:57 scorpio slapd[82175]: OTP unavailable because can't
> read/write key database /etc/opiekeys: Permission denied
>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

How about you check the permissions on  /etc/opiekeys and ensure that the
process requiring WRITE access is given that right?

On my system (FreeBSD 13) I see:

root@gw:/usr/home/wash # ls -al /etc/opiekeys
-rw-------  1 root  wheel  0 Jan 10  2019 /etc/opiekeys

Meaning that the file is only WRITEable by root.

Check that the process gets access, or maybe assign that process another
file? I don't know if that works. I don't use OpenLDAP.
You need to read /usr/ports/UPDATING for clues, or the relevant man page
for the details of what you should do.



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", egrep -v '^$|^.*#' :-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAdA2WMZ8uojha9ev7T1JZ=WbeEJsimL_pQmxbaSPR%2B9d9GmWg>