After upgrading from 24.7.1 to 24.9.0 on Ubuntu 22.04 server and rebooting, system is down. Zmcontrol -v show 24.9.0 but zmcontrol status shows all services down. Zmcontrol start says directory fails to start.
During upgrade the following error was shown on screen.
Setting up carbonio-directory-server (4.17.6-1jammy) ...
* Starting LDAP upgrade...
** Applying changes from /opt/zextras/libexec/scripts/LDAP/migrations/pre_flight//01_olcPidFile_path_update.pl...
* Error applying changes from /opt/zextras/libexec/scripts/LDAP/migrations/pre_flight//01_olcPidFile_path_update.pl: Failed to connect to LDAP server using any of the provided LDPAI socket paths. at /opt/zextras/common/lib/perl5/Zextras/LdapMigrationUtils.pm line 63.
How do i fix this or work around this error and get system upgraded?
I'm having the same problem.
While upgrading to 24.9.0 I got the following errors in apt
* Starting LDAP upgrade...
** Applying changes from /opt/zextras/libexec/scripts/LDAP/migrations/pre_flight
//01_olcPidFile_path_update.pl...
* Error applying changes from /opt/zextras/libexec/scripts/LDAP/migrations/pre_
flight//01_olcPidFile_path_update.pl: Failed to connect to LDAP server using any
of the provided LDPAI socket paths. at /opt/zextras/common/lib/perl5/Zextras/LdapMigrationUtils.pm line 63.
Stopping openldap...openldap is not running.
Looking for LDAP installation...succeeded
Installing core schema...
Installing cosine schema...
Installing inetOrgPerson schema...
Installing zimbra schema...
Installing amavis schema...
Installing dyngroup schema...
Installing OpenDKIM schema...
Connection refused at /opt/zextras/libexec/zmldapupdateldif line 44, <DATA> line
960.
Connection refused at /opt/zextras/libexec/ldapattributeupdate line 56, <DATA> l
ine 960.
Stopping openldap...openldap is not running.
Starting openldap...failed.
dpkg: error processing package carbonio-directory-server (--configure):
installed carbonio-directory-server package post-installation script subprocess
returned error exit status 1
Errors were encountered while processing:
carbonio-directory-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
I currently can't start the server through zmcontrol and I have no idea how to fix this.
I have the same error any idea how i resolve that?
Encounter the same yesterday. See solution here by @anahuac; https://community.zextras.com/forum/postid/8974/
We are waiting to upgrade to version 24.9.0 until we have more information about this bug.
Is the solution provided in this post the one you recommend ?
Thanks
@sistemak-imh we will provide official guidelines today on the official docs (followed by a post on this forum)