Project

General

Profile

Actions

Bug #10424

closed

LDAP error at upgrade - Cannot allocate memory

Added by Alexis Mousset over 7 years ago. Updated over 7 years ago.

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

When upgrading from 3.1.18 to 4.1-nightly:

Installing: rudder-inventory-ldap-1398866025:4.1.0.rc2.git201703150133-1.SLES.11 [done]
Additional rpm output:
warning: /opt/rudder/etc/openldap/slapd.conf created as /opt/rudder/etc/openldap/slapd.conf.rpmnew
INFO: Setting rudder-slapd as a boot service... Done
INFO: Reloading syslogd...  Done
INFO: Stopping rudder-slapd... Done
rudder-slapd[5011]: [INFO] Using /etc/default/rudder-slapd for configuration
58c91e2f mdb_db_open: database "cn=rudder-configuration" cannot be opened: Cannot allocate memory (12). Restore from backup!
58c91e2f backend_startup_one (type=mdb, suffix="cn=rudder-configuration"): bi_db_open failed! (12)
slap_startup failed
ERROR: Failed to restore data from old format into the new format
You can reimport manually the data from backup file /var/rudder/ldap/backup/openldap-data-pre-upgrade-20170315115747.ldif
INFO: Restarting rudder-slapd... Done
INFO: Checking LDAP service status............ FAILED
LDAP service verification failed after 10 tries.

ERROR: The migration has failed in some steps. Check previous error messages.
Please restart the failed service(s), and start the migration script again.
(on a single Rudder server, try service rudder restart)
Once it is working, run:
# /opt/rudder/bin/rudder-upgrade
INFO: End of migration script
Setting umask to 0007
Starting Jetty: . . . . OK Wed Mar 15 11:59:02 CET 2017

Installing: rudder-server-root-1398866025:4.1.0.rc2.git201703150133-1.SLES.11 [done]
Additional rpm output:
58c91e77 mdb_db_open: database "cn=rudder-configuration" cannot be opened: Cannot allocate memory (12). Restore from backup!
58c91e77 backend_startup_one (type=mdb, suffix="cn=rudder-configuration"): bi_db_open failed! (12)
slap_startup failed

With

server:~ # rpm -qa | grep rudder-inventory-ldap
rudder-inventory-ldap-4.1.0.rc2.git201703150133-1.SLES.11

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #10454: Rudder root on SLES12 shows LDAP error during installationReleasedAlexis MoussetActions
Actions

Also available in: Atom PDF