Installing dcm4chee using docker and docker-compose on a ubuntu machine

660 views
Skip to first unread message

Salifu Njidda

unread,
Feb 21, 2024, 7:17:34 PM2/21/24
to dcm4che
i read the installation on docker on a single host but running into this issue particularly to the ldap container.
docker logs 0d68b878d4c1
65d5b730.28f21c6a 0x7f22ef1b9b48 @(#) $OpenLDAP: slapd 2.6.5 (Jul 11 2023 03:35:58) $
openldap
65d5b730.298966cc 0x7f22ef1b9b48 lt_dlopenext failed: (back_hdb) file not found
65d5b730.298a6cbd 0x7f22ef1b9b48 olcModuleLoad: value #0: handler exited with 1!
65d5b730.298af5f0 0x7f22ef1b9b48 config error processing cn=module{0},cn=config: handler exited with 1
65d5b730.298ff7c9 0x7f22ef1b9b48 slapd stopped.
65d5b730.29910cd8 0x7f22ef1b9b48 connections_destroy: nothing to destroy.


I keep getting this error and i am unsure how to solve it. I will be happy if someone can help me out.
Im trying to run the dc4mchee using docker on Ubuntu. I am unsure why i am facing this as i just tried to reproduce the steps given.

Shefki Esadi

unread,
Feb 22, 2024, 7:25:51 AM2/22/24
to dcm4che
Hi,
Are you running docker-compose as sudo?
Could you try to replace the ldap part with this in docker-compose.yml :
```
  ldap:
    image: dcm4che/slapd-dcm4chee:2.6.5-31.2
    logging:
      driver: json-file
      options:
        max-size: "10m"
    ports:
      - "389:389"
    environment:
      STORAGE_DIR: /storage/fs1
    volumes:
      - /var/local/dcm4chee-arc/ldap:/var/lib/ldap
      - /var/local/dcm4chee-arc/slapd.d:/etc/ldap/slapd.d
```
Best Regards
Shefki Esadi



Salifu Njidda

unread,
Feb 25, 2024, 3:20:05 PM2/25/24
to dcm4che

Hi Shefki, 
thanks the above appraoch works. Probably i was omitting the use of sudo. Was thingking since i added docker to my USER group that was enough to run superuser related task. Was wrong 

Stephen Douglas Scotti

unread,
Feb 26, 2024, 8:46:16 AM2/26/24
to dcm4che
Not entirely related, but I recently setup dcm4chee using docker, and I might wish to configure a NAS device for storage.

There is quite a bit of information about setting up Docker here, but I'm not sure how to configure a NAS, like a Synology or other device and for which storage.


/sds
Reply all
Reply to author
Forward
0 new messages