Results 1 to 2 of 2

Thread: having problem in renaming domain

  1. #1
    tiger2000 is offline Elite Member
    Join Date
    May 2008
    Location
    Taiwan
    Posts
    296
    Rep Power
    7

    Default having problem in renaming domain

    Dear All,

    After reading NE Admin guide, and check another great article
    for renaming domain in this forum :
    http://www.zimbra.com/forums/migrati...html#post83451

    I still have problem to do so..

    My steps are as follows :

    I made these OS change to new domain name :
    /etc/hosts
    /etc/sysconfig/network
    DNS record

    If I don't reboot the server and do a "zmprov -l rd" command,
    I would get these error :

    [zimbra@zcs91 ~]$ zmprov -l rd example.com test.com
    java.net.UnknownHostException: zcs91.example.com: zcs91.example.com
    at java.net.InetAddress.getLocalHost(InetAddress.java :1353)
    at com.zimbra.common.localconfig.LC.<clinit>(LC.java: 350)
    at com.zimbra.common.localconfig.KnownKey.<clinit>(Kn ownKey.java:32)
    at com.zimbra.common.localconfig.LocalConfig.expandAl l(LocalConfig.java:327)
    at com.zimbra.common.localconfig.LocalConfig.<init>(L ocalConfig.java:177)
    at com.zimbra.common.localconfig.LocalConfig.readConf ig(LocalConfig.java:343)
    at com.zimbra.common.localconfig.LocalConfig.<clinit> (LocalConfig.java:348)
    at com.zimbra.common.localconfig.Main.main(Main.java: 108)
    java.net.UnknownHostException: zcs91.example.com: zcs91.example.com
    at java.net.InetAddress.getLocalHost(InetAddress.java :1353)
    at com.zimbra.common.localconfig.LC.<clinit>(LC.java: 350)
    at com.zimbra.common.util.CliUtil.toolSetup(CliUtil.j ava:33)
    at com.zimbra.common.util.CliUtil.toolSetup(CliUtil.j ava:28)
    at com.zimbra.common.util.CliUtil.toolSetup(CliUtil.j ava:24)
    at com.zimbra.cs.account.ProvUtil.main(ProvUtil.java: 1898)
    ERROR: service.FAILURE (system failure: getDirectContext) (cause: javax.naming.CommunicationException zcs91.example.com:389)

    -------

    If I reboot the system, as expected, the zimbra server is down,
    and no more zmprov command to Zimbra server anymore..

    If there's anything I miss here??
    any comment will be highly appreciated, Thanks.
    Rgds,
    Kevin

  2. #2
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    You're mixing servername & domain name changes.

    Do you need to change the hostname as well, or just the @domain.tld part of your email addresses for one domain?

    -Undo what you've done
    -Make sure zimbra & mail delivery are working
    -Make a backup
    -Change the hostname via: ZmSetServerName - Zimbra :: Wiki
    -Point your currentDomain.com mx record to newHostname.server.com
    -Test
    -zmprov -l renameDomain currentDomain.com newDomain.com
    -newDomain.com's mx record should point to newHostname.server.com
    -Test

    OR

    -Undo what you've done
    -Make sure zimbra is working
    -zmprov -l renameDomain currentDomain.com newDomain.com
    -Test mail delivery (so your mx records for newDomain.com will point at currentHostname.server.com)
    -Make a backup
    -Change the hostname via: ZmSetServerName - Zimbra :: Wiki
    -Change newDomain.com's mx record to point at newHostname.server.com
    -Test

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 7
    Last Post: 04-27-2009, 02:49 AM
  2. Replies: 20
    Last Post: 03-18-2008, 05:37 AM
  3. Domain Problem Help
    By benanthony in forum Administrators
    Replies: 1
    Last Post: 12-29-2007, 06:24 PM
  4. Multiple domain problem
    By violentpurr in forum Administrators
    Replies: 0
    Last Post: 12-13-2007, 12:31 AM
  5. Domain Alias / User Alias problem after upgrading.
    By Bingo in forum Administrators
    Replies: 1
    Last Post: 04-20-2007, 03:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •