Results 1 to 2 of 2

Thread: Installation can not proceeed (Hosts File)

  1. #1
    colours_chris is offline Starter Member
    Join Date
    Sep 2009
    Posts
    1
    Rep Power
    5

    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.

  2. #2
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,483
    Rep Power
    56

    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


    Acompli: A new adventure for Co-Founder KevinH.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] upgrading to latest 4.5 release
    By ak2009 in forum Installation
    Replies: 6
    Last Post: 01-17-2009, 09:08 AM
  2. Fresh Zimbra installation does not work
    By Datax in forum Installation
    Replies: 4
    Last Post: 08-18-2008, 01:18 PM
  3. centos 5 zimbra 4.5.6 no statistics
    By rutman286 in forum Installation
    Replies: 9
    Last Post: 08-14-2007, 09:30 AM
  4. Removing hostname from hosts file fixed prob.
    By lemur in forum Installation
    Replies: 10
    Last Post: 06-13-2007, 06:29 PM
  5. Installation problem
    By sywong70 in forum Installation
    Replies: 5
    Last Post: 11-07-2005, 09:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •