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 12-10-2008, 05:31 AM
Intermediate Member
 
Posts: 21
Default Unable to install

Hello all,

I had earlier installed ZCS on Ubuntu 8.04 LTS with no trouble. I have now install Debian and when I try to install ZCS it gives the following error:
Quote:
ERROR: Installation can not proceeed. Please fix your /etc/hosts file
to contain:



Where is the ip address of the host,
is the FULLY QUALIFIED host name, and
is the (optional) hostname-only portion
I have checked my /etc/hosts and it seems correct to me. Anyways here is my /etc/hosts:
Quote:
cat /etc/hosts
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

210.211.190.77 virix.co.cc virix
192.168.1.20 virix.co.cc virix #IP of the machine on LAN
127.0.0.1 localhost.localdomain localhost
Am I missing anything?
Thanks.
Reply With Quote
  #2 (permalink)  
Old 12-10-2008, 05:33 AM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

you can't have two entries for the same hostname. remove the external entry. unless you're actually using ipv6, remove those entries too.
Reply With Quote
  #3 (permalink)  
Old 12-10-2008, 05:35 AM
Moderator
 
Posts: 7,928
Default

Welcome to the forums

I see you have both a public and private IP in your /etc/hosts! If you are behind a firewall and using a private IP you will need to setup a Wiki :: Split DNS architecture. And setup your /etc/hosts as follows
Code:
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

127.0.0.1 localhost.localdomain localhost 
192.168.1.20 virix.co.cc virix #IP of the machine on LAN
__________________
Reply With Quote
  #4 (permalink)  
Old 12-10-2008, 05:40 AM
Intermediate Member
 
Posts: 21
Default

Quote:
Originally Posted by uxbod View Post
Welcome to the forums

I see you have both a public and private IP in your /etc/hosts! If you are behind a firewall and using a private IP you will need to setup a Wiki :: Split DNS architecture. And setup your /etc/hosts as follows
Code:
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

127.0.0.1 localhost.localdomain localhost 
192.168.1.20 virix.co.cc virix #IP of the machine on LAN
I tried that but still I get the same error when I run the install.sh. And by the way I have had my /etc/hosts the same way as in my first post on my Ubuntu and ZCS installed just fine, with no trouble.

Thanks.
Reply With Quote
  #5 (permalink)  
Old 12-10-2008, 05:42 AM
Moderator
 
Posts: 7,928
Default

Okay lets go through the basic checks then
Code:
cat /etc/hosts
cat /etc/resolv.conf
dig yourdomain.name mx
dig yourdomain.name any
host `hostname` <- note backticks and not single quotes
__________________
Reply With Quote
  #6 (permalink)  
Old 12-10-2008, 05:43 AM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

try removing the # comment stuff that comes after the hostname
try removing ipv6 stuff, in particular localhost line - you've got localhost defined twice
Reply With Quote
  #7 (permalink)  
Old 12-10-2008, 05:51 AM
Intermediate Member
 
Posts: 21
Default

Code:
cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.1.20 virix.co.cc virix
Code:
cat /etc/resolv.conf
nameserver 192.168.1.1
Code:
dig virix.co.cc MX

; <<>> DiG 9.5.0-P2 <<>> virix.co.cc MX
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48693
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;virix.co.cc.                   IN      MX

;; ANSWER SECTION:
virix.co.cc.            86397   IN      MX      5 mx.virix.co.cc.

;; AUTHORITY SECTION:
virix.co.cc.            86397   IN      NS      ns3.co.cc.

;; Query time: 183 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Wed Dec 10 19:17:10 2008
;; MSG SIZE  rcvd: 66
Code:
dig virix.co.cc any

; <<>> DiG 9.5.0-P2 <<>> virix.co.cc any
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42002
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;virix.co.cc.                   IN      ANY

;; ANSWER SECTION:
virix.co.cc.            86396   IN      MX      5 mx.virix.co.cc.
virix.co.cc.            86396   IN      A       210.211.190.77
virix.co.cc.            86396   IN      SOA     ns.virix.co.cc. root.virix.ns.co.cc. 2008121005 28800 7200 604800 3600
virix.co.cc.            86396   IN      NS      ns3.co.cc.

;; AUTHORITY SECTION:
virix.co.cc.            86396   IN      NS      ns3.co.cc.

;; Query time: 267 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Wed Dec 10 19:18:02 2008
;; MSG SIZE  rcvd: 149
Code:
host `hostname`
;; connection timed out; no servers could be reached
Reply With Quote
  #8 (permalink)  
Old 12-10-2008, 05:55 AM
Moderator
 
Posts: 7,928
Default

Yep so you need to setup the Split DNS as I mentioned above. Your resolv.conf would then contain
Code:
nameserver 192.168.1.20
__________________
Reply With Quote
  #9 (permalink)  
Old 12-10-2008, 06:00 AM
Intermediate Member
 
Posts: 21
Default

Quote:
Originally Posted by uxbod View Post
Yep so you need to setup the Split DNS as I mentioned above. Your resolv.conf would then contain
Code:
nameserver 192.168.1.20
But how it worked fine when I was using Ubuntu? I ask this because my resolv.conf has always been
Code:
nameserver 192.168.1.1
for last 11 months. And I had not setup Split DNS when I installed ZCS on Ubuntu.

Thanks.

EDIT: Anyways I am going to setup the split dns now and I will post back if need help.

Last edited by h3llh0l3; 12-10-2008 at 06:03 AM.. Reason: Anyways I am going to setup the split dns now and I will post back if need help.
Reply With Quote
  #10 (permalink)  
Old 12-10-2008, 06:07 AM
Outstanding Member
 
Posts: 684
Default Domain name

Your hosts file and your zone file indicate two different things.

"virix.co.cc" is showing up in your zone file as the domain. In your hosts file it is the FQDN of your computer.

Your zone file shows "mx.virix.co.cc" should be the FQDN of your mail server. Your hosts file shows your computer is named virix and your domain is co.cc . Together thay make a FQDN. Your host file shows your domain to be "virix.co.cc". And your mail server to be "mx" (based on your MX record). "mx.virix.co.cc" is showing to be the FQDN based on your MX record.

What is your actual domain and what is the host name of your server? Together they should be the entry in you hosts file. Your zone file on the other hand should just be the domain name. And the records inside pointing to the FQDN.

Last edited by Bill Brock; 12-10-2008 at 06:22 AM..
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.