Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-01-2011, 12:40 AM
New Member
 
Posts: 5
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..
Reply With Quote
  #2 (permalink)  
Old 01-01-2011, 12:59 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
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
Reply With Quote
  #3 (permalink)  
Old 01-01-2011, 01:13 AM
New Member
 
Posts: 5
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
Reply With Quote
  #4 (permalink)  
Old 01-01-2011, 01:20 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
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
Reply With Quote
  #5 (permalink)  
Old 01-01-2011, 01:34 AM
New Member
 
Posts: 5
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???
Reply With Quote
  #6 (permalink)  
Old 01-01-2011, 01:44 AM
New Member
 
Posts: 5
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?
Reply With Quote
  #7 (permalink)  
Old 01-01-2011, 02:58 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.