Author Topic: The following modules failed while saving their changes, their state is unknown:  (Read 274 times)

VCandela

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Good friends I have an error when saving changes in the Zentyal and it is the following error

File /var/log/zentyal/zentyal.log

2019/09/19 23:21:33 INFO> GlobalImpl.pm:616 EBox::GlobalImpl::saveAllModules - Saving config and restarting services: firewall samba logs
2019/09/19 23:21:33 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: firewall
2019/09/19 23:21:34 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: samba
2019/09/19 23:21:48 INFO> Samba.pm:776 EBox::Samba::_postServiceHook - Writing DNS update list...
2019/09/19 23:21:49 INFO> LDAP.pm:246 EBox::Module::LDAP::_sendSchemaUpdate - Sending schema update:
2019/09/19 23:21:49 ERROR> LDAP.pm:248 EBox::Module::LDAP::_sendSchemaUpdate - Error sending schema update:  Server encountered an internal error
 at Error sending schema update:  Server encountered an internal error
 at /usr/share/perl5/EBox/Module/LDAP.pm line 248
EBox::Module::LDAP::_sendSchemaUpdate('EBox::Samba=HASH(0x560f0592a888)', 'Net::LDAP=HASH(0x560f06ecb870)', '/usr/share/zentyal-samba/schema-quota.ldif') called at /usr/share/perl5/EBox/Module/LDAP.pm line 278
EBox::Module::LDAP::_loadSchemasFiles('EBox::Samba=HASH(0x560f0592a888)', 'ARRAY(0x560f065327a0)') called at /usr/share/perl5/EBox/Module/LDAP.pm line 267
EBox::Module::LDAP::_loadSchemas('EBox::Samba=HASH(0x560f0592a888)') called at /usr/share/perl5/EBox/Module/LDAP.pm line 341
EBox::Module::LDAP::_performSetup('EBox::Samba=HASH(0x560f0592a888)') called at /usr/share/perl5/EBox/Samba.pm line 671
EBox::Samba::_regenConfig('EBox::Samba=HASH(0x560f0592a888)') 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(0x560f0592a888)') called at /usr/share/perl5/EBox/GlobalImpl.pm line 648
eval {...} at /usr/share/perl5/EBox/GlobalImpl.pm line 647
EBox::GlobalImpl::saveAllModules('EBox::GlobalImpl=HASH(0x560f011c65c8)', 'progress', 'EBox::ProgressIndicator=HASH(0x560f04716b98)') called at /usr/share/perl5/EBox/Global.pm line 95
EBox::Global::AUTOLOAD('EBox::Global=HASH(0x560f007abc20)', 'progress', 'EBox::ProgressIndicator=HASH(0x560f04716b98)') called at /usr/share/zentyal/global-action line 32
eval {...} at /usr/share/zentyal/global-action line 30
2019/09/19 23:21:49 ERROR> GlobalImpl.pm:652 EBox::GlobalImpl::saveAllModules - Failed to save changes in module samba: Error sending schema update:  Server encountered an internal error

How can I solve that

Thank you

doncamilo

  • Zen Samurai
  • ****
  • Posts: 259
  • Karma: +63/-0
    • View Profile
 :)

Zentyal has thrown an error while applying the ldif files of the installed modules to the samba database. Please run this command:

Code: [Select]
sudo find /usr/share -iname schema*.ldif -exec ls -l {} \;

and paste his output here.

PS: The syslog file should have some valuable information about this.

Cheers!