Hi,
I experience the same mistake. Zentyal 6.2 with latest updates.
When I try to restart on dashboard or command line I have this error in zentyal.log:
2021/10/20 03:17:37 INFO> Service.pm:965 EBox::Module::Service::restartService - Restarting service for module: mail
2021/10/20 03:17:39 ERROR> LDAP.pm:196 EBox::Module::LDAP::_connectToSchemaMaster - Error binding to schema master LDAP: An error occurred in C<Net::LDAP>
at Error binding to schema master LDAP: An error occurred in C<Net::LDAP>
at /usr/share/perl5/EBox/Module/LDAP.pm line 196
EBox::Module::LDAP::_connectToSchemaMaster('EBox::Mail=HASH(0x5567c4f07eb8)') called at /usr/share/perl5/EBox/Module/LDAP.pm line 275
EBox::Module::LDAP::_loadSchemasFiles('EBox::Mail=HASH(0x5567c4f07eb8)', 'ARRAY(0x5567c6434800)') called at /usr/share/perl5/EBox/Module/LDAP.pm line 267
EBox::Module::LDAP::_loadSchemas('EBox::Mail=HASH(0x5567c4f07eb8)') called at /usr/share/perl5/EBox/Module/LDAP.pm line 341
EBox::Module::LDAP::_performSetup('EBox::Mail=HASH(0x5567c4f07eb8)') called at /usr/share/perl5/EBox/Module/LDAP.pm line 331
EBox::Module::LDAP::_regenConfig('EBox::Mail=HASH(0x5567c4f07eb8)', 'restart', 1, 'restartModules', 1) called at /usr/share/perl5/EBox/Module/Kerberos.pm line 378
EBox::Module::Kerberos::_regenConfig('EBox::Mail=HASH(0x5567c4f07eb8)', 'restart', 1, 'restartModules', 1) called at /usr/share/perl5/EBox/Module/Service.pm line 967
eval {...} at /usr/share/perl5/EBox/Module/Service.pm line 966
EBox::Module::Service::restartService('EBox::Mail=HASH(0x5567c4f07eb8)', 'restartModules', 1) called at /usr/share/perl5/EBox/Util/Init.pm line 121
eval {...} at /usr/share/perl5/EBox/Util/Init.pm line 119
EBox::Util::Init::moduleAction('mail', 'restartService', 'restart') called at /usr/share/perl5/EBox/Util/Init.pm line 247
EBox::Util::Init::moduleRestart('mail') called at /usr/bin/zs line 62
main::main at /usr/bin/zs line 82
2021/10/20 03:17:39 ERROR> Service.pm:969 EBox::Module::Service::restartService - Error restarting service: Error binding to schema master LDAP: An error occurred in C<Net::LDAP>
2021/10/20 03:17:39 ERROR> Service.pm:971 EBox::Module::Service::restartService - Error binding to schema master LDAP: An error occurred in C<Net::LDAP>
at Error binding to schema master LDAP: An error occurred in C<Net::LDAP>
at /usr/share/perl5/EBox/Module/Service.pm line 971
EBox::Module::Service::restartService('EBox::Mail=HASH(0x5567c4f07eb8)', 'restartModules', 1) called at /usr/share/perl5/EBox/Util/Init.pm line 121
eval {...} at /usr/share/perl5/EBox/Util/Init.pm line 119
When the mail service shuts down, I can't restart it. Later, when I get up in the morning I can restart the mail service with the zs mail start command.
This is a serious problem, could anyone help?
Thank you for your help.