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

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 11-18-2007, 11:13 PM
Intermediate Member
 
Posts: 18
Default The dreded DNS Error resolving for MX message during install

Hello,

I am having a heck of a time with the dreded DNS Error resolving for MX message during my installation of the latest version of 64 bit Zimbra that I am installing on a minimum install command line only type of CentOS 5 64bit. I have been reading and attempting different things for 6 hours now and this is what I have come up with

My: DIG velocitaonline.com mx is
; <<>> DiG 9.3.3rc2 <<>> velocitaonline.com mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61219
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3

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

;; ANSWER SECTION:
velocitaonline.com. 47619 IN MX 10 mail.velocitaonline.com.

;; AUTHORITY SECTION:
velocitaonline.com. 47619 IN NS ns3.discountdomainregistry.com.
velocitaonline.com. 47619 IN NS ns4.discountdomainregistry.com.

;; ADDITIONAL SECTION:
mail.velocitaonline.com. 47661 IN A 69.217.101.233
ns4.discountdomainregistry.com. 41792 IN A 72.249.19.195
ns3.discountdomainregistry.com. 41792 IN A 72.249.19.194

;; Query time: 35 msec
;; SERVER: 65.43.19.26#53(65.43.19.26)
;; WHEN: Sun Nov 18 19:03:38 2007
;; MSG SIZE rcvd: 164


My: NSLookup Replies are
[root@mail /]# nslookup mail.velocitaonline.com
Server: 65.43.19.26
Address: 65.43.19.26#53

Non-authoritative answer:
Name: mail.velocitaonline.com
Address: 69.217.101.233

my host `hostname` result:
mail.velocitaonline.com has address 69.217.101.233

my etc/hosts file:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.0.52 mail.velocitaonline.com mail

my /etc/resolv.conf file
search velocitaonline.com
nameserver 65.43.19.26
nameserver 67.36.55.26

My Installation Error Log File
Getting installed packages
checking isEnabled zimbra-core
zimbra-core not in enabled cache
enabled packages
Newinstall enabling all installed packages
Enabling zimbra-core
Enabling zimbra-ldap
Enabling zimbra-store
Enabling zimbra-mta
Enabling zimbra-snmp
Enabling zimbra-logger
Enabling zimbra-apache
Enabling zimbra-spell
Setting defaults...
Setting local config zimbra_java_home to /opt/zimbra/java
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_java_home='/opt/zimbra/java'
checking isEnabled zimbra-store
zimbra-store is enabled
checking isEnabled zimbra-ldap
zimbra-ldap is enabled
checking isEnabled zimbra-store
zimbra-store is enabled


DNS ERROR resolving MX for mail.velocitaonline.com
It is suggested that the domain name have an MX record configured in DNS
checking isEnabled zimbra-mta
zimbra-mta is enabled
MX: mail.velocitaonline.com (69.217.101.233)

Interface: 192.168.0.52
Interface: 127.0.0.1


DNS ERROR - none of the MX records for velocitaonline.com
resolve to this host
It is suggested that the MX record resolve to this host
checking isEnabled zimbra-mta
zimbra-mta is enabled
MX: mail.velocitaonline.com (69.217.101.233)

Interface: 192.168.0.52
Interface: 127.0.0.1


DNS ERROR - none of the MX records for velocitaonline.com
resolve to this host
It is suggested that the MX record resolve to this host
Done
checking isEnabled zimbra-ldap
zimbra-ldap is enabled
checking isEnabled zimbra-store
zimbra-store is enabled
checking isEnabled zimbra-mta
zimbra-mta is enabled
checking isEnabled zimbra-mta
zimbra-mta is enabled
checking isEnabled zimbra-spell
zimbra-spell is enabled
Checking for port conflicts
checking isEnabled zimbra-ldap
zimbra-ldap is enabled
checking isEnabled zimbra-store
zimbra-store is enabled
checking isEnabled zimbra-logger
zimbra-logger is enabled
checking isEnabled zimbra-mta
zimbra-mta is enabled
checking isEnabled zimbra-ldap
zimbra-ldap is enabled
checking isEnabled zimbra-store
zimbra-store is enabled
Global config attribute retrieved from ldap: zimbraSpamIsSpamAccount=
Global config attribute retrieved from ldap: zimbraSpamIsNotSpamAccount=
Global config attribute retrieved from ldap: zimbraNotebookAccount=
checking isEnabled zimbra-mta
zimbra-mta is enabled
checking isEnabled zimbra-snmp
zimbra-snmp is enabled
checking isEnabled zimbra-spell
zimbra-spell is enabled
checking isEnabled zimbra-store
zimbra-store is enabled
checking isEnabled zimbra-ldap
zimbra-ldap is enabled
checking isEnabled zimbra-store
zimbra-store is enabled
checking isEnabled zimbra-mta
zimbra-mta is enabled
checking isEnabled zimbra-snmp
zimbra-snmp is enabled
checking isEnabled zimbra-spell
zimbra-spell is enabled
checking isEnabled zimbra-store
zimbra-store is enabled
checking isEnabled zimbra-store
zimbra-store is enabled
checking isEnabled zimbra-store
zimbra-store is enabled
checking isEnabled zimbra-ldap
zimbra-ldap is enabled
checking isEnabled zimbra-store
zimbra-store is enabled
checking isEnabled zimbra-mta
zimbra-mta is enabled
checking isEnabled zimbra-snmp
zimbra-snmp is enabled
checking isEnabled zimbra-spell
zimbra-spell is enabled
Saving config in /opt/zimbra/config.10460...
Done
Operations logged to /tmp/zmsetup.log.10460
Setting local config values...
Setting local config zimbra_server_hostname to mail.velocitaonline.com
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_server_hostname='mail.velocitaonline.com'
Setting local config ldap_master_url to ldap://mail.velocitaonline.com:389
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e ldap_master_url='ldap://mail.velocitaonline.com:389'
Setting local config ldap_url to ldap://mail.velocitaonline.com:389
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e ldap_url='ldap://mail.velocitaonline.com:389'
Setting local config ldap_port to 389
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e ldap_port='389'
Setting local config ldap_host to mail.velocitaonline.com
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e ldap_host='mail.velocitaonline.com'
Setting local config zimbra_uid to 500
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_uid='500'
Setting local config zimbra_gid to 500
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_gid='500'
Setting local config zimbra_user to zimbra
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e zimbra_user='zimbra'
Setting local config tomcat_truststore_password to changeit
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e tomcat_truststore_password='changeit'
Setting local config tomcat_keystore_password to txtEMuDMgX
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e tomcat_keystore_password='txtEMuDMgX'
Setting local config av_notify_user to admin@velocitaonline.com
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e av_notify_user='admin@velocitaonline.com'
Setting local config ssl_allow_untrusted_certs to TRUE
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e ssl_allow_untrusted_certs='TRUE'
Setting local config mysql_memory_percent to 30
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e mysql_memory_percent='30'
Setting local config tomcat_java_heap_memory_percent to 40
*** Running as zimbra user: /opt/zimbra/bin/zmlocalconfig -f -e tomcat_java_heap_memory_percent='40'
Done
Setting up CA...
*** Running as zimbra user: cd /opt/zimbra; zmcreateca
** Creating CA private key

Generating a 1024 bit RSA private key
...........................++++++
.++++++
unable to write 'random state'
writing new private key to '/opt/zimbra/ssl/ssl/ca/ca.key'
-----
** Creating CA cert

Signature ok
subject=/C=US/ST=N/A/L=N/A/O=Zimbra Collaboration Suite
Getting Private key
unable to write 'random state'
Done
Creating SSL certificate...
checking isEnabled zimbra-store
zimbra-store is enabled
*** Running as zimbra user: cd /opt/zimbra; zmcreatecert
** Importing CA

Certificate was added to keystore
** Creating keystore

** Creating server cert request

Generating a 1024 bit RSA private key
.................................................. ........++++++
................++++++
unable to write 'random state'
writing new private key to '/opt/zimbra/ssl/ssl/server/server.key'
-----
** Signing cert request

Using configuration from /opt/zimbra/ssl/ssl/zmssl.cnf
Check that the request matches the signature
Signature ok
Certificate Details:
Serial Number:
11:95:43:36:44
Validity
Not Before: Nov 19 00:54:07 2007 GMT
Not After : Nov 18 00:54:07 2008 GMT
Subject:
countryName = US
stateOrProvinceName = N/A
organizationName = Zimbra Collaboration Suite
commonName = mail.velocitaonline.com
X509v3 extensions:
X509v3 Basic Constraints:
CA:FALSE
Netscape Comment:
OpenSSL Generated Certificate
X509v3 Subject Key Identifier:
3B:AF:8A:5F:AA:6EA:8F:EE:8A:31:94:5E:A3:EB:5A:56 :22:52:E6
X509v3 Authority Key Identifier:
DirName:/C=US/ST=N/A/L=N/A/O=Zimbra Collaboration Suite
serial:A9:13:2C:C3:E1:493:88

X509v3 Key Usage:
Digital Signature, Non Repudiation, Key Encipherment
Certificate is to be certified until Nov 18 00:54:07 2008 GMT (365 days)

Write out database with 1 new entries
Data Base Updated
unable to write 'random state'
Signature ok
subject=/C=US/ST=NA/L=NA/O=Zimbra/OU=Zimbra/CN=mail.velocitaonline.com
Getting CA Private Key
unable to write 'random state'
checking isEnabled zimbra-ldap
zimbra-ldap is enabled
checking isEnabled zimbra-mta
zimbra-mta is enabled
*** Running as zimbra user: cd /opt/zimbra; zmcreatecert
** Importing CA

Certificate was added to keystore
** Creating keystore

** Creating server cert request

Generating a 1024 bit RSA private key
....++++++
.......++++++
unable to write 'random state'
writing new private key to '/opt/zimbra/ssl/ssl/server/server.key'
-----
** Signing cert request

Using configuration from /opt/zimbra/ssl/ssl/zmssl.cnf
Check that the request matches the signature
Signature ok
Certificate Details:
Serial Number:
11:95:43:36:48
Validity
Not Before: Nov 19 00:54:11 2007 GMT
Not After : Nov 18 00:54:11 2008 GMT
Subject:
countryName = US
stateOrProvinceName = N/A
organizationName = Zimbra Collaboration Suite
commonName = mail.velocitaonline.com
X509v3 extensions:
X509v3 Basic Constraints:
CA:FALSE
Netscape Comment:
OpenSSL Generated Certificate
X509v3 Subject Key Identifier:
D4:53:2F:CA:22:49:8E:6B:40:71:5A:5B:36:77:0C:76:6B :30:B2:B0
X509v3 Authority Key Identifier:
DirName:/C=US/ST=N/A/L=N/A/O=Zimbra Collaboration Suite
serial:A9:13:2C:C3:E1:493:88

X509v3 Key Usage:
Digital Signature, Non Repudiation, Key Encipherment
Certificate is to be certified until Nov 18 00:54:11 2008 GMT (365 days)

Write out database with 1 new entries
Data Base Updated
unable to write 'random state'
Signature ok
subject=/C=US/ST=NA/L=NA/O=Zimbra/OU=Zimbra/CN=mail.velocitaonline.com
Getting CA Private Key
unable to write 'random state'
Done
checking isEnabled zimbra-ldap
zimbra-ldap is enabled
Initializing ldap...
*** Running as zimbra user: /opt/zimbra/libexec/zmldapinit
FAILED (1)


ERROR



Configuration failed

Please address the error and re-run /opt/zimbra/libexec/zmsetup.pl to
complete the configuration.

Errors have been logged to /tmp/zmsetup.log.10460


So any direction that you folks could steer me would be greatly appreciated!
Frank
Reply With Quote
  #2 (permalink)  
Old 11-18-2007, 11:34 PM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

If you are behind a NAT device then you need a Split DNS setup.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 11-19-2007, 12:10 AM
Intermediate Member
 
Posts: 18
Default Split DNS ...

Hello Bill,
Thanks for the quick reply. I have looked at the Split DNS and it does not seem that easy. Well that is that my Centos 5 (RHEL 5) 64 Bit does not have the file locations in the same place etc. Is there any easier instructions?? Is there any other way around it. I have configured 5 zimbra servers (Centos 4 Std 32bit) without having to configure split dns. Is this something specific to 64 bit??
Thanks Again!!
Frank
Reply With Quote
  #4 (permalink)  
Old 11-19-2007, 12:18 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

It is easy, you need to configure a local DNS server with A & MX records pointing to the Zimbra server, just follow the wiki guide . If you have a server on a private IP, 192.168.x.x in your case above, then Zimbra (postfix) cannot resolve it's IP address via DNS, that's why you get the DNS error during install.
__________________
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.