Author Topic: [SOLVED] Mail module fails to configure on Slave  (Read 1891 times)

bajo

  • Zen Apprentice
  • *
  • Posts: 22
  • Karma: +1/-0
    • View Profile
[SOLVED] Mail module fails to configure on Slave
« on: September 23, 2012, 09:59:49 am »
Hi,

i created one Zentyal master and one slave.
On the master there is only the Users + Groups module active. Here i created a few test accounts.
On the slave i set up the synchronization to the master, which gave me no errors after a few tries.
When I now try to install and activate the Mail module it will fail with this error in the /var/log/zentyal/zentyal.log

Code: [Select]
2012/09/23 09:38:21 INFO> UsersAndGroups.pm:411 EBox::UsersAndGroups::_loadLDAP - Creating LDAP database...
2012/09/23 09:38:24 INFO> UsersAndGroups.pm:369 EBox::UsersAndGroups::enableActions - Performing first LDAP actions
2012/09/23 09:38:25 INFO> UsersAndGroups.pm:237 EBox::UsersAndGroups::setupKerberos - Initializing kerberos realm 'FET.HTU.TUWIEN.AC.AT'
2012/09/23 09:38:29 INFO> UsersAndGroups.pm:257 EBox::UsersAndGroups::setupDNS - Setting up DNS
2012/09/23 09:38:34 INFO> Base.pm:229 EBox::Module::Base::save - Restarting service for module: dns
2012/09/23 09:38:36 INFO> Base.pm:229 EBox::Module::Base::save - Restarting service for module: mail
2012/09/23 09:38:38 ERROR> Ldap.pm:699 EBox::Ldap::_errorOnLdap - $VAR1 = {
          'base' => 'ou=vdomains,ou=postfix,dc=fet,dc=htu,dc=tuwien,dc=ac,dc=at',
          'attrs' => [
                       'domainComponent'
                     ],
          'filter' => 'objectclass=*',
          'scope' => 'one'
        };
2012/09/23 09:38:38 ERROR> Ldap.pm:701 EBox::Ldap::_errorOnLdap - Unknown error at EBox::MailVDomainsLdap::vdomains No such object
2012/09/23 09:38:38 ERROR> GlobalImpl.pm:646 EBox::GlobalImpl::__ANON__ - Failed to save changes in module mail: Unknown error at EBox::Mai
lVDomainsLdap::vdomains No such object

So the object EBox::MailVDomainsLdap::vdomains is not there. Ok, but who if not the mail module should create this entry?
Also why are no users created on the master shown on my slave. I even tried to force start the sync process with the /usr/share/zentyal-users/slave-sync command , but i see no progress, no errors and no users on my slave.

Please can anybody comment on this or give me a hint how to find the problem.
Thank you.

« Last Edit: September 26, 2012, 07:47:12 am by bajo »

christian

  • Guest
Re: Mail module fails to configure on Slave
« Reply #1 on: September 23, 2012, 10:08:23 am »
May I suggest you specify whenever you're using 2.2 or 3.0 (or something else) as behaviour since 3.0 changed for what concerns limitations due to master:slave architecture.

bajo

  • Zen Apprentice
  • *
  • Posts: 22
  • Karma: +1/-0
    • View Profile
Re: Mail module fails to configure on Slave
« Reply #2 on: September 23, 2012, 03:26:45 pm »
Hi,
sorry i forgot to write i am running both server on Zentyal 3.0 with the latest updates installed.


bajo

  • Zen Apprentice
  • *
  • Posts: 22
  • Karma: +1/-0
    • View Profile
Re: Mail module fails to configure on Slave
« Reply #3 on: September 26, 2012, 07:46:59 am »
Reply to myself.

* Updated both machines to 3.0.2, removed the Slave from the master in the Synchronization Settings and removed Mail and GRoupware modules.
* Set the slave to synchronize to No Server at all.
* Save changes on both machines.
* On the slave added the master as server to sync from.
* In a terminal on the master executed the slave-sync command in /usr/shar/zentyal-users/
* Installed Mail and Groupware modules on the slave.

Now it almost works. ;-)
But I have a new problem with zarafa-server not running. I will open a new thread for it.