I am using the following image at Amazon EC2.
Amazon Web Services Developer Connection : RightImage: CentOS 5 Base, Version 1
I am following this guide
Centos 5 Install Guide
I am installing zimbra-core-4.5.6_GA_1044.RHEL5 .
I have uninstalled postfix and resolved port conflict on port 25. I have installed the dependencies using yum install [package name].
I need to resolve this error - yes, DNS. I have ready everything in the forum (split dns etc). I need specific help.
For confidentialty, I will replace my domain name with domain.com
My EC2 instance has the following:
public dns name: ec2-67-202-13-130.z-1.compute-1.amazonaws.com (also has ip address of 67.202.13.130)
private dns name (within EC2) domU-12-31-36-00-18-C4.z-1.compute-1.internal
I have a domain name with an MX record pointing to an A record which contains the IP address of the instance. I use
DNS Made Easy and have full control over DNS server entries. For testing, I have also pointed all CNAME (*, WWW, WEBMAIL) to the same IP address of the EC2/Zimbra instance.
Specifically, I think I need help with my /etc/hosts file.
My /etc/hosts file has the following content:
127.0.0.1 localhost localhost.localdomain
67.202.13.130 domain.com
I have also tried /etc/hosts
127.0.0.1 localhost localhost.localdomain
67.202.13.130 mail.domain.com
The hostname command returns the following:
domU-12-31-36-00-18-C4
The specific error during installation is:
DNS ERROR resolving MX for domu-12-31-36-00-C4.z-1.compute-1.internal
Is is suggested that the domain name have an MX record configured in DNS
Change domain name? [Yes] y
Create Domain [domU-12-31-36-00-C4.z-1.compute-1.internal] domain.com
MX: mail.domain.com (67.202.13.130)
Interface: 10.253.31.50
Interface: 127.0.0.1
DNS ERROR - none of the MX records for domain.com resolve to this host
Re-Enter domain name? [Yes]
As above, I have entered my domain.com domain and it can not resolve the MX record. I assume that it would say "success" if everything was OK.
Is this my hosts file? What is the correct structure?
If I proceed with the installation, then the next error that I get is:
Initializing ldap...Failed to start slapd. Attempting debug start to determine error.
daemon: bind(6) failed errno=99 (Cannot assign requested address)
slap_open_listener: failed on ldap://domain.com:389
FAILED (1)