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 - isaac

Pages: 1 2 [3] 4 5 ... 10
31
Installation and Upgrades / Re: ldap master/slave failure
« on: February 09, 2010, 02:08:41 pm »
It's already written in the new documentation but that's not uploaded yet. I'll update the howto to reflect this limitation.

32
Installation and Upgrades / Re: ldap master/slave failure
« on: February 09, 2010, 02:01:03 pm »
I fear you installed samba or mail or asterisk in the master. Right now, with the current master/slave architecture, you are not supposed to install any of these modules in the master.

The master can have modules not depending on users and groups, such as firewall, dns or dhcp, but not modules that require users and groups such as samba, mail or jabber ...

We have plans to remove this limitation, but not in the immediate future.

Cheers!

33
Installation and Upgrades / Re: Master/slave problems again
« on: February 09, 2010, 01:55:55 pm »
Great :)

34
Installation and Upgrades / Re: Master/slave problems again
« on: February 09, 2010, 11:14:39 am »
Are the pending operations still in the master (users and groups -> slave status)?

35
Installation and Upgrades / Re: Master/slave problems again
« on: February 09, 2010, 10:55:21 am »
Yeah, the master has to be able to resolve the slaves' names, either a DNS or the master's /etc/hosts file are good options.

There seems to be some problems still with actually running the scripts. Does anything show up in the slaves logs?

36
Installation and Upgrades / Re: Master/slave problems again
« on: February 09, 2010, 10:00:32 am »
Ok, then run:
Code: [Select]
sudo tail -f /var/log/ebox/ebox.log
in both the master and the slave and then in another terminal in the master run:
Code: [Select]
sudo /usr/share/ebox-usersandgroups/slave-sync
.

And paste here the output produced in the log files.

37
Installation and Upgrades / Re: Services starting in wrong order
« on: February 09, 2010, 09:30:36 am »
Thanks for this report, we'll look into it.

38
As we talked on IRC, there is something that went really wrong with your setup. You have installed, reinstalled, unconfigured, reconfigured too many times to be certain of what's the actual problem and how to fix it.

My suggestion would be to just reinstall (master and slaves) and everything should work ok. Make a backup copy from the interface. Install the new boxes and restore the backups of the rest of the modules except 'users and groups' and 'samba' (to do that, just enable those modules, but not users and groups or samba), and then enable these.

Cheers!

39
Installation and Upgrades / Re: Master/slave problems again
« on: February 09, 2010, 09:13:44 am »
Ok, then it's just that the master can't contact the slave to notify these changes. First of all, try if you can access the slave from the master with telnet. In the master run:
Code: [Select]
telnet 192.168.122.204 443
with the appropriate IP address of your slave?

The output should be something like:
Code: [Select]
Trying 192.168.122.204...
Connected to 192.168.122.204.
Escape character is '^]'.
if you can connect properly.

If you can't connect probably you need to change something in the firewall setup so the master can connect to the slave in port 443.

40
Installation and Upgrades / Re: Master/slave problems again
« on: February 08, 2010, 06:17:58 pm »
Ok, as I said, the master uses SOAP to call a method in the slave so it runs some actions, apparently they haven't been run. Can you check in the master in Users and Groups => Slave status if you have some pending actions?

Cheers!

41
Installation and Upgrades / Re: Bug after update 1.2 to 1.4
« on: February 08, 2010, 06:11:41 pm »
The package is already uploaded. Run:
Code: [Select]
sudo apt-get update
sudo apt-get install ebox-usersandgroups
to upgrade.

If it says it's already up-to-date try again in five minutes, it might take some time to get published :)

Then report the result :P

42
Installation and Upgrades / Re: Master/slave problems again
« on: February 08, 2010, 05:58:30 pm »
Ok, as you can see from there your DN is:
Code: [Select]
dc=ldap,dc=kodi,dc=local
not just dc=kodi,dc=local.

Try again all the commands I wrote before using the proper DN ('dc=ldap,dc=kodi,dc=local') that is, adding 'dc=ldap' there.

43
Installation and Upgrades / Re: Bug after update 1.2 to 1.4
« on: February 08, 2010, 05:42:14 pm »
Oops, right, I was trying to fix an issue and I made a mistake when updating the migration :(

We are going to release a new version of the package and I'll let you know as soon as it's ready so you can upgrade to that new package and see if that works.

Thank you very much for the report :)

44
Installation and Upgrades / Re: Bug after update 1.2 to 1.4
« on: February 08, 2010, 05:29:25 pm »
Ok, something went wrong running:
Code: [Select]
sudo perl /usr/share/ebox-usersandgroups/migration/0005_migrate_new_ldap.pl

Can you run:
Code: [Select]
sudo tail -f /var/log/ebox/ebox.log
hit enter a few times to put some white space there, and then, in another terminal run again:
Code: [Select]
sudo perl /usr/share/ebox-usersandgroups/migration/0005_migrate_new_ldap.pl
and see if the tail -f command outputs something and then paste it here?

Thanks!

45
Installation and Upgrades / Re: ldap master/slave failure
« on: February 08, 2010, 05:25:23 pm »
The port is used to make SOAP calls via apache, don't worry about that.

Can you do the following? In the slave, edit /etc/event.d/ebox.slapd-replica and make it look like this:
Code: [Select]
exec /usr/sbin/slapd -d 16640 -h ldap://127.0.0.1:1389/ -u openldap -g openldap -F /etc/ldap/slapd-replica.d 2> /tmp/replica.log

then run:
Code: [Select]
sudo stop ebox.slapd-replica
sudo start ebox.slapd-replica
and then paste the contents of the file /tmp/replica.log.

Thanks

Pages: 1 2 [3] 4 5 ... 10