On RedHat, upgrading from 2.11.8 to 2.11.10 fails, as the script rudder-upgrade fails to connect to the ldap directory
On a redhat system, upgrading fails as the script rudder-upgrade doesn't succedded: it tries 10 times to connect to ldap directory but fails with
can't contact LDAP server
the ldap service is correctly running (webapp is running fine), running manually the command fails directly
ldap is correctly listening on port 389
Updated by Matthieu CERDA about 5 years ago
- Status changed from New to Discussion
- Assignee changed from Matthieu CERDA to Nicolas CHARLES
"running manually the command fails directly" => You mean running the rudder-upgrade manually ?
It fails directly, without retrying a few times before ?
Updated by Nicolas CHARLES almost 5 years ago
This problem still happens !
INFO: Setting rudder-slapd as a boot service... Done INFO: Reloading syslogd... Done INFO: Stopping rudder-slapd... Done INFO: Starting rudder-slapd... Done INFO: OpenLDAP database was successfully upgraded to new format INFO: Running the Rudder upgrade script to replay LDAP migrations on the old database content... INFO: Checking if rudder-web.properties database access credentials are all right... LDAP OK, SQL OK INFO: Checking if inventory-web.properties database access credentials are all right... LDAP OK, SQL skipped INFO: Checking LDAP service status............ FAILED LDAP service verification failed after 10 tries. Aborting the migration. Please restart the LDAP service, and start the migration script again. (on a single Rudder server, try service rudder-server-root restart) Once it is working, run: # /opt/rudder/bin/rudder-upgrade INFO: You can safely remove the backups in /var/rudder/ldap/openldap-data-backup-upgrade-on-20150605115314/ INFO: and /var/rudder/ldap/backup/openldap-data-pre-upgrade-20150605115314.ldif INFO: Restarting rudder-slapd... Done Updating : 1398866025:rudder-inventory-endpoint-2.11.11.release-1.EL.6.noarch 6/18