Author Topic: Error while restarting samba  (Read 597 times)

pgodinic

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Error while restarting samba
« on: January 23, 2018, 09:53:23 am »
I am getting this error while restarting samba. Samba works but i'm getting error.

2018/01/23 09:49:17 ERROR> LDAP.pm:196 EBox::Module::LDAP::_connectToSchemaMaster - Error binding to schema master LDAP: C<Net::LDAP> encountered an error while decoding a response packet from
the server.
 at Error binding to schema master LDAP: C<Net::LDAP> encountered an error while decoding a response packet from
the server.
 at /usr/share/perl5/EBox/Module/LDAP.pm line 196
EBox::Module::LDAP::_connectToSchemaMaster('EBox::Samba=HASH(0x6c33a28)') called at /usr/share/perl5/EBox/Module/LDAP.pm line 275
EBox::Module::LDAP::_loadSchemasFiles('EBox::Samba=HASH(0x6c33a28)', 'ARRAY(0x7b87420)') called at /usr/share/perl5/EBox/Module/LDAP.pm line 267
EBox::Module::LDAP::_loadSchemas('EBox::Samba=HASH(0x6c33a28)') called at /usr/share/perl5/EBox/Module/LDAP.pm line 341
EBox::Module::LDAP::_performSetup('EBox::Samba=HASH(0x6c33a28)') called at /usr/share/perl5/EBox/Samba.pm line 646
EBox::Samba::_regenConfig('EBox::Samba=HASH(0x6c33a28)') called at /usr/share/perl5/EBox/Module/Base.pm line 234
eval {...} at /usr/share/perl5/EBox/Module/Base.pm line 233
EBox::Module::Base::save('EBox::Samba=HASH(0x6c33a28)') called at /usr/share/perl5/EBox/GlobalImpl.pm line 657
eval {...} at /usr/share/perl5/EBox/GlobalImpl.pm line 656
EBox::GlobalImpl::saveAllModules('EBox::GlobalImpl=HASH(0x5b664c8)', 'progress', 'EBox::ProgressIndicator=HASH(0x5b1e240)') called at /usr/share/perl5/EBox/Global.pm line 95
EBox::Global::AUTOLOAD('EBox::Global=HASH(0x17bb548)', 'progress', 'EBox::ProgressIndicator=HASH(0x5b1e240)') called at /usr/share/zentyal/global-action line 32
eval {...} at /usr/share/zentyal/global-action line 30
2018/01/23 09:49:17 ERROR> GlobalImpl.pm:661 EBox::GlobalImpl::saveAllModules - Failed to save changes in module samba: Error binding to schema master LDAP: C<Net::LDAP> encountered an error while decoding a response packet from
the server.
2018/01/23 09:49:17 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: logs
2018/01/23 09:49:17 ERROR> GlobalImpl.pm:736 EBox::GlobalImpl::saveAllModules - The following modules failed while saving their changes, their state is unknown: samba  at The following modules failed while saving their changes, their state is unknown: samba  at /usr/share/perl5/EBox/GlobalImpl.pm line 736
EBox::GlobalImpl::saveAllModules('EBox::GlobalImpl=HASH(0x5b664c8)', 'progress', 'EBox::ProgressIndicator=HASH(0x5b1e240)') called at /usr/share/perl5/EBox/Global.pm line 95
EBox::Global::AUTOLOAD('EBox::Global=HASH(0x17bb548)', 'progress', 'EBox::ProgressIndicator=HASH(0x5b1e240)') called at /usr/share/zentyal/global-action line 32
eval {...} at /usr/share/zentyal/global-action line 30
2018/01/23 09:49:18 INFO> SyncDaemon.pm:307 EBox::Samba::SyncDaemon::run - Samba sync daemon started

BerT666

  • Zen Warrior
  • ***
  • Posts: 218
  • Karma: +9/-0
    • View Profile
Re: Error while restarting samba
« Reply #1 on: January 26, 2018, 02:11:57 pm »
Hi,

is your Zentyal box also the SchemaMaster, or is it another box?

If it is the same => sounds like a config issue while deploying your Samba Domain.
If different devices: maybe a Firewall issue? Or an issue with the certificates used by samba?

Regards

Thomas

pgodinic

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Error while restarting samba
« Reply #2 on: January 29, 2018, 09:05:24 am »
No, server is additional domain controller. SchemaMaster is Windows Server 2k12.