We currently have qmail running on an old FC5 box that I'm in the process of replacing with Zimbra on Ubuntu 8.04. I'm following this guide... http://howtoforge.com/installing_zimbra_collaboration_suite_on_ubuntu We have 1 Public IP address that we run all of our Internet services off of (behind an IPCOP box) I've placed this new zimbra server (192.168.1.8) on the nextwork beside our old qmail server (192.168.1.4) and plan to just setup zimbra and change the port forwarding when done so that this whole process is fairly quick and transparent... My problem is that when I'm about done the installation, I get this following error... Fri Sep 26 08:19:49 2008 zimbra-ldap is enabled Fri Sep 26 08:19:49 2008 Initializing ldap... Fri Sep 26 08:19:49 2008 *** Running as zimbra user: /opt/zimbra/libexec/zmldapinit IO::Socket::INET: connect: timeout at /opt/zimbra/libexec/zmldapinit line 160. Can anyone help out?
I think this is a DNS issue. When I run /opt/zimbra/libexec/zmsetup.pl I get the following error... Operations logged to /tmp/zmsetup.09262008-142825.log Setting defaults...No results returned for A lookup of localhost Checked nameservers: 209.202.110.120 DNS ERROR resolving localhost It is suggested that the hostname be resolveable via DNS Change hostname [Yes] What should I have in /etc/hosts? Like I mentioned above, This server is inside a DMZ behind an IPCOP box (orange network) and is using my ISP's dns servers.
/etc/hosts Code: 127.0.0.1 localhost localdomain localhost 192.168.1.8 localhost.localdomain localhost # 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 hostname -f Code: localhost
Please use a real hostname instead of localhost.localdomain in the 192.168.1.8 line in /etc/hosts and also in /etc/sysconfig/network (I think that's the correct file). Restart the system afterwards.
This box is behind a IPCOP box in a DMZ and is using my ISP's nameserver. On the trusted network I'm using IPCOP as my DNS server. For this mail server in the DMZ what should its hostname be?
Thanks so far for your help. I'll explain our dns setup and maybe you can provide some advice on what I should do. Our DNS server (in the DMZ as well) handles 1 zone (domain.example) records in our zone file are as follows... ;hosts www IN A 1.2.3.4 ns1 IN A 1.2.3.4 mail IN A 1.2.3.4 @ IN A 1.2.3.4 ;mail entry domain.example. MX 1 mail As you can see, all the hosts resolve to the same IP address. Because everything is behind that address in the dmz. These DMZ servers (we have a few) all use our ISP's nameservers to resolve queries. I'm confused as to what proper hostname I should be assigning to these computers, specifically this new mail server. It seems like whatever hostname I assign, none of them will resolve (in the zimbra setup)
Ok, I think you must use the internal DNS server on your mail server instead of the ones from your ISP because the name servers of your ISP cannot resolve your internal hostnames.
Do I have to create a DMZ Pin hole to allow dns queries from my DMZ to IPCOP? I've done this but none of my queries are resolving, such as google.com ect.