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 02-24-2011, 11:19 PM
Junior Member
 
Posts: 5
Default host issues

well, where do I begin...

The short question is:
-why does zmhostname print out this hostname?
Code:
-n
Facts (for the most part):
-I had a working mail server that I needed to change to another domain.
-Static IP directly connected to Internet. No LAN.
-old domain was tospanama.com
-new domain oxfordpanama.info but want to use mail.oxfordpanama.com (also own oxfordpanama.com, but it is another machine)
-email server was working ok with mail.oxfordpanama.com after I made some changes in zimbra (don't ask me what), but there were a number of emails that being deferred with connection time out (to yahoo, gmail and hotmail) and mail transport unavailable messages
-there were still remnants of tospanama.com in zimbra and the file system and I thought that could be a cause so I started changing stuff

here's the output of what I currently have:
Code:
 dig mail.oxfordpanama.com mx

; <<>> DiG 9.4.2 <<>> mail.oxfordpanama.com mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51626
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;mail.oxfordpanama.com.         IN      MX

;; AUTHORITY SECTION:
oxfordpanama.com.       10800   IN      SOA     dns11.register.com. root.register.com. 200310320 10800 3600 604800 86400

;; Query time: 105 msec
;; SERVER: 201.225.225.225#53(201.225.225.225)
;; WHEN: Fri Feb 25 01:53:51 2011
;; MSG SIZE  rcvd: 95
Code:
 dig mail.oxfordpanama.com any

; <<>> DiG 9.4.2 <<>> mail.oxfordpanama.com any
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41412
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0

;; QUESTION SECTION:
;mail.oxfordpanama.com.         IN      ANY

;; ANSWER SECTION:
mail.oxfordpanama.com.  58440   IN      A       201.226.249.201

;; AUTHORITY SECTION:
oxfordpanama.com.       43704   IN      NS      dns12.register.com.
oxfordpanama.com.       43704   IN      NS      dns11.register.com.

;; Query time: 5 msec
;; SERVER: 201.225.225.225#53(201.225.225.225)
;; WHEN: Fri Feb 25 02:13:17 2011
;; MSG SIZE  rcvd: 104
Code:
host $(hostname)
mail.oxfordpanama.com has address 201.226.249.201
Code:
cat /etc/resolv.conf
### BEGIN INFO
#
# Modified_by:  NetworkManager
# Process:      /usr/bin/NetworkManager
# Process_id:   5128
#
### END INFO





#domain mail.oxfordpanama.com
search oxfordpanama.com
nameserver 201.225.225.225
nameserver 201.224.73.162
nameserver 8.8.8.8
#nameserver 8.8.4.4

Code:
127.0.0.1 localhost.localdomain localhost
201.226.249.201 mail.oxfordpanama.com   mail








# The following lines are desirable for IPv6 capable hosts
#::1 ip6-localhost ip6-loopback
#fe00::0 ip6-localnet
#ff00::0 ip6-mcastprefix
#ff02::1 ip6-allnodes
#ff02::2 ip6-allrouters
#ff02::3 ip6-allhosts
Code:
 hostname
mail.oxfordpanama.com
And finally the dreadful error that led me to this post.
Code:
zmcontrol start
Host -n
        Starting ldap...Done.
FAILED
Failed to start slapd.  Attempting debug start to determine error.
daemon: getaddrinfo() failed: No address associated with hostname
Any ideas so that I won't have a mob at my desk all day...

TIA!

Last edited by eMarv; 02-24-2011 at 11:29 PM.. Reason: forgot to add hostname output
Reply With Quote
  #2 (permalink)  
Old 02-24-2011, 11:30 PM
Zimbra Consultant & Moderator
 
Posts: 20,314
Default

According to the output you've posted there is no NX record for the server. How did you change the server name within Zimbra or did you just change the hostname in the hosts file?

BTW, your dig commands should be like this:

Code:
dig oxfordpanama.com mx
dig oxfordpanama.com any
You use the domain name not the FQDN of your server.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 02-25-2011, 04:43 AM
Junior Member
 
Posts: 5
Default how i changed the hostname in zimbra

Thanks for the reply!

I changed the hostname in zimbra as described here: ZmSetServerName - Zimbra :: Wiki

Code:
/opt/zimbra/libexec/zmsetservername -n mail.oxfordpanama.com
but unfortunately, I found this article after I had changed the hostname in the hosts file.

Code:
 dig oxfordpanama.com mx

; <<>> DiG 9.4.2 <<>> oxfordpanama.com mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52086
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0

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

;; ANSWER SECTION:
oxfordpanama.com.       10714   IN      MX      0 oxfordpanama.info.

;; AUTHORITY SECTION:
oxfordpanama.com.       24256   IN      NS      dns12.register.com.
oxfordpanama.com.       24256   IN      NS      dns11.register.com.

;; Query time: 11 msec
;; SERVER: 201.225.225.225#53(201.225.225.225)
;; WHEN: Fri Feb 25 07:37:26 2011
;; MSG SIZE  rcvd: 116

Code:
dig oxfordpanama.com any

; <<>> DiG 9.4.2 <<>> oxfordpanama.com any
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45513
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 2, ADDITIONAL: 0

;; QUESTION SECTION:
;oxfordpanama.com.              IN      ANY

;; ANSWER SECTION:
oxfordpanama.com.       10663   IN      MX      0 oxfordpanama.info.
oxfordpanama.com.       10663   IN      A       201.226.249.194
oxfordpanama.com.       24205   IN      NS      dns11.register.com.
oxfordpanama.com.       24205   IN      NS      dns12.register.com.

;; AUTHORITY SECTION:
oxfordpanama.com.       24205   IN      NS      dns12.register.com.
oxfordpanama.com.       24205   IN      NS      dns11.register.com.

;; Query time: 13 msec
;; SERVER: 201.225.225.225#53(201.225.225.225)
;; WHEN: Fri Feb 25 07:38:16 2011
;; MSG SIZE  rcvd: 160
what can I do?
Reply With Quote
  #4 (permalink)  
Old 02-26-2011, 04:11 AM
Junior Member
 
Posts: 5
Default Can't start zimbra because of host issues

Please help. Thanks!
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.