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 09-01-2009, 03:25 PM
Starter Member
 
Posts: 1
Default Installation can not proceeed (Hosts File)

Hi there,

I am currently in the process of installing Zimbra (for the first time) on my first Ubuntu server build.

I already have a have a successfully operating Ubuntu (Hardy) server install, so I am now onto setting up the DNS ready for install, following this guide. When running the install, I get this error:

Code:
  ERROR: Installation can not proceeed.  Please fix your /etc/hosts file
  to contain:

  [ip] [FQHN] [HN]

  Where [IP] is the ip address of the host,
  [FQHN] is the FULLY QUALIFIED host name, and
  [HN] is the (optional) hostname-only portion
That doesn't surprise me, I did get a little confused in setting up the DNS etc. with all the different IP addresses flying around, so I hope someone can point out my mistake...

/etc/bind/named.conf.options
I added the IP address of the remote name servers in the company data centre (our sysadmin set up the necessary records there)
Code:
options {
        directory "/var/cache/bind";

        query-source address * port 53;

        forwarders {
                85.xx.xx.70; 85.xx.xx.74
        };

        auth-nxdomain no;    # conform to RFC1035
        listen-on-v6 { any; };
};
/etc/resolv.conf
I added the address of my local router (second line)
Code:
search lan
nameserver 192.168.1.254
/etc/bind/named.conf.local
Code:
zone "myshop.co.uk"  {
                type master;
                file "/etc/bind/db.myshop.co.uk";
        };
/etc/bind/db.myshop.co.uk
Code:
; BIND data file for myshop.co.uk
;
$TTL    604800
@       IN      SOA     mail.myshop.co.uk. admin.myshop.co.uk. (
                         070725         ; Serial
                         604800         ; Refresh
                          86400         ; Retry
                        2419200         ; Expire
                         604800 )       ; Negative Cache TTL
;
@       IN      NS      mail
        IN      MX      10 mail
mail    IN      A       192.168.1.65
/etc/hosts file
Code:
127.0.0.1 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
#192.186.1.65 my-server
192.168.1.65 mail.myshop.co.uk mail
Can anyone spare a moment to pinpoint what I've done wrong here?

Thanks in advance,
Chris

Last edited by colours_chris; 09-01-2009 at 03:27 PM..
Reply With Quote
  #2 (permalink)  
Old 09-01-2009, 06:52 PM
Elite Member
 
Posts: 334
Default

Hi Chris,

How about if you change your /etc/hosts file into something like this (remove unused entry and ipv6 entry)

Quote:
127.0.0.1 localhost
192.168.1.65 mail.myshop.co.uk mail
__________________
Best Regards
---
Masim "Vavai" Sugianto
Vavai Personal Blog
Personal Blog [ID]

Release 7.1.3_GA_3346.SLES11_64_20110930001521 SLES11_64 FOSS edition.
Reply With Quote
  #3 (permalink)  
Old 09-01-2009, 10:12 PM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Your hosts file should contain the following lines:

Code:
127.0.0.1 localhost.localdomain localhost
192.168.1.65 mail.myshop.co.uk mail
Your resolv.conf should contain the fiollowing:

Code:
search myshop.co.uk
192.168.1.x
The IP address in that file should be the IP address of your DNS server that you've just set-up.
__________________
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.