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 02-11-2010, 08:25 AM
New Member
 
Posts: 3
Default Fix your hosts file, installing Zimbra in Ubuntu 8.04

Hi,

When starting the installation I get the message that tells me to fix the hosts file.

Code:
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 gone through the documentation, I have followed the wiki on installing Zimbra in Ubuntu 8.04, but still getting same error. Any help would be GREATLY appreciatted since I am at a dead end.

There go my details:

- Zimbra 6.0
- Ubuntu 8.04 server 64 bits
- I'm installing this on Amazon EC2

Since it is Amazon EC2 I figured I should follow the split DNS route. So I followed the steps in the Main Page - Zimbra :: Wiki. I have all those files as the wiki says EXCEPT for /etc/resolv.conf that keeps getting back to default state after I reboot the server.

Also as forwarders in the /etc/bind/named.conf.options file I put the DNS servers I have from 1and1 where I bought my domain. I don't know their IPs so I wrote the name for them (ns64.1and1.es).

Anyway I don't think the error I get is related to those details, though.

There goes some more info:

CAT /ETC/HOSTS
Code:
127.0.0.1 localhost.localdomain localhost
#79.125.20.35 mail.cristianosuniversitarios.org mail  
#
# 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
CAT /ETC/RESOLV.CONF
Code:
search eu-west-1.compute.internal
nameserver 172.16.0.23
After following the wiki,the above file was:
Code:
nameserver 10.227.127.144
But it changes back everytime I reboot the machine.

10.227.127.144 is my internal ip in the amazon ec2 internal network.
My public ip is different.

DIG CRISTIANOSUNIVERSITARIOS.ORG MX
Code:
; <<>> DiG 9.4.2-P2.1 <<>> cristianosuniversitarios.org mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10927
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;cristianosuniversitarios.org.	IN	MX

;; ANSWER SECTION:
cristianosuniversitarios.org. 815 IN	MX	10 mx00.1and1.es.
cristianosuniversitarios.org. 815 IN	MX	10 mx01.1and1.es.

;; Query time: 0 msec
;; SERVER: 172.16.0.23#53(172.16.0.23)
;; WHEN: Thu Feb 11 16:17:52 2010
;; MSG SIZE  rcvd: 96
I have not changed the MX fields in my domain provider, because I had no idea where to point them to. And I thought I had to install zimbra first and then point my domain MX to my zimbra server.

DIG CRISTIANOSUNIVERSITARIOS.ORG ANY
Code:
; <<>> DiG 9.4.2-P2.1 <<>> cristianosuniversitarios.org any
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53926
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;cristianosuniversitarios.org.	IN	ANY

;; ANSWER SECTION:
cristianosuniversitarios.org. 85281 IN	A	79.125.20.35
cristianosuniversitarios.org. 616 IN	MX	10 mx01.1and1.es.
cristianosuniversitarios.org. 616 IN	MX	10 mx00.1and1.es.

;; Query time: 0 msec
;; SERVER: 172.16.0.23#53(172.16.0.23)
;; WHEN: Thu Feb 11 16:21:10 2010
;; MSG SIZE  rcvd: 112
HOST `HOSTNAME`
Code:
ip-10-227-127-144.eu-west-1.compute.internal has address 10.227.127.144
Hope someone can help me out, thanks in advance!

Nacho
Reply With Quote
  #2 (permalink)  
Old 02-11-2010, 02:02 PM
Senior Member
 
Posts: 72
Default

Code:
CAT /ETC/HOSTS
127.0.0.1 localhost.localdomain localhost
#79.125.20.35 mail.cristianosuniversitarios.org mail  
#
# 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


Reason why this line is commented out?
__________________
Version 7.1.2_GA_3268.NETWORK
Reply With Quote
  #3 (permalink)  
Old 02-11-2010, 11:29 PM
New Member
 
Posts: 3
Default

Yep, that's a typo. Thanks for noticing. I fixed it and nothing has changed. The same /etc/hosts file error.
Reply With Quote
  #4 (permalink)  
Old 02-18-2010, 06:35 AM
Starter Member
 
Posts: 1
Default

you need to test your dns

host cristianosuniversitarios.org

Quote:



127.0.0.1 localhost.localdomain localhost
"lan ip" mail.cristianosuniversitarios.org mail


# 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
try this , but first you need to try in the local network that zimbra works
1. edit named.conf.options and add the dns of your ISP
2. edit /etc/hostname with this "cristianosuniversitarios.org" without the "
3. restart hostname as root or sudo /etc/init.d/hostname.sh start
4. edit /etc/resolve.conf "your internal server ip"
5. use this comands should work in fact has to work before the instalation
hostname
hostname -f
nslookup (your internal ip) it should show your lan ip not a public

i hope it help.... al parecer sabes espaņol si es asi avisame y te ayudo
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.