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:
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).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
Even after having changed that, I found that sudo /opt/zimbra/bin/ldap start would not actually start LDAP. This actually does that:
Comparing that to how it starts on our current zcs-ds2 slave, I find that it actually invokes this: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.
Difference: … -h 'ldap:/// ldapi… vs. … -h 'ldap://zcs-xx6.COMPANY.ch:389 ldapi….Code:sudo /opt/zimbra/libexec/zmslapd -l LOCAL0 -4 -u zimbra -h 'ldap:/// ldapi:///' -F /opt/zimbra/data/ldap/config
That is so, because of this:
vs.Code:zimbra@zcs-xx6:~$ zmlocalconfig ldap_bind_url ldap_bind_url =
After having manually set ldap_bind_url on the new server, I can start LDAP just fine.Code:[zimbra@zcs-ds2 ~]$ zmlocalconfig ldap_bind_url ldap_bind_url = ldap:///
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,