Author Topic: Master/slave instalation failed.  (Read 1965 times)

zergius

  • Zen Apprentice
  • *
  • Posts: 41
  • Karma: +1/-0
    • View Profile
Master/slave instalation failed.
« on: October 28, 2009, 11:42:01 am »
Now i have installed eBox-master server with ebox-useradngroups only, and eBox-slave server with ebox-mail module.
From installation guard i have done this steps:
On master side i have configured master mode.
On slave side i entered master-ldap password and master IP.
BUT, when i try to enable Users and Groups module i can see just this:
Code: [Select]
A really nasty bug has occurred
Exception
Failed to enable: root command ln -s /etc/apparmor.d/usr.sbin.slapd /etc/apparmor.d/disabled/usr.sbin.slapd failed. Error output: ln: creating symbolic link `/etc/apparmor.d/disabled/usr.sbin.slapd': No such file or directory Command output: . Exit value: 1
Trace
Failed to enable: root command ln -s /etc/apparmor.d/usr.sbin.slapd /etc/apparmor.d/disabled/usr.sbin.slapd failed.
Error output: ln: creating symbolic link `/etc/apparmor.d/disabled/usr.sbin.slapd': No such file or directory

Command output: .
Exit value: 1 at /usr/share/perl5/EBox/CGI/ServiceModule/ConfigureModuleController.pm line 74
EBox::CGI::ServiceModule::ConfigureModuleController::_process('EBox::CGI::ServiceModule::ConfigureModuleController=HASH(0xa5...') called at /usr/share/perl5/EBox/CGI/Base.pm line 261
EBox::CGI::Base::run('EBox::CGI::ServiceModule::ConfigureModuleController=HASH(0xa5...') called at /usr/share/perl5/EBox/CGI/Run.pm line 120
EBox::CGI::Run::run('EBox::CGI::Run', 'ServiceModule/ConfigureModuleController', 'EBox') called at /usr/share/ebox/cgi/ebox.cgi line 19
ModPerl::ROOT::ModPerl::Registry::usr_share_ebox_cgi_ebox_2ecgi::handler('Apache2::RequestRec=SCALAR(0xa592d18)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
eval {...} called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
ModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0xa579840)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0xa579840)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0xa592d18)') called at -e line 0
eval {...} called at -e line 0
As i can understand apparmor packege we have removed from slave while installing it, so why i can get this message?

isaac

  • Zen Warrior
  • ***
  • Posts: 148
  • Karma: +0/-0
    • View Profile
Re: Master/slave instalation failed.
« Reply #1 on: October 28, 2009, 12:02:05 pm »
Sorry about this problem, we have already fixed it and it won't happen in the next release.

For now the easiest thing you can do is remove /etc/init.d/apparmor:
Code: [Select]
sudo rm /etc/init.d/apparmor and your problem should disappear :)

zergius

  • Zen Apprentice
  • *
  • Posts: 41
  • Karma: +1/-0
    • View Profile
Re: Master/slave instalation failed.
« Reply #2 on: October 28, 2009, 02:49:31 pm »
Hm... Maybe your way is better, but i just add /etc/apparmor.d/disabled/ folder, and everything begin to work. When Users & Groups module bring up in this folder i find link to /etc/apparmor.d/usr.sbin.slapd.

And about release, when we will can see it? Now i try to integrate 1.3 BETA in my network, and this word "BETA" is not the best =))
« Last Edit: October 28, 2009, 02:55:04 pm by zergius »

javivazquez

  • Guest
Re: Master/slave instalation failed.
« Reply #3 on: October 28, 2009, 06:07:56 pm »
And about release, when we will can see it? Now i try to integrate 1.3 BETA in my network, and this word "BETA" is not the best =))

The current development version 1.3.x will become stable during next January 2010, when eBox Platform 1.4 sees the light:
http://trac.ebox-platform.com/roadmap

philmills

  • Zen Warrior
  • ***
  • Posts: 161
  • Karma: +8/-0
    • View Profile
Re: Master/slave instalation failed.
« Reply #4 on: January 05, 2010, 04:05:18 pm »
disabling apparmor seems to make no difference for me...
any other ideas anyone?

the only difference i see between my error message and the one posted by zergius is the start:
Code: [Select]
Exception
Failed to enable: Replication failed
« Last Edit: January 05, 2010, 04:15:24 pm by philmills »