Results 1 to 7 of 7

Thread: Change hostname and IP Address!

  1. #1
    Join Date
    Jan 2007
    Posts
    49
    Rep Power
    8

    Default Change hostname and IP Address!

    Hi all,
    I had looked for forum about changing the hostname of Zimbra server. Now, i need to change hostname and IP address. However, i have the following problem: My Zimbra server is storing configuration of two hostname (one hostname for ifself (zimbra.abc.com) and one hostname for external Zimbra MTA (mta.abc.com)). So if i change hostname and ip address of Zimbra server by using "zmsetservername", does it has effect to the hostname of external Zimbra MTA.

    Thanks for ragards.

  2. #2
    Join Date
    Mar 2006
    Location
    Beaucaire, France
    Posts
    2,322
    Rep Power
    13

    Default

    Changing the IP should not be a problem.
    Changing the hostname can be a problem (it's in the wiki : "don't do it")...

    You have a dual server setup ?

  3. #3
    Join Date
    Jan 2007
    Posts
    49
    Rep Power
    8

    Default Change IP!

    Thanks for ragards,
    I also think as you (changing the IP address with no problem). However, when i change IP address of my zimbra server, i receive the following errors:

    09:24:56 zimbra11 slapd[2164]: <= bdb_equality_candidates: (zimbraMailStatus) index_param failed (18)
    May 5 10:04:53 zimbra11 slapd[2164]: <= bdb_equality_candidates: (zimbraDomainType) index_param failed (18)

    and on the Zimbra MTA, i receive the following errors:

    May 5 10:06:04 mta postfix/trivial-rewrite[17119]: fatal: ldap:/opt/zimbra/conf/ldap-vad.cf(0,100): table lookup problem
    May 5 10:06:05 mta postfix/smtpd[7690]: warning: premature end-of-input on private/rewrite socket while reading input attribute name
    May 5 10:06:05 mta postfix/smtpd[7690]: warning: problem talking to service rewrite: Success
    May 5 10:06:05 mta postfix/smtpd[7996]: warning: premature end-of-input on private/rewrite socket while reading input attribute name
    May 5 10:06:05 mta postfix/smtpd[7996]: warning: problem talking to service rewrite: Connection reset by peer
    May 5 10:06:05 mta postfix/master[3441]: warning: process /opt/zimbra/postfix-2.2.9/libexec/trivial-rewrite pid 17119 exit status 1
    May 5 10:06:05 mta postfix/master[3441]: warning: /opt/zimbra/postfix-2.2.9/libexec/trivial-rewrite: bad command startup -- throttling

    I have two zimbra server (in multisetup installation): one zimbra mailbox server and one zimbra mta server.

    Please help me
    Thanks,

  4. #4
    Join Date
    Jul 2007
    Posts
    98
    Rep Power
    8

    Default

    Hello celeron,
    Have you resolved the problem? I'm facing the same problem.
    Thanks.

  5. #5
    Join Date
    Jan 2007
    Posts
    49
    Rep Power
    8

    Default

    Hi fajarpri,
    To change IP address of Zimbra successfully, you need change IP in /etc/host as your new IP. Example, you want to change IP from 10.0.0.2 to 10.0.0.10 you need do the following steps:
    - Stop Zimbra
    - Change IP address of your network card to 10.0.0.10
    - Change file /etc/hosts
    10.0.0.10 zimbra.abc.com zimbra
    - Start Zimbra.

    I shouldn't change hostname of Zimbra. If you change hostname, it appears many errors. I have tried to change but not successful. If you have any solutions, please show me.

    Thanks,

  6. #6
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Quote Originally Posted by celeron View Post
    I shouldn't change hostname of Zimbra. If you change hostname, it appears many errors. I have tried to change but not successful. If you have any solutions, please show me.
    It works fine as per the instructions in the wiki - you need to make sure that you have your DNS records set correctly before trying it and take a backup beforehand. It's worked fine for me.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    Join Date
    Jan 2007
    Posts
    49
    Rep Power
    8

    Default Changing the zimbra server's hostname

    Many thanks Phoenix

Similar Threads

  1. I got Ubuntu and Zimbra working
    By pacsteel in forum Installation
    Replies: 73
    Last Post: 06-23-2008, 11:41 AM
  2. Change hostname
    By bramm in forum Administrators
    Replies: 1
    Last Post: 07-31-2007, 11:30 PM
  3. Installation Hostname and IP Address
    By plan9 in forum Installation
    Replies: 8
    Last Post: 04-21-2006, 08:25 AM
  4. Replies: 1
    Last Post: 04-13-2006, 04:47 PM
  5. changing hostname and ip address of zimbra server
    By illscientific in forum Administrators
    Replies: 1
    Last Post: 11-22-2005, 07:08 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
  •