Author Topic: [RESOLVIDO]Falha ao configurar zentyal 3.2 como controlador de dominio adicional  (Read 1671 times)

wemersonrv

  • Zen Samurai
  • ****
  • Posts: 331
  • Karma: +4/-0
    • View Profile
Estou tentando configurar um servidor zentyal 3.2 como um controlador adicional de um domínio Windows 2008 R2 mas ão tá funcionando.

Podem me dar uma força?

Abaixo o resultado do log /var/log/zentyal/zentyal.log:

Quote
2013/11/20 16:10:30 INFO> GlobalImpl.pm:617 EBox::GlobalImpl::saveAllModules - Saving config and restarting services: firewall samba logs
2013/11/20 16:10:30 INFO> Base.pm:229 EBox::Module::Base::save - Restarting service for module: firewall
2013/11/20 16:10:31 INFO> Base.pm:229 EBox::Module::Base::save - Restarting service for module: samba
2013/11/20 16:10:32 INFO> Provision.pm:818 EBox::Samba::Provision::checkAddress - Resolving hospital.com.br to an IP address
2013/11/20 16:10:42 DEBUG> Provision.pm:831 EBox::Samba::Provision::checkAddress - The DC hospital.com.br could not be resolved to its IP address. Please check the specified server name and DNS server. at /usr/share/perl5/EBox/Samba/Provision.pm line 831
   EBox::Samba::Provision::checkAddress('EBox::Samba::Provision=HASH(0x7de2b80)', 192.168.110.2, 'hospital.com.br') called at /usr/share/perl5/EBox/Samba/Provision.pm line 1218
   EBox::Samba::Provision::provisionADC('EBox::Samba::Provision=HASH(0x7de2b80)') called at /usr/share/perl5/EBox/Samba/Provision.pm line 340
   EBox::Samba::Provision::provision('EBox::Samba::Provision=HASH(0x7de2b80)') called at /usr/share/perl5/EBox/Samba.pm line 1051
   EBox::Samba::_setConf('EBox::Samba=HASH(0x554c128)') called at /usr/share/perl5/EBox/Module/Base.pm line 977
   EBox::Module::Base::_regenConfig('EBox::Samba=HASH(0x554c128)') called at /usr/share/perl5/EBox/Module/Service.pm line 961
   EBox::Module::Service::_regenConfig('EBox::Samba=HASH(0x554c128)') called at /usr/share/perl5/EBox/Module/Base.pm line 232
   EBox::Module::Base::save('EBox::Samba=HASH(0x554c128)') called at /usr/share/perl5/EBox/GlobalImpl.pm line 654
   EBox::GlobalImpl::saveAllModules('EBox::GlobalImpl=HASH(0x3ffb020)', 'progress', 'EBox::ProgressIndicator=HASH(0x2491698)') called at /usr/share/perl5/EBox/Global.pm line 95
   EBox::Global::AUTOLOAD('EBox::Global=HASH(0x401c830)', 'progress', 'EBox::ProgressIndicator=HASH(0x2491698)') called at /usr/share/zentyal/global-action line 36

« Last Edit: January 30, 2014, 03:11:30 pm by wemersonrv »

wemersonrv

  • Zen Samurai
  • ****
  • Posts: 331
  • Karma: +4/-0
    • View Profile
Re: Falha ao configurar zentyal 3.2 como controlador de dominio adicional
« Reply #1 on: November 22, 2013, 12:43:48 am »
Mais erros... segue log:

Quote
2013/11/21 21:33:53 INFO> GlobalImpl.pm:617 EBox::GlobalImpl::saveAllModules - Saving config and restarting services: firewall samba logs
2013/11/21 21:33:53 INFO> Base.pm:229 EBox::Module::Base::save - Restarting service for module: firewall
2013/11/21 21:33:53 INFO> Base.pm:229 EBox::Module::Base::save - Restarting service for module: samba
2013/11/21 21:33:54 INFO> Provision.pm:818 EBox::Samba::Provision::checkAddress - Resolving dc.hospital.com.br to an IP address
2013/11/21 21:33:54 INFO> Provision.pm:838 EBox::Samba::Provision::checkAddress - The DC dc.hospital.com.br has been resolved to 192.168.110.2
2013/11/21 21:33:54 INFO> Provision.pm:841 EBox::Samba::Provision::checkAddress - Checking reverse DNS resolution of '192.168.110.2'...
2013/11/21 21:33:54 INFO> Provision.pm:862 EBox::Samba::Provision::checkAddress - The IP address 192.168.110.2 has been resolved to dc.hospital.com.br
2013/11/21 21:33:54 INFO> Provision.pm:764 EBox::Samba::Provision::checkServerReachable - Checking if AD server '192.168.110.2' is online...
2013/11/21 21:33:54 INFO> Provision.pm:874 EBox::Samba::Provision::checkFunctionalLevels - Checking forest and domain functional levels...
2013/11/21 21:33:54 INFO> Provision.pm:783 EBox::Samba::Provision::checkLocalRealmAndDomain - Checking local domain and realm...
2013/11/21 21:33:54 INFO> Provision.pm:942 EBox::Samba::Provision::__ANON__ - Checking clock skew with AD server...
2013/11/21 21:33:54 INFO> Provision.pm:963 EBox::Samba::Provision::checkClockSkew - Clock skew below two minutes, should be enought.
2013/11/21 21:33:54 INFO> Provision.pm:683 EBox::Samba::Provision::checkDnsZonesInMainPartition - Checking for old DNS zones stored in main domain partition...
2013/11/21 21:33:54 INFO> Provision.pm:730 EBox::Samba::Provision::checkForestDomains - Checking number of domains inside forest...
2013/11/21 21:33:54 INFO> Provision.pm:902 EBox::Samba::Provision::checkTrustDomainObjects - Checking for domain trust relationships...
2013/11/21 21:33:54 INFO> Provision.pm:1004 EBox::Samba::Provision::checkADServerSite - Checking the site where the specified server is located
2013/11/21 21:33:54 INFO> Provision.pm:1012 EBox::Samba::Provision::checkADServerSite - The specified server has been located at site named Default-First-Site-Name
2013/11/21 21:33:54 INFO> Provision.pm:1029 EBox::Samba::Provision::checkADNebiosName - Checking domain netbios name...
2013/11/21 21:33:54 INFO> Provision.pm:1252 EBox::Samba::Provision::__ANON__ - Joining to domain 'hospital.com.br' as DC
2013/11/21 21:33:54 INFO> Provision.pm:1265 EBox::Samba::Provision::__ANON__ - Trying to get a kerberos ticket for principal 'administrador@HOSPITAL.COM.BR'
2013/11/21 21:33:54 INFO> Provision.pm:1274 EBox::Samba::Provision::__ANON__ - Executing domain join
2013/11/21 21:34:11 INFO> Provision.pm:283 EBox::Samba::Provision::setupDNS - Setting up DNS
2013/11/21 21:34:11 INFO> Base.pm:229 EBox::Module::Base::save - Restarting service for module: dns
2013/11/21 21:34:14 ERROR> Sudo.pm:231 EBox::Sudo::_rootError - root command /etc/init.d/bind9 restart failed.
Error output:
Command output:  * Stopping domain name service... bind9
 waiting for pid 2972 to die
    ...done.
  * Starting domain name service... bind9
    ...fail!
.
Exit value: 1 at /usr/share/perl5/Error.pm line 182
   Error::throw('EBox::Exceptions::Sudo::Command', 'cmd', '/etc/init.d/bind9 restart', 'output', 'ARRAY(0x7ade6c8)', 'error', 'ARRAY(0x24beca8)', 'exitValue', 1, ...) called at /usr/share/perl5/EBox/Sudo.pm line 231
   EBox::Sudo::_rootError('/usr/bin/sudo -p sudo: /var/lib/zentyal/tmp/6GooP5AG1X.cmd 2>...', '/etc/init.d/bind9 restart', 256, 'ARRAY(0x7ade6c8)', 'ARRAY(0x24beca8)') called at /usr/share/perl5/EBox/Sudo.pm line 201
   EBox::Sudo::_root(1, '/etc/init.d/bind9 restart') called at /usr/share/perl5/EBox/Sudo.pm line 152
   EBox::Sudo::root('/etc/init.d/bind9 restart') called at /usr/share/perl5/EBox/Module/Service.pm line 757
   EBox::Module::Service::_startDaemon('EBox::DNS=HASH(0x41d1a10)', 'HASH(0x7adc980)') called at /usr/share/perl5/EBox/Module/Service.pm line 796
   EBox::Module::Service::_manageService('EBox::DNS=HASH(0x41d1a10)', 'start') called at /usr/share/perl5/EBox/Module/Service.pm line 821
   EBox::Module::Service::_startService('EBox::DNS=HASH(0x41d1a10)') called at /usr/share/perl5/EBox/Module/Service.pm line 1017
   EBox::Module::Service::_enforceServiceState('EBox::DNS=HASH(0x41d1a10)') called at /usr/share/perl5/EBox/Module/Service.pm line 968
   EBox::Module::Service::_regenConfig('EBox::DNS=HASH(0x41d1a10)') called at /usr/share/perl5/EBox/Module/Base.pm line 232
   EBox::Module::Base::save('EBox::DNS=HASH(0x41d1a10)') called at /usr/share/perl5/EBox/Samba/Provision.pm line 296
   EBox::Samba::Provision::setupDNS('EBox::Samba::Provision=HASH(0x7557668)') called at /usr/share/perl5/EBox/Samba/Provision.pm line 1296
   EBox::Samba::Provision::provisionADC('EBox::Samba::Provision=HASH(0x7557668)') called at /usr/share/perl5/EBox/Samba/Provision.pm line 340
   EBox::Samba::Provision::provision('EBox::Samba::Provision=HASH(0x7557668)') called at /usr/share/perl5/EBox/Samba.pm line 1051
   EBox::Samba::_setConf('EBox::Samba=HASH(0x4cfa2a0)') called at /usr/share/perl5/EBox/Module/Base.pm line 977
   EBox::Module::Base::_regenConfig('EBox::Samba=HASH(0x4cfa2a0)') called at /usr/share/perl5/EBox/Module/Service.pm line 961
   EBox::Module::Service::_regenConfig('EBox::Samba=HASH(0x4cfa2a0)') called at /usr/share/perl5/EBox/Module/Base.pm line 232
   EBox::Module::Base::save('EBox::Samba=HASH(0x4cfa2a0)') called at /usr/share/perl5/EBox/GlobalImpl.pm line 654
   EBox::GlobalImpl::saveAllModules('EBox::GlobalImpl=HASH(0x3793290)', 'progress', 'EBox::ProgressIndicator=HASH(0x3788d08)') called at /usr/share/perl5/EBox/Global.pm line 95
   EBox::Global::AUTOLOAD('EBox::Global=HASH(0x3792eb8)', 'progress', 'EBox::ProgressIndicator=HASH(0x3788d08)') called at /usr/share/zentyal/global-action line 36
2013/11/21 21:34:14 INFO> Provision.pm:283 EBox::Samba::Provision::setupDNS - Setting up DNS
2013/11/21 21:34:14 INFO> Base.pm:229 EBox::Module::Base::save - Restarting service for module: dns
2013/11/21 21:34:17 ERROR> GlobalImpl.pm:660 EBox::GlobalImpl::__ANON__ - Failed to save changes in module samba: root command /etc/init.d/bind9 restart failed.
Error output:
Command output:  * Stopping domain name service... bind9
 waiting for pid 2972 to die
    ...done.
  * Starting domain name service... bind9
    ...fail!
.
Exit value: 1
2013/11/21 21:34:17 INFO> Base.pm:229 EBox::Module::Base::save - Restarting service for module: logs
2013/11/21 21:34:17 ERROR> GlobalImpl.pm:734 EBox::GlobalImpl::saveAllModules - The following modules failed while saving their changes, their state is unknown: samba  at /usr/share/perl5/EBox/GlobalImpl.pm line 734
   EBox::GlobalImpl::saveAllModules('EBox::GlobalImpl=HASH(0x3793290)', 'progress', 'EBox::ProgressIndicator=HASH(0x3788d08)') called at /usr/share/perl5/EBox/Global.pm line 95
   EBox::Global::AUTOLOAD('EBox::Global=HASH(0x3792eb8)', 'progress', 'EBox::ProgressIndicator=HASH(0x3788d08)') called at /usr/share/zentyal/global-action line 36

willaraujono

  • Zen Monk
  • **
  • Posts: 92
  • Karma: +1/-0
    • View Profile
Re: Falha ao configurar zentyal 3.2 como controlador de dominio adicional
« Reply #2 on: December 03, 2013, 05:46:17 pm »
boa tarde

Chegou a chegar o samba? em alguns posts vi que ele não está traduzindo o português! e o sistema então coloca informações me inglês;

bom não custa checar.

Abraços

wemersonrv

  • Zen Samurai
  • ****
  • Posts: 331
  • Karma: +4/-0
    • View Profile
Re: Falha ao configurar zentyal 3.2 como controlador de dominio adicional
« Reply #3 on: December 03, 2013, 06:02:28 pm »
Tá aí... uma coisa que não tentei foi integrar com o ad do windows 2008 em ingles!!!!

Bom teste!

wemersonrv

  • Zen Samurai
  • ****
  • Posts: 331
  • Karma: +4/-0
    • View Profile
Re: Falha ao configurar zentyal 3.2 como controlador de dominio adicional
« Reply #4 on: January 30, 2014, 03:11:05 pm »
Atualização:

Testei com o Zentyal 3.3.4 recentemente e integrou independente de acentos ou não. Mas percebi que alguns grupos acentuados não foram sincronizados... então sempre melhor ou usar em inglês ou editar os grupos e usuários "built-in" no windows e remover os acentos antes de sincronizar... só pra garantir uma maior compatibilidade.

Isso só vale mesmo para nomes de usuário e grupos... Nomes, sobrenomes, descrição, etc; tanto faz...