headache: updating zimbra ldap authentication servers

To change or add an additional ldap server to your zimbra configuration follow the commands below:

[email protected]:~$ sudo -s
[sudo] password for server:

[email protected]:~# su – zimbra

[email protected]:~$ zmprov getDomain itheadaches.com | grep LdapURL

zimbraAuthLdapURL: ldap://192.168.90.204:389
zimbraGalLdapURL: ldap://192.168.90.204:389

[email protected]:~$ zmprov modifyDomain itheadaches.com zimbraAuthLdapURL “ldap://192.168.90.204:389 ldap://192.168.90.205:389 ldap://192.168.96.204:389”
[email protected]:~$ zmprov getDomain itheadaches.com | grep LdapURL

zimbraAuthLdapURL: ldap://192.168.90.204:389 ldap://192.168.90.205:389 192.168.96.204:389
zimbraGalLdapURL: ldap://192.168.90.204:389

[email protected]:~$ zmprov modifyDomain vpls.net zimbraGalLdapURL “ldap://192.168.90.204:389 ldap://192.168.90.205:389 ldap://192.168.96.204:389”

headache – zimbra status page not updated properly

Screen Shot 2013-02-13 at 11.58.04 PM

http://www.zimbra.com/forums/installation/34003-admin-console-server-status-page-show-stopped-services-6.html

I followed the post above. I was running ubuntu on the logger service instead so I checked /etc/rsyslog.d/60-zimbra.conf
link above uses centos.

before:

local0.* @mbox-04
local1.* @mbox-04
auth.* @mbox-04
local0.* -/var/log/zimbra.log
local1.* -/var/log/zimbra-stats.log
auth.* -/var/log/zimbra.log
mail.* @mbox-04
mail.* -/var/log/zimbra.log

after:

local0.* @mbox-01
local1.* @mbox-01
auth.* @mbox-01
local0.* -/var/log/zimbra.log
local1.* -/var/log/zimbra-stats.log
auth.* -/var/log/zimbra.log
mail.* @mbox-01
mail.* -/var/log/zimbra.log

then ‘service rsyslog restart’

not sure what this command means ‘zmprov gs `zmhostname` zimbraLogHostname’, but it seems it should be set the same as the server even though the logger is on a different server

I have a multi-server setup so I checked other servers’ syslog settings and found it was pointing to the wrong server. Here I didn’t comment out the @ lines because this server isn’t running the logger server.

before:

local0.* @mbox-04
local1.* @mbox-04
auth.* @mbox-04
local0.* -/var/log/zimbra.log
local1.* -/var/log/zimbra-stats.log
auth.* -/var/log/zimbra.log
mail.* @mbox-04
mail.* -/var/log/zimbra.log

after:

local0.* @mbox-01
local1.* @mbox-01
auth.* @mbox-01
local0.* -/var/log/zimbra.log
local1.* -/var/log/zimbra-stats.log
auth.* -/var/log/zimbra.log
mail.* @mbox-01
mail.* -/var/log/zimbra.log