Zentyal Forum, Linux Small Business Server
Zentyal Server => Other modules => Topic started by: trvaa on February 06, 2017, 10:26:02 am
-
Zentyal Development Edition
I have upgraded from 4.X to 5.0.4 from the Dashboard.
The option to Restart DNS from Module Status in the Dashboard no longer works - giving the following message at the top of the page:
"Error restarting service DNS. See /var/log/zentyal/zentyal.log for more information."
The tail of the logs say:
/var/log/zentyal/zentyal.log <==
2017/02/06 09:02:58 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Text::DHCPLeases::Object::parse Error: Statement not recognized: 'set vendor-class-identifier = "dhcpcd-5.5.6";'
at /usr/share/perl5/Text/DHCPLeases.pm line 148.
2017/02/06 09:02:58 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Text::DHCPLeases::Object::parse Error: Statement not recognized: 'set vendor-class-identifier = "MSFT 5.0";'
at /usr/share/perl5/Text/DHCPLeases.pm line 148.
2017/02/06 09:02:58 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Text::DHCPLeases::Object::parse Error: Statement not recognized: 'set vendor-class-identifier = "dhcpcd-5.5.6";'
at /usr/share/perl5/Text/DHCPLeases.pm line 148.
2017/02/06 09:02:58 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Text::DHCPLeases::Object::parse Error: Statement not recognized: 'set vendor-class-identifier = "MSFT 5.0";'
at /usr/share/perl5/Text/DHCPLeases.pm line 148.
2017/02/06 09:02:58 WARN> zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Text::DHCPLeases::Object::parse Error: Statement not recognized: 'set vendor-class-identifier = "dhcpcd-5.5.6";'
at /usr/share/perl5/Text/DHCPLeases.pm line 148.
/usr/share/perl5/Text/DHCPLeases.pm
Any thoughts?
Thanks
-
do a tail -30 /var/log/zentyal/zentyal.log
you will find nsupdate -g -t 10 .... which must be failing. Its not DHCP failure but failure to do dynamic dns update.
-
i am also facing same issue. any one solved this.
Command output: .
Exit value: 2
2019/02/07 12:11:11 ERROR> Service.pm:971 EBox::Module::Service::restartService - root command nsupdate -g -t 10 /var/lib/zentyal/tmp/DWps3ui3nU failed.
2019/02/07 12:11:11 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/DWps3ui3nU failed.
Error output: update failed: REFUSED
tail -30 /var/log/zentyal/zentyal.log output is:-
zentyal.psgi:43 Plack::Sandbox::_2fusr_2fshare_2fzentyal_2fpsgi_2fzentyal_2epsgi::__ANON__ - Use of uninitialized value $line in split at /usr/share/perl5/EBox/Util/Software.pm line 79.
-
Hi!
Same issue in my system:
root command nsupdate -g -t 10 /var/lib/zentyal/tmp/XXXXXXXX failed.
Error output: update failed: REFUSED
What happened if you run this command manualy:
nsupdate -g -t 10 /var/lib/zentyal/tmp/DWps3ui3n
If you got same error message, please try this command:
sudo samba-tool group addmembers DnsAdmins dns-${hostname}
Regards Gábor
-
Hello - same issues here.
Ver. 6
confirmed that dns-hostname is in the dnsadmin group.
2019/02/10 17:08:31 ERROR> Service.pm:971 EBox::Module::Service::restartService - root command nsupdate -l -t 10 /var/lib/zentyal/tmp/eY6xed3jbr failed.
2019/02/10 17:08:31 ERROR> RestartService.pm:61 EBox::SysInfo::CGI::RestartService::_process - Restart of DNS from dashboard failed: root command nsupdate -l -t 10 /var/lib/zentyal/tmp/eY6xed3jbr failed.
Error output: update failed: REFUSED
Command output: .
Exit value: 2
-
Anyone managed to solve this issue? I have the same error message.
2019/08/29 08:49:02 INFO> Service.pm:961 EBox::Module::Service::restartService - Restarting service for module: dns
2019/08/29 08:49:02 INFO> DNS.pm:91 EBox::DNS::appArmorProfiles - Setting DNS apparmor profile
2019/08/29 08:49:05 ERROR> Sudo.pm:240 EBox::Sudo::_rootError - root command nsupdate -l -t 10 /var/lib/zentyal/tmp/SIHGz1746S failed.
2019/08/29 08:49:05 ERROR> Service.pm:965 EBox::Module::Service::restartService - Error restarting service: root command nsupdate -l -t 10 /var/lib/zentyal/tmp/SIHGz1746S failed.
Error output: update failed: REFUSED
Command output: .
Exit value: 2
2019/08/29 08:49:05 ERROR> Service.pm:967 EBox::Module::Service::restartService - root command nsupdate -l -t 10 /var/lib/zentyal/tmp/SIHGz1746S failed.
2019/08/29 08:49:05 ERROR> RestartService.pm:61 EBox::SysInfo::CGI::RestartService::_process - Restart of DNS from dashboard failed: root command nsupdate -l -t 10 /var/lib/zentyal/tmp/SIHGz1746S failed.
Error output: update failed: REFUSED
Command output: .
Exit value: 2
-
Hi!
This article has been solve my problem: https://forum.zentyal.org/index.php/topic,33117.msg110068/topicseen.html#msg110068
Please use it high attention, I miss one row the first time.
BR Gabor