-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ldapadd -f dcm4chee-archive.ldif fails with sysmalloc: Assertion #2568
Comments
Hi @jpaoletti you schould first ask your question on the google forum. Meybe there is someone who had the same problem and maybe someone will have the smae problem in the future. All developer are reading the forum and responding there! |
Seems there is an issue with openldap's You may workaround by creating an empty schema description by $ sudo ldapadd -Y EXTERNAL -H ldapi:///
SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
adding new entry "cn=dcm4chee-archive,cn=schema,cn=config" And modifying it by $ sudo ldapmodify -Y EXTERNAL -H ldapi:/// -f dcm4chee-arc-5.22.1-psql-secure-ui/ldap/slapd/dcm4chee-archive-modify.ldif
SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
modifying entry "cn={6}dcm4chee-archive,cn=schema,cn=config" |
We endend using apacheDS after fixing some issues in it. For the record, you can install ldif without Apache DS Studio (we installed everything in a server without interface) using: ldapadd -h localhost -p 10389 -D "uid=admin,ou=system" -f $DCM4CHEE/ldap/apacheds/dicom.ldif -x -w secret Of course using correct credentials. Best regards and thanks for such a great software! |
Another workaround is to reduce the size of the LDIF file by converting the line separators from $ tr -d \\r < $DCM4CHEE/ldap/slapd/dcm4chee-archive.ldif | sudo ldapadd -Y EXTERNAL -H ldapi:///
SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
adding new entry "cn=dcm4chee-archive,cn=schema,cn=config" |
Changed line separator from CR LF to LF in LDIF files provided in binary distribution package |
Trying to install acording the README with the current options, leads me to the current dead-end:
In "OpenLDAP with dynamic runtime configuration" , the first and second command works fine but the 3rd command throws the following error:
And thats it, the next file also fail and the overall process fail most likely due to this error. I think its some kind of error in dcm4chee-archive.ldif but can't say for sure.
Thanks best regards
The text was updated successfully, but these errors were encountered: