Author Topic: Problem while restarting DNS module; 'Error: No Kerberos credentials available'  (Read 2415 times)

zzeroo

  • Zen Apprentice
  • *
  • Posts: 17
  • Karma: +0/-0
  • I don't like IT, but IT likes me.
    • View Profile
    • zzeroos blog
Since some week I'm unable to restart the Zentyal 5.0.1 DNS module.


Everytime I try to restart the dns service I get this error:

Code: [Select]
2017/12/21 11:18:12 INFO> Service.pm:958 EBox::Module::Service::restartService - Restarting service for module: dns
2017/12/21 11:18:13 INFO> DNS.pm:91 EBox::DNS::appArmorProfiles - Setting DNS apparmor profile
2017/12/21 11:18:17 ERROR> Sudo.pm:240 EBox::Sudo::_rootError - root command nsupdate -g -t 10 /var/lib/zentyal/tmp/ux42LfUcLO failed.
2017/12/21 11:18:17 ERROR> Service.pm:962 EBox::Module::Service::restartService - Error restarting service: root command nsupdate -g -t 10 /var/lib/zentyal/tmp/ux42LfUcLO failed.
Error output: tkey query failed: GSSAPI error: Major = Unspecified GSS failure.  Minor code may provide more information, Minor = No Kerberos credentials available.

Command output: .
Exit value: 1
2017/12/21 11:18:17 ERROR> Service.pm:964 EBox::Module::Service::restartService - root command nsupdate -g -t 10 /var/lib/zentyal/tmp/ux42LfUcLO failed.
2017/12/21 11:18:17 ERROR> RestartService.pm:61 EBox::SysInfo::CGI::RestartService::_process - Restart of DNS from dashboard failed: root command nsupdate -g -t 10 /var/lib/zentyal/tmp/ux42LfUcLO failed.
Error output: tkey query failed: GSSAPI error: Major = Unspecified GSS failure.  Minor code may provide more information, Minor = No Kerberos credentials available.

Command output: .
Exit value: 1
I don't like IT, but IT likes me.

zzeroo

  • Zen Apprentice
  • *
  • Posts: 17
  • Karma: +0/-0
  • I don't like IT, but IT likes me.
    • View Profile
    • zzeroos blog
Here is another log. This times I tried to add a new host to the dns. This dosn't work, too. :(

Code: [Select]
2018/01/05 13:25:05 INFO> GlobalImpl.pm:625 EBox::GlobalImpl::saveAllModules - Saving config and restarting services: firewall dns
2018/01/05 13:25:05 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: firewall
2018/01/05 13:25:06 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: dns
2018/01/05 13:25:10 INFO> DNS.pm:91 EBox::DNS::appArmorProfiles - Setting DNS apparmor profile
2018/01/05 13:25:14 ERROR> Sudo.pm:240 EBox::Sudo::_rootError - root command nsupdate -g -t 10 /var/lib/zentyal/tmp/VBhEQ3Bi1c failed.
Error output: tkey query failed: GSSAPI error: Major = Unspecified GSS failure.  Minor code may provide more information, Minor = No Kerberos credentials available.

Command output: .
Exit value: 1 at root command nsupdate -g -t 10 /var/lib/zentyal/tmp/VBhEQ3Bi1c failed.
Error output: tkey query failed: GSSAPI error: Major = Unspecified GSS failure.  Minor code may provide more information, Minor = No Kerberos credentials available.

Command output: .
Exit value: 1 at /usr/share/perl5/EBox/Sudo.pm line 240
EBox::Sudo::_rootError('/usr/bin/sudo -p sudo: /var/lib/zentyal/tmp/IZzqI0bJgn.cmd 2> /var/lib/zentyal/tmp/stderr', 'nsupdate -g -t 10 /var/lib/zentyal/tmp/VBhEQ3Bi1c', 256, 'ARRAY(0x7b5dec8)', 'ARRAY(0x2a90a78)') called at /usr/share/perl5/EBox/Sudo.pm line 210
EBox::Sudo::_root(1, 'nsupdate -g -t 10 /var/lib/zentyal/tmp/VBhEQ3Bi1c') called at /usr/share/perl5/EBox/Sudo.pm line 153
EBox::Sudo::root('nsupdate -g -t 10 /var/lib/zentyal/tmp/VBhEQ3Bi1c') called at /usr/share/perl5/EBox/DNS.pm line 927
EBox::DNS::_postServiceHook('EBox::DNS=HASH(0x5e87cf0)', 1) called at /usr/share/perl5/EBox/Module/Service.pm line 941
EBox::Module::Service::_regenConfig('EBox::DNS=HASH(0x5e87cf0)') 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::DNS=HASH(0x5e87cf0)') 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(0x4da4960)', 'progress', 'EBox::ProgressIndicator=HASH(0x4d5c5b0)') called at /usr/share/perl5/EBox/Global.pm line 95
EBox::Global::AUTOLOAD('EBox::Global=HASH(0x9fa5c0)', 'progress', 'EBox::ProgressIndicator=HASH(0x4d5c5b0)') called at /usr/share/zentyal/global-action line 32
eval {...} at /usr/share/zentyal/global-action line 30
2018/01/05 13:25:14 ERROR> GlobalImpl.pm:661 EBox::GlobalImpl::saveAllModules - Failed to save changes in module dns: root command nsupdate -g -t 10 /var/lib/zentyal/tmp/VBhEQ3Bi1c failed.
Error output: tkey query failed: GSSAPI error: Major = Unspecified GSS failure.  Minor code may provide more information, Minor = No Kerberos credentials available.

Command output: .
Exit value: 1
2018/01/05 13:25:14 ERROR> GlobalImpl.pm:736 EBox::GlobalImpl::saveAllModules - The following modules failed while saving their changes, their state is unknown: dns  at The following modules failed while saving their changes, their state is unknown: dns  at /usr/share/perl5/EBox/GlobalImpl.pm line 736
EBox::GlobalImpl::saveAllModules('EBox::GlobalImpl=HASH(0x4da4960)', 'progress', 'EBox::ProgressIndicator=HASH(0x4d5c5b0)') called at /usr/share/perl5/EBox/Global.pm line 95
EBox::Global::AUTOLOAD('EBox::Global=HASH(0x9fa5c0)', 'progress', 'EBox::ProgressIndicator=HASH(0x4d5c5b0)') called at /usr/share/zentyal/global-action line 32
eval {...} at /usr/share/zentyal/global-action line 30
I don't like IT, but IT likes me.