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 05-25-2009, 06:38 PM
Junior Member
 
Posts: 6
Default Zimbra Linux Install

I am trying to install Zimbra to see if it will work on my mobile windows v.6

I have installed Ubuntu 8.04 LTS like the install guide here and Have a problem with LDAP errors. From what I read I had to set up split DNS. Well now the install is corupt and I have to install a new OS.

Can anyone point me to the most easiest install for a person that is still learning Linux. Seems Ubuntu works great out of the box but I have had problems loading other programs on to it. And everytime I look at BIND9 configs, they are all different, no 2 sites have the same info that I can use to compare the name.config.*** files

I am thinking of trying CentOS or SUSE, the CentOS Guide looks pretty straight forward, if anyone can help me here it would be greatly appreciated as I would rather not install 10 different systems to see which one is the most newbie freindly.
Reply With Quote
  #2 (permalink)  
Old 05-25-2009, 11:40 PM
Moderator
 
Posts: 7,929
Default

Welcome to the forums

Wiki :: Ubuntu 8.04 LTS Zimbra Install Guide
__________________
Reply With Quote
  #3 (permalink)  
Old 05-26-2009, 07:49 AM
Junior Member
 
Posts: 6
Default

so I guess Ubuntu is the easiest, I am having trouble with split DNS.
I wonder if anyone can help me with it.

I have to servers running Primary is ...........106 secondary is ........107

This is my output from nslookup (some numbers replaced with xxx)
-------------------------------------------------------------------
root@IBM1:/var/cache/bind/internal# nslookup 206.xxx.xxx.128
Server: 192.168.1.106
Address: 192.168.1.106#53

Non-authoritative answer:
128.xxx.xxx.206.in-addr.arpa name = mail.18p.ca.

Authoritative answers can be found from:
xxx.xxx.206.in-addr.arpa nameserver = ns.teksavvy.com.
xxx.xxx.206.in-addr.arpa nameserver = ns2.teksavvy.com.
ns2.teksavvy.com internet address = 65.39.196.215
ns.teksavvy.com internet address = 65.39.192.130
---------------------------------------------------------------

root@IBM1:/var/cache/bind/internal# nslookup 18p (NO .ca?)
;; Got SERVFAIL reply from 192.168.1.106, trying next server
Server: 192.168.1.106
Address: 192.168.1.106#53

** server can't find 18p: NXDOMAIN
------------------------------------------------------------
Above.....I forgot to type in .ca on the end and my server responded?

root@IBM1:/var/cache/bind/internal# nslookup 18p.ca
;; Got SERVFAIL reply from 192.168.1.106, trying next server
Server: 192.168.1.107
Address: 192.168.1.107#53

*** Can't find 18p.ca: No answer
----------------------------------------------------------------
When I do the nslookup (18p.ca) my first server has a SERVFAIL message. Here is my setup.

/etc/hosts FILE----------------------------------

127.0.0.1 localhost.localdomain localhost
192.168.1.106 IBM1.18p.ca IBM1

# 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


/etc/bind/named.conf.options FILE--------------------------

query-source address * port 53;
forwarders {
206.248.154.22; 69.28.199.126;
};

/etc/resolv.conf FILE------------------------------------

search 18p.ca
nameserver 192.168.1.106
nameserver 192.168.1.107
nameserver 206.248.154.22
nameserver 69.28.199.126
nameserver 192.168.1.1
domain 18p.ca

/etc/bind/named.conf.local FILE--------------------------------

acl internals {
127.0.0.0/8;
192.168.1.106/24;
192.168.1.1/24;
};
view "internal" {
match-clients { internals; };
recursion yes;
zone "18p.ca" {
type master;
file "/var/cache/bind/internal/18p.ca";
};
zone "1.168.192.in-addr.arpa" {
type master;
file "/var/cache/bind/internal/1.168.192.in-addr.arpa";
};
};
view "external" {
match-clients { any; };
recursion no;
zone "18p.ca" {
type master;
file "/var/cache/bind/external/18p.ca";
};
};


/var/cache/bind/external/18p.ca FILE------------------------------

; 18p.ca
$TTL 604800
@ IN SOA IBM1.18p.ca. 18p.ca. (
2006020201 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800); Negative Cache TTL
;
@ IN NS IBM1
IN MX 10 mail
;
IN A 206.248.137.128
IBM1 IN A 206.248.137.128
mail IN A 206.248.137.128 ; We have our mail server somewhere else.
www IN A 206.248.137.128
static IN A 206.248.137.128

/var/cache/bind/internal/18p.ca FILE---------------------------------

;18p.ca internal.db
$TTL 604800
@ IN SOA IBM1.18p.ca. admin.18p.ca. (
2006020202 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800); Negative Cache TTL
;
@ IN NS IBM1
IN MX 10 mail
IN A 192.168.1.106
IBM1 IN A 192.168.1.106
mail IN A 192.168.1.106
ftp IN A 192.168.1.106
www IN A 192.168.1.106


/var/cache/bind/internal/1.168.192.in-addr.arpa FILE-------------------

; 1.168.192.in-addr.arpa IBM1.18p.ca
$TTL 86400
@ IN SOA 18p.ca. admin.18p.ca. (
200601301 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
86400 ) ; Negative Cache TTL
IN NS IBM1.18p.ca.
106 PTR IBM1.18p.ca.
; put your fixed ip devices here...the last digits in the address a.b.c.xx
; 10 PTR vox.example.org.
; 15 PTR static.example.org


I can get my DNS running with /etc/init.d/bind9 restart but I don't know where to look for the log file or how to understand the errors.
Reply With Quote
  #4 (permalink)  
Old 05-26-2009, 08:14 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Use only the IP address of your DNS server that's installed on the Zimbra server in your resolv.conf, you should also use a hostname that's all lowercase. Post the output of the following:

Code:
cat /etc/hosts
cat /etc/resolv/conf
dig yourdomain.com mx
dig yourdomain.com any
host `hostname` <-- use backticks not single quotes
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 05-26-2009, 08:53 AM
Junior Member
 
Posts: 6
Default

# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.1.106 IBM1.18p.ca IBM1

# 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
search 18p.ca
nameserver 192.168.1.106
# nameserver 192.168.1.107
# nameserver 206.248.154.22
# nameserver 69.28.199.126
# nameserver 192.168.1.1
# domain 18p.ca

# dig 18p.ca mx

; <<>> DiG 9.4.2-P2 <<>> 18p.ca mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 17053
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;18p.ca. IN MX

;; Query time: 1 msec
;; SERVER: 192.168.1.106#53(192.168.1.106)
;; WHEN: Tue May 26 11:39:34 2009
;; MSG SIZE rcvd: 33

# dig 18p.ca any

; <<>> DiG 9.4.2-P2 <<>> 18p.ca any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 26520
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;18p.ca. IN ANY

;; Query time: 1 msec
;; SERVER: 192.168.1.106#53(192.168.1.106)
;; WHEN: Tue May 26 11:41:02 2009
;; MSG SIZE rcvd: 33

# host `hostname`
Host IBM1.18p.ca.18p.ca not found: 2(SERVFAIL)

Ok I made the change to the resolv.conf file for 1 server, I didn't change the host name in to all lowercase as I am not sure all the files it will effect.

# host `hostname`
root@IBM1:/var# Host IBM1.18p.ca.18p.ca not found: 2(SERVFAIL)
bash: syntax error near unexpected token `('

and now # host `hostname` has no reply just brings me back to the cammand prompt

# nslookup 18p.ca
Server: 192.168.1.106
Address: 192.168.1.106#53

** server can't find 18p.ca.18p.ca: SERVFAIL

And now nslookup is is coming back with the server working from 106,
not sure if this is ok tho (** server can't find 18p.ca.18p.ca: SERVFAIL)
Reply With Quote
  #6 (permalink)  
Old 05-26-2009, 09:35 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Those results indicate you have no A or MX records defined in the DNS server that's installed on this IP address: 192.168.1.106 You also did not change the FQDN of your server in the hosts file to lower case, please fix those problems.
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 05-26-2009, 11:33 AM
Junior Member
 
Posts: 6
Default

well I tried to change the hostname in the host file to lowercase but when I reboot it comes up in uppercase again, so I don't know what to change, I am going to reload ubuntu again and start a new install.
Reply With Quote
  #8 (permalink)  
Old 05-26-2009, 12:59 PM
Moderator
 
Posts: 7,929
Default

/etc/hostname
__________________
Reply With Quote
  #9 (permalink)  
Old 05-28-2009, 07:53 AM
Junior Member
 
Posts: 6
Default

Can someone tell me how I would get bind to see some files that are listed below, being a split dns. my server still says IBM1 when it should be lowercase, I have tried to change it but my changes haven't worked.

named.conf.local---------------------------------------------

acl internals {
127.0.0.0/8;
192.168.1.1/24;
};
view "internal" {
match-clients { internals; };
recursion yes;
zone "tetrasomy18p.ca" {
type master;
file "/var/cache/bind/internal/tetrasomy18p.ca";
};
zone "1.168.192.in-addr.arpa" {
type master;
file "/var/cache/bind/internal/1.168.192.in-addr.arpa";
};
};
view "external" {
match-clients { any; };
recursion no;
zone "tetrasomy18p.ca" {
type master;
file "/var/cache/bind/external/tetrasomy18p.ca";
};
};
-----------------------------------------------------------------------


May 28 10:02:30 IBM1 named[6651]: zone tetrasomy18p.ca/IN/internal: loading from master file /var/cache/bind/internal/tetrasomy18p.ca failed: file not found
May 28 10:02:30 IBM1 named[6651]: zone tetrasomy18p.ca/IN/external: loading from master file /var/cache/bind/external/tetrasomy18p.ca failed: file not found
May 28 10:02:30 IBM1 named[6651]: running
May 28 10:07:58 IBM1 named[6651]: shutting down: flushing changes
May 28 10:07:58 IBM1 named[6651]: stopping command channel on 127.0.0.1#953
May 28 10:07:58 IBM1 named[6651]: stopping command channel on ::1#953
May 28 10:07:58 IBM1 named[6651]: no longer listening on ::#53
May 28 10:07:58 IBM1 named[6651]: no longer listening on 127.0.0.1#53
May 28 10:07:58 IBM1 named[6651]: no longer listening on 192.168.1.106#53
May 28 10:07:58 IBM1 named[6651]: exiting
May 28 10:08:00 IBM1 named[6721]: starting BIND 9.4.2-P2 -u bind -t /var/lib/named
May 28 10:08:00 IBM1 named[6721]: found 1 CPU, using 1 worker thread
May 28 10:08:00 IBM1 named[6721]: loading configuration from '/etc/bind/named.conf'
May 28 10:08:00 IBM1 named[6721]: /etc/bind/named.conf:12: when using 'view' statements, all zones must be in views
May 28 10:08:00 IBM1 named[6721]: listening on IPv6 interfaces, port 53
May 28 10:08:00 IBM1 named[6721]: listening on IPv4 interface lo, 127.0.0.1#53
May 28 10:08:00 IBM1 named[6721]: listening on IPv4 interface eth0, 192.168.1.106#53
May 28 10:08:00 IBM1 named[6721]: /etc/bind/named.conf.options:4: using specific query-source port suppresses port randomization and can be insecure.
May 28 10:08:00 IBM1 named[6721]: automatic empty zone: view internal: 127.IN-ADDR.ARPA
May 28 10:08:00 IBM1 named[6721]: automatic empty zone: view internal: 254.169.IN-ADDR.ARPA
May 28 10:08:00 IBM1 named[6721]: automatic empty zone: view internal: 2.0.192.IN-ADDR.ARPA
May 28 10:08:00 IBM1 named[6721]: automatic empty zone: view internal: 255.255.255.255.IN-ADDR.ARPA
May 28 10:08:00 IBM1 named[6721]: automatic empty zone: view internal: 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.0.0.0.IP6.ARPA
May 28 10:08:00 IBM1 named[6721]: automatic empty zone: view internal: 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0. 0.0.0.0.0.0.0.IP6.ARPA
May 28 10:08:00 IBM1 named[6721]: automatic empty zone: view internal: D.F.IP6.ARPA
May 28 10:08:00 IBM1 named[6721]: automatic empty zone: view internal: 8.E.F.IP6.ARPA
May 28 10:08:00 IBM1 named[6721]: automatic empty zone: view internal: 9.E.F.IP6.ARPA
May 28 10:08:00 IBM1 named[6721]: automatic empty zone: view internal: A.E.F.IP6.ARPA
May 28 10:08:00 IBM1 named[6721]: automatic empty zone: view internal: B.E.F.IP6.ARPA
May 28 10:08:00 IBM1 named[6721]: /etc/bind/named.conf.options:4: using specific query-source port suppresses port randomization and can be insecure.
May 28 10:08:00 IBM1 named[6721]: /etc/bind/named.conf.options:4: using specific query-source port suppresses port randomization and can be insecure.
May 28 10:08:00 IBM1 named[6721]: command channel listening on 127.0.0.1#953
May 28 10:08:00 IBM1 named[6721]: command channel listening on ::1#953
May 28 10:08:00 IBM1 named[6721]: zone 1.168.192.in-addr.arpa/IN/internal: loading from master file /var/cache/bind/internal/1.168.192.in-addr.arpa failed: file not found
May 28 10:08:00 IBM1 named[6721]: zone tetrasomy18p.ca/IN/internal: loading from master file /var/cache/bind/internal/tetrasomy18p.ca failed: file not found
May 28 10:08:00 IBM1 named[6721]: zone tetrasomy18p.ca/IN/external: loading from master file /var/cache/bind/external/tetrasomy18p.ca failed: file not found
Reply With Quote
  #10 (permalink)  
Old 05-28-2009, 09:45 PM
Junior Member
 
Posts: 6
Default

Does anyone know why my server can not see the files listed in the above post even tho they are all correct in the named.conf.local file, do I need to touch or symlink anything?
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.