On Thu, May 27, 2021 at 2:22 PM Marco Favero <m.faverof@xxxxxxxxx> 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/html/performance_tuning_guide/tuning-db-cache#db-cache-on-ram-disk
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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
_______________________________________________ 389-users mailing list -- 389-users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure