Author Topic: Problems Joining Zentyal 4.2.2 as Additional DC - Samba4 issue  (Read 1189 times)

charlietoner

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
  • Charlie Toner
    • View Profile
Hi Folks,

I have been trying to join a Zentyal 4.2.2 server as an addition Domain Controller on a Windows Network.  The primary Domain Controller is a Windows 2012R2 server. I have gone thru updating the Forest & Domain level to everything from 2008, 2008R2 & 2012R2 and still see the same errors in the Zentyal Log:

Forgive me if this post has been answered before but what am I missing?


2016/07/13 13:59:33 INFO> GlobalImpl.pm:624 EBox::GlobalImpl::saveAllModules - Saving config and restarting services: firewall dns samba logs
2016/07/13 13:59:33 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: firewall
2016/07/13 13:59:34 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: dns
2016/07/13 13:59:37 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: samba
2016/07/13 13:59:38 INFO> Provision.pm:810 EBox::Samba::Provision::checkAddress - Resolving oshdc01.durhamradio.local to an IP address
2016/07/13 13:59:38 INFO> Provision.pm:830 EBox::Samba::Provision::checkAddress - The DC oshdc01.durhamradio.local has been resolved to 192.168.1.9
2016/07/13 13:59:38 INFO> Provision.pm:833 EBox::Samba::Provision::checkAddress - Checking reverse DNS resolution of '192.168.1.9'...
2016/07/13 13:59:38 INFO> Provision.pm:857 EBox::Samba::Provision::checkAddress - The IP address 192.168.1.9 does not have associated PTR record
2016/07/13 13:59:38 INFO> Provision.pm:756 EBox::Samba::Provision::checkServerReachable - Checking if AD server '192.168.1.9' is online...
2016/07/13 13:59:38 INFO> Provision.pm:866 EBox::Samba::Provision::checkFunctionalLevels - Checking forest and domain functional levels...
2016/07/13 13:59:38 INFO> Provision.pm:894 EBox::Samba::Provision::checkRfc2307 - Checking RFC2307 compliant schema...
2016/07/13 13:59:38 INFO> Provision.pm:775 EBox::Samba::Provision::checkLocalRealmAndDomain - Checking local domain and realm...
2016/07/13 13:59:38 INFO> Provision.pm:968 EBox::Samba::Provision::checkClockSkew - Checking clock skew with AD server...
2016/07/13 13:59:38 INFO> Provision.pm:989 EBox::Samba::Provision::checkClockSkew - Clock skew below two minutes, should be enough.
2016/07/13 13:59:38 INFO> Provision.pm:675 EBox::Samba::Provision::checkDnsZonesInMainPartition - Checking for old DNS zones stored in main domain partition...
2016/07/13 13:59:38 INFO> Provision.pm:722 EBox::Samba::Provision::checkForestDomains - Checking number of domains inside forest...
2016/07/13 13:59:38 INFO> Provision.pm:928 EBox::Samba::Provision::checkTrustDomainObjects - Checking for domain trust relationships...
2016/07/13 13:59:38 INFO> Provision.pm:1030 EBox::Samba::Provision::checkADServerSite - Checking the site where the specified server is located
2016/07/13 13:59:38 INFO> Provision.pm:1038 EBox::Samba::Provision::checkADServerSite - The specified server has been located at site named Oshawa
2016/07/13 13:59:38 INFO> Provision.pm:1055 EBox::Samba::Provision::checkADNebiosName - Checking domain netbios name...
2016/07/13 13:59:38 INFO> Provision.pm:1278 EBox::Samba::Provision::provisionADC - Joining to domain 'durhamradio.local' as DC
2016/07/13 13:59:38 INFO> Provision.pm:1291 EBox::Samba::Provision::provisionADC - Trying to get a kerberos ticket for principal 'administrator@DURHAMRADIO.LOCAL'
2016/07/13 13:59:38 INFO> Provision.pm:1300 EBox::Samba::Provision::provisionADC - Executing domain join
2016/07/13 14:01:42 INFO> Provision.pm:299 EBox::Samba::Provision::setupKerberos - Setting up kerberos
2016/07/13 14:01:42 INFO> Provision.pm:276 EBox::Samba::Provision::setupDNS - Setting up DNS
2016/07/13 14:01:42 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: dns
2016/07/13 14:01:52 ERROR> Sudo.pm:240 EBox::Sudo::_rootError - root command service bind9 restart failed.
Error output:
Command output:  * Stopping domain name service... bind9
 waiting for pid 6907 to die
    ...done.
  * Starting domain name service... bind9
    ...fail!
.
Exit value: 1 at root command service bind9 restart failed.
Error output:
Command output:  * Stopping domain name service... bind9
 waiting for pid 6907 to die
    ...done.
  * Starting domain name service... bind9
    ...fail!
.
Exit value: 1 at /usr/share/perl5/EBox/Sudo.pm line 240
EBox::Sudo::_rootError('/usr/bin/sudo -p sudo: /var/lib/zentyal/tmp/OkUaGm9XEy.cmd 2> /var/lib/zentyal/tmp/stderr', 'service bind9 restart', 256, 'ARRAY(0x58e4540)', 'ARRAY(0x13820a0)') called at /usr/share/perl5/EBox/Sudo.pm line 210
EBox::Sudo::_root(1, 'service bind9 restart') called at /usr/share/perl5/EBox/Sudo.pm line 153
EBox::Sudo::root('service bind9 restart') called at /usr/share/perl5/EBox/Module/Service.pm line 777
EBox::Module::Service::_manageDaemon('EBox::DNS=HASH(0x37773f0)', 'HASH(0x58e5678)', 'restart') called at /usr/share/perl5/EBox/Module/Service.pm line 760
EBox::Module::Service::_startDaemon('EBox::DNS=HASH(0x37773f0)', 'HASH(0x58e5678)') called at /usr/share/perl5/EBox/Module/Service.pm line 804
EBox::Module::Service::_manageService('EBox::DNS=HASH(0x37773f0)', 'start') called at /usr/share/perl5/EBox/Module/Service.pm line 829
EBox::Module::Service::_startService('EBox::DNS=HASH(0x37773f0)') called at /usr/share/perl5/EBox/Module/Service.pm line 1027
EBox::Module::Service::_enforceServiceState('EBox::DNS=HASH(0x37773f0)') called at /usr/share/perl5/EBox/Module/Service.pm line 979
EBox::Module::Service::_regenConfig('EBox::DNS=HASH(0x37773f0)') 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(0x37773f0)') called at /usr/share/perl5/EBox/Samba/Provision.pm line 289
EBox::Samba::Provision::setupDNS('EBox::Samba::Provision=HASH(0x561d108)') called at /usr/share/perl5/EBox/Samba/Provision.pm line 1316
eval {...} at /usr/share/perl5/EBox/Samba/Provision.pm line 1277
EBox::Samba::Provision::provisionADC('EBox::Samba::Provision=HASH(0x561d108)') called at /usr/share/perl5/EBox/Samba/Provision.pm line 372
EBox::Samba::Provision::provision('EBox::Samba::Provision=HASH(0x561d108)') called at /usr/share/perl5/EBox/Samba.pm line 722
EBox::Samba::_setConf('EBox::Samba=HASH(0x3bc3d08)') called at /usr/share/perl5/EBox/Module/Base.pm line 995
EBox::Module::Base::_regenConfig('EBox::Samba=HASH(0x3bc3d08)') called at /usr/share/perl5/EBox/Module/Service.pm line 972
EBox::Module::Service::_regenConfig('EBox::Samba=HASH(0x3bc3d08)') called at /usr/share/perl5/EBox/Samba.pm line 688
EBox::Samba::_regenConfig('EBox::Samba=HASH(0x3bc3d08)') 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::Samba=HASH(0x3bc3d08)') called at /usr/share/perl5/EBox/GlobalImpl.pm line 656
eval {...} at /usr/share/perl5/EBox/GlobalImpl.pm line 655
EBox::GlobalImpl::saveAllModules('EBox::GlobalImpl=HASH(0x2ced570)', 'progress', 'EBox::ProgressIndicator=HASH(0x688948)') called at /usr/share/perl5/EBox/Global.pm line 95
EBox::Global::AUTOLOAD('EBox::Global=HASH(0x2cecf88)', 'progress', 'EBox::ProgressIndicator=HASH(0x688948)') called at /usr/share/zentyal/global-action line 32
eval {...} at /usr/share/zentyal/global-action line 30
2016/07/13 14:01:52 INFO> Provision.pm:299 EBox::Samba::Provision::setupKerberos - Setting up kerberos
2016/07/13 14:01:52 INFO> Provision.pm:276 EBox::Samba::Provision::setupDNS - Setting up DNS
2016/07/13 14:01:52 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: dns
2016/07/13 14:01:55 ERROR> Sudo.pm:240 EBox::Sudo::_rootError - root command nsupdate -l -t 10 /var/lib/zentyal/tmp/5oLs9stULE failed.
Error output: update failed: REFUSED

Command output: .
Exit value: 2 at root command nsupdate -l -t 10 /var/lib/zentyal/tmp/5oLs9stULE 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/xrIiRBDHGs.cmd 2> /var/lib/zentyal/tmp/stderr', 'nsupdate -l -t 10 /var/lib/zentyal/tmp/5oLs9stULE', 512, 'ARRAY(0x58e66d8)', 'ARRAY(0x581e040)') called at /usr/share/perl5/EBox/Sudo.pm line 210
EBox::Sudo::_root(1, 'nsupdate -l -t 10 /var/lib/zentyal/tmp/5oLs9stULE') called at /usr/share/perl5/EBox/Sudo.pm line 153
EBox::Sudo::root('nsupdate -l -t 10 /var/lib/zentyal/tmp/5oLs9stULE') called at /usr/share/perl5/EBox/DNS.pm line 928
EBox::DNS::_postServiceHook('EBox::DNS=HASH(0x37773f0)', 1) called at /usr/share/perl5/EBox/Module/Service.pm line 980
EBox::Module::Service::_regenConfig('EBox::DNS=HASH(0x37773f0)') 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(0x37773f0)') called at /usr/share/perl5/EBox/Samba/Provision.pm line 289
EBox::Samba::Provision::setupDNS('EBox::Samba::Provision=HASH(0x561d108)') called at /usr/share/perl5/EBox/Samba/Provision.pm line 1361
EBox::Samba::Provision::provisionADC('EBox::Samba::Provision=HASH(0x561d108)') called at /usr/share/perl5/EBox/Samba/Provision.pm line 372
EBox::Samba::Provision::provision('EBox::Samba::Provision=HASH(0x561d108)') called at /usr/share/perl5/EBox/Samba.pm line 722
EBox::Samba::_setConf('EBox::Samba=HASH(0x3bc3d08)') called at /usr/share/perl5/EBox/Module/Base.pm line 995
EBox::Module::Base::_regenConfig('EBox::Samba=HASH(0x3bc3d08)') called at /usr/share/perl5/EBox/Module/Service.pm line 972
EBox::Module::Service::_regenConfig('EBox::Samba=HASH(0x3bc3d08)') called at /usr/share/perl5/EBox/Samba.pm line 688
EBox::Samba::_regenConfig('EBox::Samba=HASH(0x3bc3d08)') 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::Samba=HASH(0x3bc3d08)') called at /usr/share/perl5/EBox/GlobalImpl.pm line 656
eval {...} at /usr/share/perl5/EBox/GlobalImpl.pm line 655
EBox::GlobalImpl::saveAllModules('EBox::GlobalImpl=HASH(0x2ced570)', 'progress', 'EBox::ProgressIndicator=HASH(0x688948)') called at /usr/share/perl5/EBox/Global.pm line 95
EBox::Global::AUTOLOAD('EBox::Global=HASH(0x2cecf88)', 'progress', 'EBox::ProgressIndicator=HASH(0x688948)') called at /usr/share/zentyal/global-action line 32
eval {...} at /usr/share/zentyal/global-action line 30
2016/07/13 14:01:55 ERROR> GlobalImpl.pm:660 EBox::GlobalImpl::saveAllModules - Failed to save changes in module samba: root command nsupdate -l -t 10 /var/lib/zentyal/tmp/5oLs9stULE failed.
Error output: update failed: REFUSED

Command output: .
Exit value: 2
2016/07/13 14:01:55 INFO> Base.pm:231 EBox::Module::Base::save - Restarting service for module: logs
2016/07/13 14:01:55 ERROR> GlobalImpl.pm:735 EBox::GlobalImpl::saveAllModules - The following modules failed while saving their changes, their state is unknown: samba  at The following modules failed while saving their changes, their state is unknown: samba  at /usr/share/perl5/EBox/GlobalImpl.pm line 735
EBox::GlobalImpl::saveAllModules('EBox::GlobalImpl=HASH(0x2ced570)', 'progress', 'EBox::ProgressIndicator=HASH(0x688948)') called at /usr/share/perl5/EBox/Global.pm line 95
EBox::Global::AUTOLOAD('EBox::Global=HASH(0x2cecf88)', 'progress', 'EBox::ProgressIndicator=HASH(0x688948)') called at /usr/share/zentyal/global-action line 32
eval {...} at /usr/share/zentyal/global-action line 30


Charlie Toner