Bug #1705

ERROR: uncaught exception - Key table entry not found

Added by Dmitry Vakhrin 6 months ago. Updated 4 months ago.

Status:Autoclosed
Priority:Normal
Assignee:Samuel Cabrero
Component:samba Version:4.0

Description

15807 2014/09/05 18:16:09 ERROR> GlobalImpl.pm:653 EBox::GlobalImpl::saveAllModules - Failed to save changes in module mail: root command set -e
15808 samba-tool domain exportkeytab '/etc/dovecot/dovecot.keytab' --principal 'zentyal-mail-zentyal4'
15809 samba-tool domain exportkeytab '/etc/dovecot/dovecot.keytab' --principal 'imap/zentyal4.nt.lan'
15810 samba-tool domain exportkeytab '/etc/dovecot/dovecot.keytab' --principal 'imap/'
15811 samba-tool domain exportkeytab '/etc/dovecot/dovecot.keytab' --principal 'smtp/zentyal4.nt.lan'
15812 samba-tool domain exportkeytab '/etc/dovecot/dovecot.keytab' --principal 'smtp/'
15813 samba-tool domain exportkeytab '/etc/dovecot/dovecot.keytab' --principal 'pop/zentyal4.nt.lan'
15814 samba-tool domain exportkeytab '/etc/dovecot/dovecot.keytab' --principal 'pop/'
15815 chown 'root':'dovecot' '/etc/dovecot/dovecot.keytab'
15816 chmod '440' '/etc/dovecot/dovecot.keytab' failed.
15817 Error output: params.c:pm_process() - Processing configuration file "/etc/samba/shares.conf"
15818 GENSEC backend 'gssapi_spnego' registered
15819 GENSEC backend 'gssapi_krb5' registered
15820 GENSEC backend 'gssapi_krb5_sasl' registered
15821 GENSEC backend 'schannel' registered
15822 GENSEC backend 'spnego' registered
15823 GENSEC backend 'ntlmssp' registered
15824 GENSEC backend 'krb5' registered
15825 GENSEC backend 'fake_gssapi_krb5' registered
15826 ERROR: uncaught exception - Key table entry not found
15827 File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 175, in _run
15828 return self.run(*args, **kwargs)
15829 File "/usr/lib/python2.7/dist-packages/samba/netcmd/domain.py", line 103, in run
15830 net.export_keytab(keytab=keytab, principal=principal)
15831
15832 Command output: .
15833 Exit value: 255
15834 2014/09/05 18:16:09 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: logs
15835 2014/09/05 18:16:09 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal/global-action --action saveAllModules --progress-id 1 (pid: 17965) - /sbin/status 'ebox.loggerd'
15836 2014/09/05 18:16:09 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal/global-action --action saveAllModules --progress-id 1 (pid: 17965) - /sbin/status 'ebox.loggerd'
15837 2014/09/05 18:16:09 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal/global-action --action saveAllModules --progress-id 1 (pid: 17965) - /sbin/stop 'ebox.loggerd'
15838 2014/09/05 18:16:09 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal/global-action --action saveAllModules --progress-id 1 (pid: 17965) - /sbin/start 'ebox.loggerd'
15839 2014/09/05 18:16:09 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: openchange
15840 2014/09/05 18:16:09 DEBUG> LDAP.pm:136 EBox::Module::LDAP::_connectToSchemaMaster - Schema master FSMO role owner is CN=ZENTYAL4,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=nt,DC=lan
15841 2014/09/05 18:16:09 DEBUG> LDAP.pm:152 EBox::Module::LDAP::_connectToSchemaMaster - Schema master FSMO role owner name is zentyal4.nt.lan
15842 2014/09/05 18:16:09 DEBUG> LDAP.pm:154 EBox::Module::LDAP::_connectToSchemaMaster - Resolving schema master DNS name zentyal4.nt.lan
15843 2014/09/05 18:16:09 DEBUG> LDAP.pm:116 EBox::Module::LDAP::_dnsResolve - Name 'zentyal4.nt.lan' has been resolved to the following IP addresses [192.168.11.186], using name servers [127.0.0.1]
15844 2014/09/05 18:16:09 DEBUG> LDAP.pm:169 EBox::Module::LDAP::_connectToSchemaMaster - Connected to schema master: 192.168.11.186:389
15845 2014/09/05 18:16:09 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal/global-action --action saveAllModules --progress-id 1 (pid: 17965) - ldbsearch -H /var/lib/samba/private/sam.ldb -s base 'dn' --debug-stderr 2>/dev/null 1>/var/lib/zentyal/tmp/dnsZonesYcym1S.ldif
15846 2014/09/05 18:16:09 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal/global-action --action saveAllModules --progress-id 1 (pid: 17965) - /usr/bin/test -f '/var/lib/zentyal/conf/samba.keytab'
15847 2014/09/05 18:16:09 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal/global-action --action saveAllModules --progress-id 1 (pid: 17965) - set -e
15848 rm -f '/var/lib/zentyal/conf/samba.keytab'
15849 samba-tool domain exportkeytab '/var/lib/zentyal/conf/samba.keytab' --principal=''
15850 chown 'ebox:ebox' '/var/lib/zentyal/conf/samba.keytab'
15851 chmod 400 '/var/lib/zentyal/conf/samba.keytab'
15852 2014/09/05 18:16:09 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal/loggerd (pid: 18162) - /sbin/status 'ebox.redis'
15853 2014/09/05 18:16:10 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal/global-action --action saveAllModules --progress-id 1 (pid: 17965) - set -e
15854 /bin/mv /var/lib/zentyal/tmp/H4Aq4X7tg9 '/etc/default/sogo'
15855 /bin/chmod 755 '/etc/default/sogo'
15856 /bin/chown 0.0 '/etc/default/sogo'
15857 2014/09/05 18:16:10 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal/global-action --action saveAllModules --progress-id 1 (pid: 17965) - set -e
15858 /bin/mv /var/lib/zentyal/tmp/jwcyLv3hGb '/etc/sogo/sogo.conf'
15859 /bin/chmod 640 '/etc/sogo/sogo.conf'
15860 /bin/chown 0.122 '/etc/sogo/sogo.conf'
15861 2014/09/05 18:16:10 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal/global-action --action saveAllModules --progress-id 1 (pid: 17965) - /bin/cat /var/lib/zentyal/conf/zentyal-mysql.passwd
15862 2014/09/05 18:16:10 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal/global-action --action saveAllModules --progress-id 1 (pid: 17965) - mysql --defaults-file=/etc/mysql/debian.cnf -e "SHOW VARIABLES LIKE 'have_innodb'" | grep -q YES
15863 2014/09/05 18:16:10 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal/global-action --action saveAllModules --progress-id 1 (pid: 17965) - mysql --defaults-file=/etc/mysql/debian.cnf zentyal < /var/lib/zentyal/tmp/sqlSuper.cmd
15864 2014/09/05 18:16:10 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal/global-action --action saveAllModules --progress-id 1 (pid: 17965) - mysql --defaults-file=/etc/mysql/debian.cnf zentyal < /var/lib/zentyal/tmp/sqlSuper.cmd
15865 2014/09/05 18:16:10 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal/global-action --action saveAllModules --progress-id 1 (pid: 17965) - mysql --defaults-file=/etc/mysql/debian.cnf zentyal < /var/lib/zentyal/tmp/sqlSuper.cmd
15866 2014/09/05 18:16:10 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal/global-action --action saveAllModules --progress-id 1 (pid: 17965) - /usr/bin/stat -c%dI%iI%fI%hI%uI%gIhI%sI%XI%YI%ZI%oI%bI%tI%T '/etc/apache2/ports.conf'
15867 2014/09/05 18:16:10 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal/global-action --action saveAllModules --progress-id 1 (pid: 17965) - set -e
15868 /bin/mv /var/lib/zentyal/tmp/JBTjKfy6BG '/etc/apache2/ports.conf'
15869 /bin/chmod 0644 '/etc/apache2/ports.conf'
15870 /bin/chown 0.0 '/etc/apache2/ports.conf'
15871 2014/09/05 18:16:10 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal/global-action --action saveAllModules --progress-id 1 (pid: 17965) - set -e
15872 /bin/mv /var/lib/zentyal/tmp/OWak4oIN2E '/etc/ocsmanager/ocsmanager.ini'
15873 /bin/chmod 640 '/etc/ocsmanager/ocsmanager.ini'
15874 /bin/chown 0.0 '/etc/ocsmanager/ocsmanager.ini'
15875 2014/09/05 18:16:10 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal/global-action --action saveAllModules --progress-id 1 (pid: 17965) - mkdir -p '/var/lib/zentyal/conf/openchange'
15876 2014/09/05 18:16:10 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal/global-action --action saveAllModules --progress-id 1 (pid: 17965) - /usr/bin/stat -c%dI%iI%fI%hI%uI%gIhI%sI%XI%YI%ZI%oI%bI%tI%T '/etc/apache2/sites-available/zentyaloc-rpcproxy.conf'
15877 2014/09/05 18:16:10 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal/global-action --action saveAllModules --progress-id 1 (pid: 17965) - set -e
15878 /bin/mv /var/lib/zentyal/tmp/54qqCKyNQZ '/etc/apache2/sites-available/zentyaloc-rpcproxy.conf'
15879 /bin/chmod 0644 '/etc/apache2/sites-available/zentyaloc-rpcproxy.conf'
15880 /bin/chown 0.0 '/etc/apache2/sites-available/zentyaloc-rpcproxy.conf'
15881 2014/09/05 18:16:10 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal/global-action --action saveAllModules --progress-id 1 (pid: 17965) - set -e
15882 rm -rf /etc/apache2/conf.d/rpcproxy.conf
15883 a2dissite zentyaloc-rpcproxy
15884 2014/09/05 18:16:10 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal/global-action --action saveAllModules --progress-id 1 (pid: 17965) - a2disconf zentyal-activesync
15885 2014/09/05 18:16:10 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal/global-action --action saveAllModules --progress-id 1 (pid: 17965) - /usr/bin/stat -c%dI%iI%fI%hI%uI%gIhI%sI%XI%YI%ZI%oI%bI%tI%T '/etc/apache2/conf-available/sogo.conf'
15886 2014/09/05 18:16:10 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal/global-action --action saveAllModules --progress-id 1 (pid: 17965) - set -e
15887 /bin/mv /var/lib/zentyal/tmp/o7z_zKwd_f '/etc/apache2/conf-available/sogo.conf'
15888 /bin/chmod 0644 '/etc/apache2/conf-available/sogo.conf'
15889 /bin/chown 0.0 '/etc/apache2/conf-available/sogo.conf'
15890 2014/09/05 18:16:10 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal/global-action --action saveAllModules --progress-id 1 (pid: 17965) - a2enconf sogo
15891 2014/09/05 18:16:10 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal/global-action --action saveAllModules --progress-id 1 (pid: 17965) - service apache2 restart
15892 2014/09/05 18:16:10 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal/loggerd (pid: 18162) - /bin/cat /var/lib/zentyal/conf/zentyal-mysql.passwd
15893 2014/09/05 18:16:11 DEBUG> Loggerd.pm:63 EBox::Loggerd::run - Loaded log helper classes: EBox::MailLogHelper EBox::SambaLogHelper
15894 2014/09/05 18:16:11 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal/global-action --action saveAllModules --progress-id 1 (pid: 17965) - /sbin/status 'zentyal.ocsmanager'
15895 2014/09/05 18:16:11 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal/global-action --action saveAllModules --progress-id 1 (pid: 17965) - service sogo restart
15896 2014/09/05 18:16:12 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal/global-action --action saveAllModules --progress-id 1 (pid: 17965) - service apache2 restart
15897 2014/09/05 18:16:14 ERROR> GlobalImpl.pm:731 EBox::GlobalImpl::saveAllModules - The following modules failed while saving their changes, their state is unknown: mail at The following modules failed while saving their changes, their state is unknown: mail at /usr/share/perl5/EBox/GlobalImpl.pm line 731
15898 EBox::GlobalImpl::saveAllModules('EBox::GlobalImpl=HASH', 'progress', 'EBox::ProgressIndicator=HASH') called at /usr/share/perl5/EBox/Global.pm line 95
15899 EBox::Global::AUTOLOAD', 'progress', 'EBox::ProgressIndicator=HASH') called at /usr/share/zentyal/global-action line 32
15900 eval {...} at /usr/share/zentyal/global-action line 30
15901 2014/09/05 18:17:01 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal/manage-logs (pid: 18576) - /sbin/status 'ebox.redis'
15902 2014/09/05 18:17:02 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal/manage-logs (pid: 18576) - /bin/cat /var/lib/zentyal/conf/zentyal-mysql.passwd

History

#1 Updated by José Antonio Calvo 6 months ago

  • Status changed from New to Feedback

Can you please detail the steps you follow to reproduce this problem? Thanks!

#2 Updated by Dmitry Vakhrin 6 months ago

  • Status changed from Feedback to Accepted

I set zentyal 4.0, set up it as the domain controler. I set the Mail Service and OpenChange Server components. after that to transition to the Module Status menu, I turn on the Mail Service module, I try to save changes and I receive this error in log-files.

#3 Updated by José Antonio Calvo 6 months ago

  • Assignee set to Samuel Cabrero

#4 Updated by Miguel Julián 5 months ago

  • Subject changed from error to ERROR: uncaught exception - Key table entry not found
  • Status changed from Accepted to Feedback
  • Component changed from mail to samba

Could you give us a little bit more information about which configurations did you set up? Also it would be nice if you could also provide us the zentyal packages versions.

Best regards.

#5 Updated by Zentyal Bug Reporter 4 months ago

  • Status changed from Feedback to Autoclosed

This issue has been automatically closed after 14 days waiting for feedback without activity.
Please reopen this issue if you want to provide further information about this topic.

Also available in: Atom PDF