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 04-22-2008, 10:04 AM
Member
 
Posts: 12
Question NOOB - help setting up hosts file

Hello everyone -

I a NOOB at this Zimbra and Linux set up. In trying to install Zimbra it says to add a host.IP and hostname.localdomain to the host file in /etc. I try to edit the file, I've tried chomd the file to 777 but nothing I do allows me to write to hosts. Also what should the file look like with this FQDN = mailserver.hsdm.lancasterdomain.org ? I would appreciate any help you can give on this, thanks.
Reply With Quote
  #2 (permalink)  
Old 04-22-2008, 12:13 PM
Moderator
 
Posts: 7,928
Default

Welcome to the forums

If you are sat behind a firewall and your server will be on a private IP address ie. 192.168.1.10 then have a read of Split DNS - Zimbra :: Wiki

If you still have problems then please post the following information
Code:
cat /etc/hosts
cat /etc/resolv.conf
dig _yourdomain_ mx
dig _yourdomain_ ns
host `hostname` <- note backticks and not double quotes
remember to replace _yourdomain_ with your own
__________________
Reply With Quote
  #3 (permalink)  
Old 04-23-2008, 04:37 AM
Member
 
Posts: 12
Default

uxbod -

Thanks for your reply. I tried the up2date bind command. It appears there is no up2date on the server. It says command not found. I went into the GUI Add/Remove Software and added bind as split DNS suggested. But it appears there is no named.conf in /etc. So do I have defunct installation of RH 5?

If I cat /etc/hosts I get:

127.0.0.1 mailserver.hsdm.lancasterdomain.org mailserver localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6


resolv.conf gives:
nameserver 192.168.168.11
nameserver 66.109.229.5
nameserver 66.109.229.4


dig _hsdm.lancasterdomain.org_ mx gives In SOA A.ROOT.SERVERS.NET NSTLD.VERISIGN-GRS.COM 2008042200 1800 900 604800 86400

host `hostname` gives mailserver.hsdm.lancasterdomain.org not found: 3(NXDOMAIN)

So it appears this is a DNS problem what do I do? What is suggested in Split DNS - but I have several servers on the network. And it appears there is a DNS entry on 192.168.168.11 for mailserver. More suggestions?
Reply With Quote
  #4 (permalink)  
Old 04-29-2008, 09:28 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Quote:
Originally Posted by LancasterHistory View Post
If I cat /etc/hosts I get:

127.0.0.1 mailserver.hsdm.lancasterdomain.org mailserver localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
This is completely wrong, as per the Quick Start Installation Guideyour hosts file shoudl look like this:

Code:
127.0.0.1   localhost.localdomain    localhost
192.168.x.x mailserver.hsdm.lancasterdomain.org  mailserver
replace the 192.168.x.x with the LAN IP of your server.



Quote:
Originally Posted by LancasterHistory View Post
resolv.conf gives:
nameserver 192.168.168.11
nameserver 66.109.229.5
nameserver 66.109.229.4


dig _hsdm.lancasterdomain.org_ mx gives In SOA A.ROOT.SERVERS.NET NSTLD.VERISIGN-GRS.COM 2008042200 1800 900 604800 86400

host `hostname` gives mailserver.hsdm.lancasterdomain.org not found: 3(NXDOMAIN)

So it appears this is a DNS problem what do I do? What is suggested in Split DNS - but I have several servers on the network. And it appears there is a DNS entry on 192.168.168.11 for mailserver. More suggestions?
You also seem to have no A or MX records for the domain name that you used in the dig command. You might, howevere, entered the wrong command. What does the following show:

Code:
dig hsdm.lancasterdomain.org mx
dig hsdm.lancasterdomain.org any
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 04-29-2008, 10:37 AM
Member
 
Posts: 12
Default

When I dig the mailserver this is the response:

dig mailserver.hsdm.lancasterdomain.org mx

; <<>> DiG 9.3.3rc2 <<>> mailserver.hsdm.lancasterdomain.org mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28960
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;mailserver.hsdm.lancasterdomain.org. IN MX

;; AUTHORITY SECTION:
hsdm.lancasterdomain.org. 3600 IN SOA lchsdc01.hsdm.lancasterdomain.org. hostmaster.hsdm.lancasterdomain.org. 1087 900 600 86400 3600

;; Query time: 5 msec
;; SERVER: 192.168.168.11#53(192.168.168.11)
;; WHEN: Tue Apr 29 13:29:31 2008
;; MSG SIZE rcvd: 110


then when I Dig any I get this:

dig mailserver.hsdm.lancasterdomain.org any

; <<>> DiG 9.3.3rc2 <<>> mailserver.hsdm.lancasterdomain.org any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13292
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;mailserver.hsdm.lancasterdomain.org. IN ANY

;; ANSWER SECTION:
mailserver.hsdm.lancasterdomain.org. 3600 IN A 192.168.168.16

;; Query time: 5 msec
;; SERVER: 192.168.168.11#53(192.168.168.11)
;; WHEN: Tue Apr 29 13:27:58 2008
;; MSG SIZE rcvd: 70

;; WHEN: Tue Apr 29 13:23:11 2008
;; MSG SIZE rcvd: 116

Is that what we expect to see?
Reply With Quote
  #6 (permalink)  
Old 04-29-2008, 10:42 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Quote:
Originally Posted by LancasterHistory View Post
Is that what we expect to see?
No, that's not the correct output. You are using the FQDN of the server and you should be using the domain name, see my command above. Have you made the changes to the hosts file?
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 04-29-2008, 11:10 AM
Moderator
 
Posts: 7,928
Default

LancasterHistory, if you post again what I asked for in my first reply this will provide Bill and myself with the necessary information to help. Obviously replace the _yourdomain_ with hsdm.lancasterdomain.org
__________________
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.