Hello

I installed ZCS NE 6.0.15 on a Ubuntu 10.04 LTS system (6.0.15, because our environment is still that old…). This particular system is supposed to be LDAP replication system ("slave"); hostname zcs-xx6.

Please check this out for a script log of running install.sh: install.log.zcs-xx6.txt

After having installed it, I found two issues, making it impossible to start LDAP:

1)

Code:
(zcs-xx6 <local>) 0 % sudo /opt/zimbra/bin/ldap 
ldap_url and ldap_master_url cannot be the same on an ldap replica 

zimbra@zcs-xx6:~$ zmlocalconfig ldap_url ldap_master_url 
ldap_url = ldap://zcs-ds1.COMPANY.ch:389 
ldap_master_url = ldap://zcs-ds1.COMPANY.ch:389
Why is that? Why are ldap_url and ldap_master_url set to the SAME value? zcs-ds1 is our current LDAP master. On another slave called zcs-ds2 that we have (with RHEL5 64bit), it's not like that (but it's an ancient system and I don't know if we manually fixed that since way back then).

2)

Even after having changed that, I found that sudo /opt/zimbra/bin/ldap start would not actually start LDAP. This actually does that:

Code:
(zcs-xx6 <config>) 0 % sudo /opt/zimbra/libexec/zmslapd -l LOCAL0 -4 -u zimbra -h 'ldap://zcs-xx6.COMPANY.ch:389 ldapi:///' -F /opt/zimbra/data/ldap/config -d 1
[…]
daemon: listen(ldap://zcs-xx6.COMPANY.ch:389, 5) failed errno=98 (Address already in use)
slapd shutdown: initiated
====> bdb_cache_release_all
slapd destroy: freeing system resources.
slapd stopped.
Comparing that to how it starts on our current zcs-ds2 slave, I find that it actually invokes this:

Code:
sudo /opt/zimbra/libexec/zmslapd -l LOCAL0 -4 -u zimbra -h 'ldap:/// ldapi:///' -F /opt/zimbra/data/ldap/config
Difference: … -h 'ldap:/// ldapi… vs. … -h 'ldap://zcs-xx6.COMPANY.ch:389 ldapi….

That is so, because of this:

Code:
zimbra@zcs-xx6:~$ zmlocalconfig ldap_bind_url
ldap_bind_url =
vs.

Code:
[zimbra@zcs-ds2 ~]$ zmlocalconfig ldap_bind_url
ldap_bind_url = ldap:///
After having manually set ldap_bind_url on the new server, I can start LDAP just fine.

Now I wonder - why is it, that I had to do those changes? Is that really supposed to happen like that? Or did I do something wrong during the installation?

Thanks a lot,
Alexander