Hello, could you help me to set `nsslapd-db-home-directory`?
I would like to change that path in order to move the cache in a RAM fs.
I tried with
` /usr/sbin/dsconf -D "cn=Directory Manager" -w *** ldap://tst-example.com:389 backend config set --dbcachesize=209715200 --db-home-directory=/dev/shm/dirsrv/slapd-default/dbcache`
but it fails with:
`Error: Server is unwilling to perform - nsslapd-db-home-directory can't be modified while the server is running.`
I tried to follow these instructions:
https://access.redhat.com/documentation/en-us/red_hat_directory_server/11/ht...
but even if I stop the directory, I change the entry in the dse, I restart the directory, then I still see:
`nsslapd-db-home-directory: /var/lib/dirsrv/slapd-default/db`
My 389ds-base is `1.4.3.22`.
Thank you very much Kind Regards Marco
On Thu, May 27, 2021 at 2:22 PM Marco Favero m.faverof@gmail.com wrote:
Hello, could you help me to set `nsslapd-db-home-directory`?
Hello, Marko!
I would like to change that path in order to move the cache in a RAM fs.
I tried with
` /usr/sbin/dsconf -D "cn=Directory Manager" -w *** ldap:// tst-example.com:389 backend config set --dbcachesize=209715200 --db-home-directory=/dev/shm/dirsrv/slapd-default/dbcache`
but it fails with:
`Error: Server is unwilling to perform - nsslapd-db-home-directory can't be modified while the server is running.`
I tried to follow these instructions:
https://access.redhat.com/documentation/en-us/red_hat_directory_server/11/ht...
but even if I stop the directory, I change the entry in the dse, I restart the directory, then I still see:
Yes, this is the way. 1. Stop the instance; 2. Change dse.ldif attribute value; 3. Start the instance.
`nsslapd-db-home-directory: /var/lib/dirsrv/slapd-default/db`
Could you please check you /var/log/dirsrv - errors log? Also, is your SELinux and other permissions are set properly for the directory?
Sincerely, Simon
My 389ds-base is `1.4.3.22`.
Thank you very much Kind Regards Marco _______________________________________________ 389-users mailing list -- 389-users@lists.fedoraproject.org To unsubscribe send an email to 389-users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.... Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
Hello Simon, I can't find any error log related to this, I'll check again. I don't have selinux enabled.
For now I solved setting the path in dscreate phase. Maybe this is the simplest way for me.
The good surprise is that the process create the path by itself after the start, I don't need an already existing path before starting the Directory Server.
Thank you for the hints Kind Regards
Marco
Please remove me from this mail chanin
-----Original Message----- From: Marco Favero m.faverof@gmail.com Sent: Thursday, May 27, 2021 7:54 PM To: 389-users@lists.fedoraproject.org Subject: [389-users] Re: how could I set nsslapd-db-home-directory?
[**EXTERNAL EMAIL**]
Hello Simon, I can't find any error log related to this, I'll check again. I don't have selinux enabled.
For now I solved setting the path in dscreate phase. Maybe this is the simplest way for me.
The good surprise is that the process create the path by itself after the start, I don't need an already existing path before starting the Directory Server.
Thank you for the hints Kind Regards
Marco _______________________________________________ 389-users mailing list -- 389-users@lists.fedoraproject.org To unsubscribe send an email to 389-users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.fedor... List Guidelines: https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ffedoraproj... List Archives: https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.fedo... Do not reply to spam on the list, report it: https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpagure.io%...
389-users@lists.fedoraproject.org