vim /var/named/chroot/etc/named.conf options { directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt"; forwarders { 192.168.0.10 ; }; }; include "/etc/rndc.key"; // We are the master server for mail.geekdept.com zone "mail.geekdept.com" { type master; file "db.mail.geekdept.com"; }; IN THE FORWARDERS I HAVE GIVEN 192.168.1.1 THAT IS MY LOCAL GATEWAY vim /var/named/chroot/var/named/db.mail.geekdept.com ; ; Addresses and other host information. ; @ IN SOA mail.geekdept.com. hostmaster.mail.geekdept.com. ( 10118 ; Serial 43200 ; Refresh 3600 ; Retry 3600000 ; Expire 2592000 ) ; Minimum ; Define the nameservers and the mail servers IN NS 192.168.0.45 IN A 192.168.0.45 IN MX 10 mail.geekdept.com. IN NS AND A I HAVE GIVEN MY PUBLIC IP FOR MY DOMAIN 180.151.161.120 DNS ERROR resolving MX for mail.MYDOMAIN.net It is suggested that the domain name have an MX record configured in DNS Change domain name? [Yes] no done. I AM GETTING THIS ERROR WHAT TO DO? "Initializing ldap...failed. (28928) 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.02142011-233159.log MY PING REQUEST AND MX RECORD ARE CORRECT PLEASE GUIDE ME TO SORT OUT HIS ISSUE
I am getting error of Initializing ldap...failed. (28928) 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.02152011-134316.log Please Somebody help
cat /tmp/zmsetup.02152011-153315.log Operations logged to /tmp/zmsetup.02152011-153315.log 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' 2> /dev/null checking isEnabled zimbra-cluster zimbra-cluster not in enabled cache enabled packages zimbra-logger zimbra-store zimbra-mta zimbra-core zimbra-apache zimbra-snmp zimbra-ldap zimbra-spell 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 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-mta zimbra-mta is enabled MX: mail.blazedream.net (192.168.1.248) Interface: 192.168.1.248 Interface: 127.0.0.1 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 Note The previous configuration appears to have failed to complete Saving config in /opt/zimbra/config.3573... done. Operations logged to /tmp/zmsetup.02152011-153315.log checking isEnabled zimbra-ldap zimbra-ldap is enabled Initializing ldap... *** Running as zimbra user: /opt/zimbra/libexec/zmldapinit IO::Socket::INET: connect: No route to host at /opt/zimbra/libexec/zmldapinit line 160. failed. (28928) 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.02152011-153315.log
Looks about DNS A or MX problem. Run following commands and post output Code: cat /etc/hosts cat /etc/resolv.conf dig yourdomain.com mx dig yourdomain.com any host `hostname` Is your server behind NAT? If so, check http://wiki.zimbra.com/wiki/Split_dns and do not forget to verify your config as guided there in verify section. Hope this helps. Dipesh