HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Replacing old email server with Zimbra (http://www.howtoforge.com/forums/showthread.php?t=27179)

wildgoosed 26th September 2008 21:44

Replacing old email server with Zimbra
 
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_zim...uite_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?

wildgoosed 26th September 2008 22:30

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.

falko 27th September 2008 13:46

What's in /etc/hosts?
What's the output of
Code:

hostname -f
?

wildgoosed 27th September 2008 21:10

/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

falko 28th September 2008 13:53

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.

wildgoosed 29th September 2008 16:51

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?

wildgoosed 29th September 2008 22:50

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)

falko 30th September 2008 16:49

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.

wildgoosed 2nd October 2008 16:58

Hey falko, is it possible to use IPCOP as my dns server for this dmz server?

falko 3rd October 2008 12:22

Yes, if there's a DNS server on your IPCop system. Make sure it resolves your internal hostnames.


All times are GMT +2. The time now is 12:17.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.