Results 1 to 7 of 7

Thread: Error in changing domain name

  1. #1
    Join Date
    Jan 2011
    Location
    Egypt
    Posts
    5
    Rep Power
    4

    Default Error in changing domain name

    hii all,
    i am trying to change domain using

    [zimbra@mail root]$ zmprov -l rd olddomain.com newdomain.com
    ERROR: account.NO_SUCH_DOMAIN (no such domain: olddomain.com)

    [zimbra@mail root]$ zmcontrol start
    Host mail.newdomain.com
    Unable to determine enabled services from ldap.
    Unable to determine enabled services. Cache is out of date or doesn't exist.

    thats because i rename the host name before i change domain name

    this is my /etc/hosts file

    [root@mail ~]# cat /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    127.0.0.1 localhost.localdomain localhost
    10.1.1.150 mail.newdomain.com mail

    i created split dns and its running

    and the
    #dig newdomain.com mx
    [root@mail ~]# dig test.alex.edu.eg mx

    ; <<>> DiG 9.7.2-P3 <<>> test.alex.edu.eg mx
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1016
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3

    ;; QUESTION SECTION:
    ;newdomain.com. IN MX

    ;; ANSWER SECTION:
    newdomain.com. 43200 IN MX 0 mail.newdomain.com.

    ;; AUTHORITY SECTION:
    newdomain.com. 43200 IN NS ns2.newdomain.com

    ;; ADDITIONAL SECTION:
    mail.newdomain.com. 43200 IN A (Real Ip )

    ;; Query time: 20 msec
    ;; SERVER: 10.1.1.150#53(10.1.1.150)
    ;; WHEN: Sat Jan 1 10:39:27 2011
    ;; MSG SIZE rcvd: 148
    Any Help????
    Last edited by Emad333; 01-01-2011 at 12:47 AM.

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

    Default

    Quote Originally Posted by Emad333 View Post
    [zimbra@mail root]$ zmprov -l rd olddomain.com newdomain.com
    ERROR: account.NO_SUCH_DOMAIN (no such domain: olddomain.com
    The error means exactly what it says, it can't find the 'olddomain.com'.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Join Date
    Jan 2011
    Location
    Egypt
    Posts
    5
    Rep Power
    4

    Default

    is that mean the domain already changes and if it changes why i cant start zimbra and if it dont changes how i can do it

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

    Default

    Quote Originally Posted by Emad333 View Post
    is that mean the domain already changes
    No, it shouldn't have changed because the error says it can't find the 'olddomain' and therefore the command wouldn't have made any changes.

    Quote Originally Posted by Emad333 View Post
    ..and if it changes why i cant start zimbra and if it dont changes how i can do it
    You need to look in the log files for details of why it can't start.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    Join Date
    Jan 2011
    Location
    Egypt
    Posts
    5
    Rep Power
    4

    Default

    i have a look in the log files and its appear that
    =zimbra@localhost
    Jan 1 11:36:02 mail sendmail[8948]: p019a2b7008948: to=zimbra, ctladdr=zimbra ( 501/501), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30332, relay=[127.0 .0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
    Jan 1 11:36:04 mail zimbramon[11164]: 11164:info: zmmtaconfig: Skipping Configu ration for server mail.test2.alex.edu.eg update.
    Jan 1 11:36:04 mail zimbramon[11164]: 11164:info: zmmtaconfig: gs:mail.test2.al ex.edu.eg ERROR: account.NO_SUCH_SERVER (no such server: mail.test2.alex.edu.eg)
    Jan 1 11:36:04 mail zimbramon[11164]: 11164:info: zmmtaconfig: Sleeping...Key l ookup failed.

    any idea how to fix that???

  6. #6
    Join Date
    Jan 2011
    Location
    Egypt
    Posts
    5
    Rep Power
    4

    Default

    i have this error
    Jan 1 11:49:49 mail zimbramon[11164]: 11164:info: zmmtaconfig: gs:mail.newdomain.com ERROR: account.NO_SUCH_SERVER (no such server: mail.newdomain.com)

    any ideas how to fix this?

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

    Default

    Quote Originally Posted by Emad333 View Post
    i have this error
    Jan 1 11:49:49 mail zimbramon[11164]: 11164:info: zmmtaconfig: gs:mail.newdomain.com ERROR: account.NO_SUCH_SERVER (no such server: mail.newdomain.com)

    any ideas how to fix this?
    The error is indicating that the server 'mail.newdomain.com' doesn't exist, and it shouldn't exist as you haven't renamed the domain to 'newdomain.com' yet. My question would be, what changes have you made to the server to cause this problem? Have you modified the hosts file and/or the DNS records? If you have then revert the changes.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

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. Changing Domain!
    By zibra in forum Administrators
    Replies: 1
    Last Post: 06-01-2007, 05:15 AM
  4. Changing the Default Domain
    By dmg in forum Installation
    Replies: 2
    Last Post: 03-06-2007, 09:49 AM
  5. MTA is Dying after yum update
    By tonyawbrey in forum Administrators
    Replies: 27
    Last Post: 04-02-2006, 06:11 PM

Posting Permissions

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