Author Topic: ZENTYAL 6.1 - Update Error DNS  (Read 1397 times)

mkugler

  • Zen Apprentice
  • *
  • Posts: 22
  • Karma: +0/-0
    • View Profile
ZENTYAL 6.1 - Update Error DNS
« on: July 13, 2024, 12:20:57 pm »
Hello, if I want to assign a fixed IP to an object and then secure it, I get the following error:

Einige Module meldeten ein Fehler beim Sichern der Änderungen. Weitere Informationen finden Sie in den Logs in /var/log/zentyal/

The following modules failed while saving their changes, their state is unknown: dns 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(0x55e3a0550e00)', 'progress', 'EBox::ProgressIndicator=HASH(0x55e39c36c698)') called at /usr/share/perl5/EBox/Global.pm line 95 EBox::Global::AUTOLOAD('EBox::Global=HASH(0x55e3a04affd0)', 'progress', 'EBox::ProgressIndicator=HASH(0x55e39c36c698)') called at /usr/share/zentyal/global-action line 32 eval {...} at /usr/share/zentyal/global-action line 30

In the Log of Zentyal you see the following lines:

2024/07/13 11:04:58 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal/psgi/zentyal.psgi (pid: 27444) - nsupdate$
2024/07/13 11:04:58 ERROR> Sudo.pm:240 EBox::Sudo::_rootError - root command nsupdate -l -t 10 /var/lib/zentyal/tmp/sc6$
2024/07/13 11:04:58 ERROR> Service.pm:969 EBox::Module::Service::restartService - Error restarting service: root comman$
Error output: update failed: REFUSED

2024/07/13 11:14:57 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal/psgi/zentyal.psgi (pid: 27444) - LANG=C /$
2024/07/13 11:14:58 ERROR> Sudo.pm:240 EBox::Sudo::_rootError - root command LANG=C /usr/sbin/ejabberdctl status failed$
2024/07/13 11:14:58 DEBUG> Sudo.pm:189 EBox::Sudo::_root - /usr/share/zentyal/psgi/zentyal.psgi (pid: 27444) - systemct$

Unfortunately I can't get the problem under control, does anyone know the problem and can help me.

Many thanks in advance.
Mathias

Sycoriorz

  • Zen Apprentice
  • *
  • Posts: 12
  • Karma: +1/-0
    • View Profile
Re: ZENTYAL 6.1 - Update Error DNS
« Reply #1 on: July 16, 2024, 08:57:09 am »
Dear,

how you want to reach fix ip adress.
You have settled an DHCP range which isnt the full 255.255.255.0?
Then you have generate an object?
And the you pick the mac of the device where should get the fix adress and add it to the object like follow.
After you go the DHCP and add under static the object.

It works for me without any problem.

regards




mkugler

  • Zen Apprentice
  • *
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: ZENTYAL 6.1 - Update Error DNS
« Reply #2 on: July 27, 2024, 01:39:44 pm »
Thanks for the answer

I have the DHCP range only from 1-40, the rest is divided for fixed IP addresses, the problem is the error messages, so I can no longer assign addresses. Does anyone know these messages - see first post - unfortunately I can't get any further here and am also considering switching to version 8 and reinstalling it completely.

turalyon

  • Zen Warrior
  • ***
  • Posts: 203
  • Karma: +15/-0
    • View Profile
Re: ZENTYAL 6.1 - Update Error DNS
« Reply #3 on: July 29, 2024, 12:15:14 pm »
Code: [Select]
2024/07/13 11:04:58 ERROR> Service.pm:969 EBox::Module::Service::restartService - Error restarting service: root comman$
Error output: update failed: REFUSED

That error usually means that the special DNS domain user 'dns-your_hostname' doesn't belong to the domain user DnsAdmins. You can check it by running:

Code: [Select]
# To get your special domain DNS user
sudo samba-tool user list | grep 'dns-'

# To get the domain users who belong to the group
sudo samba-tool group listmembers DnsAdmins

If this is your case, you just need to add the user to that group:

Code: [Select]
sudo samba-tool group addmembers DnsAdmins dns-your_hostname

And finally, restart the Samba and DNS modules.

Code: [Select]
sudo zs samba restart
sudo zs dns restart



This world is ours, and by the Holy Light, we will keep it safe, now and forever.

mkugler

  • Zen Apprentice
  • *
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: ZENTYAL 6.1 - Update Error DNS
« Reply #4 on: August 02, 2024, 10:52:28 am »
Hi, thanks for the hint, I tested it, all settings were OK, but I added the server again. Unfortunately the problem still occurs. Please find attached the information from Zentral.

Einige Module meldeten ein Fehler beim Sichern der Änderungen. Weitere Informationen finden Sie in den Logs in /var/log/zentyal/

The following modules failed while saving their changes, their state is unknown: dns 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(0x556cc602d2b8)', 'progress', 'EBox::ProgressIndicator=HASH(0x556cc1e0d698)') called at /usr/share/perl5/EBox/Global.pm line 95 EBox::Global::AUTOLOAD('EBox::Global=HASH(0x556cc5eee040)', 'progress', 'EBox::ProgressIndicator=HASH(0x556cc1e0d698)') called at /usr/share/zentyal/global-action line 32 eval {...} at /usr/share/zentyal/global-action line 30