Hey everybody,
Maybe someone can help me here. I'm currently in the process of renaming our work server's hostname. Running the same version as posted in my profile, but the NE edition.
The original server was named exactly as our domain, example.com, but the web portal access was always to wm.example.com.
This is causing issues, so I need to change the hostname to wm.example.com as well.
I've been following the wiki page:
ZmSetServerName - Zimbra :: Wiki
I'm currently running a split DNS, I have the old host and new host in the DNS, pointing to our DMZ ip address, I have both A and MX records:
Code:
<<>> DiG 9.4.2-P2.1 <<>> example.com any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40406
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 2
;; QUESTION SECTION:
;example.com. IN ANY
;; ANSWER SECTION:
example.com. 86400 IN SOA server.example.com. hostmaster.example.com. 2 10800 900 604800 86400
example.com. 86400 IN NS split-dns.example.com.
example.com. 86400 IN MX 10 smtpa.example.com.
example.com. 86400 IN A 10.0.0.12
;; ADDITIONAL SECTION:
split-dns.example.com. 86400 IN A 10.0.0.12
smtpa.example.com. 86400 IN A 64.136.xxx.xxx
;; Query time: 1 msec
;; SERVER: 10.0.0.15#53(10.0.0.15)
;; WHEN: Sun May 15 08:44:39 2011
;; MSG SIZE rcvd: 176
Code:
; <<>> DiG 9.4.2-P2.1 <<>> wm.example.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34001
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; QUESTION SECTION:
;wm.example.com. IN A
;; ANSWER SECTION:
wm.example.com. 86400 IN A 10.0.0.12
;; AUTHORITY SECTION:
example.com. 86400 IN NS split-dns.example.com.
;; ADDITIONAL SECTION:
split-dns.example.com. 86400 IN A 10.0.0.12
;; Query time: 0 msec
;; SERVER: 10.0.0.15#53(10.0.0.15)
;; WHEN: Sun May 15 08:31:38 2011
;; MSG SIZE rcvd: 87
Doing a
Code:
host `hostname`
wm.example.com has address 10.0.0.12
My host file shows:
Code:
cat /etc/hosts
127.0.0.1 localhost localhost.localdomain
10.0.0.12 example.com example
10.0.0.12 wm.example.com wm
The renaming went without error, I changed my /etc/hostname to the wm.example.com and rebooted.
When trying to start Zimbra, I get the following errors:
Code:
zmcontrol start
Host wm.example.com
Starting ldap...Done.
Unable to determine enabled services from ldap.
Enabled services read from cache. Service list may be inaccurate.
Starting zmconfigd...Done.
Starting logger...Failed.
Starting logswatch...ERROR: account.NO_SUCH_SERVER (no such server: wm.example.com)
zimbra logger service is not enabled! failed.
Starting convertd...Done.
Starting mailbox...Done.
Starting snmp...Done.
Starting spell...Done.
Starting mta...Done.
Starting stats...Done. Code:
zmcontrol status
Unable to determine enabled services from ldap.
Enabled services read from cache. Service list may be inaccurate.
Host wm.example.com
convertd Running
ldap Running
logger Stopped
zmlogswatchctl is not running
mailbox Stopped
zmmailboxdctl is not running.
mta Stopped
zmmilterctl is not running
snmp Running
spell Running
stats Running
zmconfigd Stopped
zmconfigd is not running. And /opt/zimbra/log/mailbox.log shows
Code:
2011-05-15 08:37:18,311 FATAL [main] [] system - Could not find an LDAP entry for server 'wm.example.com
It would appear that the zmsetservername command is not getting everything.
Any suggestions would be appreciated,
Doug