Upgrade from 24.7.1...
 
Notifications
Clear all

Upgrade from 24.7.1 to 24.9.0 LDAP Fails to start

8 Posts
8 Users
1 Reactions
157 Views
(@azdave7042)
Joined: 2 months ago
Posts: 7
Topic starter  

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?


   
Bichula reacted
Quote
(@vhmarx)
Joined: 2 weeks ago
Posts: 3
 

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.


   
ReplyQuote
(@ismartin)
Joined: 5 months ago
Posts: 3
 

I have the same error any idea how i resolve that?


   
ReplyQuote
(@t0mwz)
Joined: 2 weeks ago
Posts: 7
 

Encounter the same yesterday. See solution here by @anahuac; https://community.zextras.com/forum/postid/8974/


   
ReplyQuote
 Klug
(@klug)
Joined: 13 years ago
Posts: 62

   
ReplyQuote
(@sistemak-imh)
Joined: 8 months ago
Posts: 32
 

Hi @stefanodavid

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


   
ReplyQuote
(@stefanodavid)
Joined: 3 years ago
Posts: 197
 

@sistemak-imh we will provide official guidelines today on the official docs (followed by a post on this forum)


   
ReplyQuote
(@stefanodavid)
Joined: 3 years ago
Posts: 197

   
ReplyQuote