Friday, August 5, 2022

[389-users] Re: in docker-compose.yaml use "dsconf localhost***" error


On 8/4/22 4:54 AM, Hu, Xudong wrote:

Hello

   I want to ask a question with using 389ds/dirsrv 389 Directory Server Container in dockerhub

When I create 389ds database ,I use dsconf localhost backend create *** command,it is OK

 

Now , I want to use docker-compose.yaml to start container,I set parameter like this :

command: /bin/bash -c "sleep 20 && dsconf localhost backend create ****",but the error is as follows:

Error: Could not find configuration for instance: localhost

Thank you for reply

the usage is:

# dsconf "instance name" arg options

So your instance is probably not named "localhost".  Check /etc/dirsrv/ and use whatever name you have chosen for your instance:  "slapd-<YOUR_INSTANCE_NAME>"

# dsconf slapd-YOUR_INSTANCE backend create ...

HTH,
Mark

 


_______________________________________________  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.org  Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue  
--   Directory Server Development Team

No comments:

Post a Comment