New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't update DNS #1861

Open
mrPsycho opened this Issue Jan 5, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@mrPsycho
Copy link

mrPsycho commented Jan 5, 2019

log

2019/01/03 19:12:00 INFO> GlobalImpl.pm:616 EBox::GlobalImpl::saveAllModules - Saving config and restarting services: firewall dns dhcp
2019/01/03 19:12:00 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: firewall
2019/01/03 19:12:01 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: dns
2019/01/03 19:12:06 INFO> DNS.pm:91 EBox::DNS::appArmorProfiles - Setting DNS apparmor profile
2019/01/03 19:12:12 ERROR> Sudo.pm:240 EBox::Sudo::_rootError - root command nsupdate -g -t 10 /var/lib/zentyal/tmp/geWOHDba2d failed.
Error output: update failed: REFUSED
Command output: .
Exit value: 2 at root command nsupdate -g -t 10 /var/lib/zentyal/tmp/geWOHDba2d failed.
Error output: update failed: REFUSED
Command output: .
Exit value: 2 at /usr/share/perl5/EBox/Sudo.pm line 240
EBox::Sudo::_rootError('/usr/bin/sudo -p sudo: /var/lib/zentyal/tmp/e9glL22xEN.cmd 2> /var/lib/zentyal/tmp/stderr', 'nsupdate -g -t 10 /var/lib/zentyal/tmp/geWOHDba2d', 512, 'ARRAY(0x55baab8737c0)', 'ARRAY(0x55baa6efd740)') called at /usr/share/perl5/EBox/Sudo.pm line 210
EBox::Sudo::_root(1, 'nsupdate -g -t 10 /var/lib/zentyal/tmp/geWOHDba2d') called at /usr/share/perl5/EBox/Sudo.pm line 153
EBox::Sudo::root('nsupdate -g -t 10 /var/lib/zentyal/tmp/geWOHDba2d') called at /usr/share/perl5/EBox/DNS.pm line 968
EBox::DNS::_postServiceHook('EBox::DNS=HASH(0x55baa9e98980)', 1) called at /usr/share/perl5/EBox/Module/Service.pm line 948
EBox::Module::Service::_regenConfig('EBox::DNS=HASH(0x55baa9e98980)') 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(0x55baa9e98980)') 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(0x55baa8fd3570)', 'progress', 'EBox::ProgressIndicator=HASH(0x55baa4e142a8)') called at /usr/share/perl5/EBox/Global.pm line 95
EBox::Global::AUTOLOAD('EBox::Global=HASH(0x55baa4e14308)', 'progress', 'EBox::ProgressIndicator=HASH(0x55baa4e142a8)') called at /usr/share/zentyal/global-action line 32
eval {...} at /usr/share/zentyal/global-action line 30
2019/01/03 19:12:12 ERROR> GlobalImpl.pm:652 EBox::GlobalImpl::saveAllModules - Failed to save changes in module dns: root command nsupdate -g -t 10 /var/lib/zentyal/tmp/geWOHDba2d failed.
Error output: update failed: REFUSED
Command output: .
Exit value: 2
2019/01/03 19:12:12 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: dhcp
2019/01/03 19:12:20 ERROR> GlobalImpl.pm:727 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 727
EBox::GlobalImpl::saveAllModules('EBox::GlobalImpl=HASH(0x55baa8fd3570)', 'progress', 'EBox::ProgressIndicator=HASH(0x55baa4e142a8)') called at /usr/share/perl5/EBox/Global.pm line 95
EBox::Global::AUTOLOAD('EBox::Global=HASH(0x55baa4e14308)', 'progress', 'EBox::ProgressIndicator=HASH(0x55baa4e142a8)') called at /usr/share/zentyal/global-action line 32
eval {...} at /usr/share/zentyal/global-action line 30

why?
how to fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment