Author Topic: 3.5: Error restarting service mail  (Read 3412 times)

EddieA

  • Zen Monk
  • **
  • Posts: 70
  • Karma: +3/-0
    • View Profile
3.5: Error restarting service mail
« on: November 14, 2014, 11:09:17 pm »
Hitting the Restart button for "External retrieval service" throws a "Error restarting service Mail. See /var/log/zentyal/zentyal.log for more information" box.

Looking at the log, I see:
Code: [Select]
2014/11/14 14:01:08 INFO> Service.pm:997 EBox::Module::Service::restartService - Restarting service for module: mail
2014/11/14 14:01:10 ERROR> LDAP.pm:196 EBox::Module::LDAP::_connectToSchemaMaster - Error binding to schama master LDAP: An error occurred in C<Net::LDAP>
2014/11/14 14:01:10 ERROR> Service.pm:1001 EBox::Module::Service::restartService - Error restarting service: Error binding to schama master LDAP: An error occurred in C<Net::LDAP>
2014/11/14 14:01:10 ERROR> Service.pm:1003 EBox::Module::Service::restartService - Error binding to schama master LDAP: An error occurred in C<Net::LDAP>
2014/11/14 14:01:10 ERROR> RestartService.pm:61 EBox::SysInfo::CGI::RestartService::_process - Restart of Mail from dashboard failed: Error binding to schama master LDAP: An error occurred in C<Net::LDAP>
Any ideas anyone.

Cheers.

stovesy

  • Zen Apprentice
  • *
  • Posts: 15
  • Karma: +2/-0
    • View Profile
Re: 3.5: Error restarting service mail
« Reply #1 on: December 10, 2014, 11:47:08 am »
I too am getting this same error. Whenever I restart any service.
I'm on 4.0.3
Any help would be appreciated.
Thanks

murz

  • Zen Apprentice
  • *
  • Posts: 37
  • Karma: +1/-0
    • View Profile
Re: 3.5: Error restarting service mail
« Reply #2 on: October 02, 2015, 08:52:15 am »
I got the same problem with Zentyal 4.0.9 and 4.0.10 versions.
Connecting to ldap via cli (ldapsearch) works normally.
stovesy, EddieA - did you find any fix or workaround for this problem?

jbahillo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1444
  • Karma: +77/-2
    • View Profile
Re: 3.5: Error restarting service mail
« Reply #3 on: October 02, 2015, 07:35:24 pm »
Restart samba module and problem should be gone. This happens usually after a libc update

ommesh.amit

  • Zen Apprentice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: 3.5: Error restarting service mail
« Reply #4 on: June 23, 2016, 02:40:32 pm »
Hi all,

I am getting this error which is exactly same as stated above.

I tried to restart samba as said, but even samba is throwing me errors ...


EBox::Util::Init::moduleAction('samba', 'restartService', 'restart') called at /usr/share/perl5/EBox/Util/Init.pm line 253
EBox::Util::Init::moduleRestart('samba') called at /etc/init.d/zentyal line 59
main::main at /etc/init.d/zentyal line 80
2016/06/23 14:31:54 ERROR> Service.pm:1001 EBox::Module::Service::restartService - Error restarting service: Error binding to schama master LDAP: An error occurred in C<Net::LDAP>
2016/06/23 14:31:54 ERROR> Service.pm:1003 EBox::Module::Service::restartService - Error binding to schama master LDAP: An error occurred in C<Net::LDAP>
 at Error binding to schama master LDAP: An error occurred in C<Net::LDAP>
 at /usr/share/perl5/EBox/Module/Service.pm line 1003
EBox::Module::Service::restartService('EBox::Samba=HASH(0x2f6d7c8)', 'restartModules', 1) called at /usr/share/perl5/EBox/Util/Init.pm line 127
eval {...} at /usr/share/perl5/EBox/Util/Init.pm line 125
EBox::Util::Init::moduleAction('samba', 'restartService', 'restart') called at /usr/share/perl5/EBox/Util/Init.pm line 253
EBox::Util::Init::moduleRestart('samba') called at /etc/init.d/zentyal line 59
main::main at /etc/init.d/zentyal line 80


And when I try to restart openchange, I get this message :

root@zdcovh-vm1:/var/log/zentyal# service zentyal openchange start
 * Restarting Zentyal module: openchange                                 [fail]
Error binding to schama master LDAP: An error occurred in C<Net::LDAP>


Any help will be appreciated as it is my production DC :((

aarcos

  • Zen Apprentice
  • *
  • Posts: 20
  • Karma: +1/-0
    • View Profile
Re: 3.5: Error restarting service mail
« Reply #5 on: August 10, 2017, 08:59:19 pm »
Runing Zentyal 4.0

Core 4.0.11 the same problem when restart mail filter!!!

And run on the DC
sudo service samba-ad-dc start && sudo /etc/init.d/zentyal samba restart

And the problem is gone

Thanks jbahillo