Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - sspeed

Pages: 1 [2]
16
It appears like this might be related to the DNS account for Zentyal to dynamically update records on the domain.  On my machine it's dns-zentyal (don't know if I named it that).  How can I reset the AD password in Zentyal's configuration for this account?  I know how to reset it on the domain. 

Or maybe I'm going down a rabbit hole?

17
Pulling my hair out on this.  Here are the contents of my zentyal.log when trying to save some network objects and getting the error, "The following modules failed while saving their changes, their state is unknown: dns"

2017/05/22 10:18:25 INFO> GlobalImpl.pm:625 EBox::GlobalImpl::saveAllModules - Saving config and restarting services: network dns firew
all dhcp
2017/05/22 10:18:25 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: network
2017/05/22 10:18:28 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: dns
2017/05/22 10:18:31 INFO> DNS.pm:91 EBox::DNS::appArmorProfiles - Setting DNS apparmor profile
2017/05/22 10:18:34 ERROR> Sudo.pm:240 EBox::Sudo::_rootError - root command nsupdate -g -t 10 /var/lib/zentyal/tmp/Mit5dhpoCG failed.
Error output: update failed: REFUSED

Command output: .
Exit value: 2 at root command nsupdate -g -t 10 /var/lib/zentyal/tmp/Mit5dhpoCG 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/t1vPYvpDTh.cmd 2> /var/lib/zentyal/tmp/stderr', 'nsupdate -g -t 10
/var/lib/zentyal/tmp/Mit5dhpoCG', 512, 'ARRAY(0x7bac828)', 'ARRAY(0x47dbb40)') called at /usr/share/perl5/EBox/Sudo.pm line 210
EBox::Sudo::_root(1, 'nsupdate -g -t 10 /var/lib/zentyal/tmp/Mit5dhpoCG') called at /usr/share/perl5/EBox/Sudo.pm line 153
EBox::Sudo::root('nsupdate -g -t 10 /var/lib/zentyal/tmp/Mit5dhpoCG') called at /usr/share/perl5/EBox/DNS.pm line 923
EBox::DNS::_postServiceHook('EBox::DNS=HASH(0x78e3450)', 1) called at /usr/share/perl5/EBox/Module/Service.pm line 941
EBox::Module::Service::_regenConfig('EBox::DNS=HASH(0x78e3450)') 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(0x78e3450)') 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(0x6af1170)', 'progress', 'EBox::ProgressIndicator=HASH(0x6aa8b18)') called at /
usr/share/perl5/EBox/Global.pm line 95
EBox::Global::AUTOLOAD('EBox::Global=HASH(0x6a8dc98)', 'progress', 'EBox::ProgressIndicator=HASH(0x6aa8b18)') called at /usr/share/zent
yal/global-action line 32
eval {...} at /usr/share/zentyal/global-action line 30
2017/05/22 10:18:34 ERROR> GlobalImpl.pm:661 EBox::GlobalImpl::saveAllModules - Failed to save changes in module dns: root command nsup
date -g -t 10 /var/lib/zentyal/tmp/Mit5dhpoCG failed.
Error output: update failed: REFUSED

Command output: .
Exit value: 2
2017/05/22 10:18:34 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: dhcp
2017/05/22 10:18:35 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/p
erl5/EBox/GlobalImpl.pm line 736
EBox::GlobalImpl::saveAllModules('EBox::GlobalImpl=HASH(0x6af1170)', 'progress', 'EBox::ProgressIndicator=HASH(0x6aa8b18)') called at /
usr/share/perl5/EBox/Global.pm line 95
EBox::Global::AUTOLOAD('EBox::Global=HASH(0x6a8dc98)', 'progress', 'EBox::ProgressIndicator=HASH(0x6aa8b18)') called at /usr/share/zent
yal/global-action line 32
eval {...} at /usr/share/zentyal/global-action line 30
scottz@zentyal:/var/log/zentyal$ nsupdate -g -t 10 /var/lib/zentyal/tmp/Mit5dhpoCG
could not open '/var/lib/zentyal/tmp/Mit5dhpoCG': permission denied
scottz@zentyal:/var/log/zentyal$ sudo nsupdate -g -t 10 /var/lib/zentyal/tmp/Mit5dhpoCG
update failed: REFUSED

18
Other modules / Re: Test DNS setup is not giving reverse lookup
« on: September 02, 2016, 12:37:58 am »
I possibly have the same problem. I noticed my Zentyal server has an extra octet in the IP adddress in DNS, at least when I look from Windows 7.  So far I haven't figured out how to fix it.



The named.conf.local shows:

acl "internal-local-nets" {
    10.1.1.0/24;
};

dlz "AD DNS Zone" {
    database "dlopen /usr/lib/x86_64-linux-gnu/samba/bind9/dlz_bind9_9.so";
};

zone "1.1.10.in-addr.arpa" {
    type master;
    file "/var/lib/bind/db.1.1.10";
    update-policy {
        // The only allowed dynamic updates are PTR records
        grant aero.tsi.awd. subdomain 1.1.10.in-addr.arpa. PTR TXT;
        // Grant from localhost
        grant local-ddns zonesub any;
    };
};

The actual zone file shows:

scottz@zentyal:/var/lib/bind$ more db.1.1.10
$ORIGIN .
$TTL 259200     ; 3 days
1.1.10.in-addr.arpa     IN SOA  zentyal.aero.tsi.awd. hostmaster.aero.tsi.awd. (
                                2016053110 ; serial
                                28800      ; refresh (8 hours)
                                7200       ; retry (2 hours)
                                2419200    ; expire (4 weeks)
                                86400      ; minimum (1 day)
                                )
                        NS      zentyal.aero.tsi.awd.
$ORIGIN 1.1.10.in-addr.arpa.
$TTL 3600       ; 1 hour
102                     PTR     android-594d4c41cde05e2a.aero.tsi.awd.

The weird thing is, if I look from Server 2003, it's different.



I'm confused.  I'm sure I set something up wrong back in the day, that 2003 server has been around since 2003 came out, and it was migrated from 2000.  That said, I sure would like to fix the reverse lookup.

I have the 10.in-addr.arpa zone also replicating to a Synology DNS server, and that does reverse lookup just fine.

19
Directory and Authentication / updating reverse DNS PTR records
« on: June 02, 2016, 03:20:32 pm »
Hi, using Zentyal Community Edition for about a week now and very impressed with all the hard work put into it.

I was wondering if there is a way I can get Zentyal's DNS to update/create the associated PTR record for a host in reverse DNS when it hands out an IP address by DHCP?

Microsoft's DHCP implementation does this and I'm sure Zentyal does too, just don't know where to configure it?


20
I realize this is another old thread, but again searching vs just making a post.  I've found if I leave a browser open to the web console, my loads will vary from 3 to 8 on an xi3 x5a 1.8GHz dual-core system, the main culprit being apt-check spawning every two seconds to look for updates.  There are a couple of other forum posts on this.

21
Installation and Upgrades / Re: ZENTYAL DNS
« on: May 27, 2016, 08:13:40 pm »
Is Zentyal also serving your DHCP?  If so, did you choose "Zentyal Gateway"?  Is Zentyal your gateway or is it a router address?

22
Installation and Upgrades / Re: [SOLVED] Zentyal extremely slow
« on: May 27, 2016, 05:56:57 am »
I realize this thread is very old, but it has relevance to anyone searching. I had one install of Zentyal that was very fast. I installed another that was extremely slow.  I couldn't figure out why, then realized I had installed the Antivirus module on the second.  I removed that and it's as snappy as the first now.  I hope this helps someone.

Pages: 1 [2]