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 03-12-2009, 12:50 AM
Starter Member
 
Posts: 2
Default install stuck on initializing documents

hi all
i've been trying to install zcs on ubuntu 8.04LTS following the howtoforge guide for the last 24 hours. Every time I install it, it gets through the entire install with no issues (as far as I can tell) but then when trying to start services, it simply hangs on Initializing documents. At first I thought it may be a DNS issue as that is what a lot of people on these forums seem to have issues with, but I'm pretty sure I've got it all setup right...

this is from the machine i'm trying to install zimbra on...

root@zimbra:/tmp# cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 zimbra.renegatus.net.au zimbra.renegatus .net.au
10.0.0.5 zimbra.renegatus.net.au zimbra.renegatus .net.au
60.241.98.81 zimbra.renegatus.net.au zimbra.renegatus

root@zimbra:/tmp# cat /etc/hostname
zimbra.renegatus.net.au

root@zimbra:/tmp# cat /etc/resolv.conf
search renegatus.local
nameserver 10.0.0.3


root@zimbra:/tmp# dig mx zimbra.renegatus.net.au

; <<>> DiG 9.4.2-P2 <<>> mx zimbra.renegatus.net.au
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5088
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;zimbra.renegatus.net.au. IN MX

;; AUTHORITY SECTION:
renegatus.net.au. 3600 IN SOA dc.renegatus.local. hostmaster.renegatus.local. 3 900 600 86400 3600

;; Query time: 2133 msec
;; SERVER: 10.0.0.3#53(10.0.0.3)
;; WHEN: Tue Mar 10 17:31:29 2009
;; MSG SIZE rcvd: 106


I run a .local windows 2003 domain. I have setup a dns zone for renegatus.net.au and put in both an A and MX record for zimbra.renegatus.net.au...despite this, whenever I start the install, it always complains about not being able to resolve my dns...even though my internal windows dns is setup correctly and my external mx records are also pointing to the right direction.

This is the output for the zimbra install log...notice initilising documents doesn't fail, it just sits there...I did an install a couple of days ago and left it overnight and the next morning it was still just sitting there...

Tue Mar 10 16:58:31 2009 Finished installing common zimlets.
Tue Mar 10 16:58:31 2009 checking isEnabled zimbra-store
Tue Mar 10 16:58:31 2009 zimbra-store is enabled
Tue Mar 10 16:58:37 2009 COS attribute retrieved for COS default: zimbraFeatureNotebookEnabled=TRUE
Tue Mar 10 16:58:37 2009 Initializing Documents...
Tue Mar 10 16:58:38 2009 *** Running as zimbra user: /opt/zimbra/bin/zmprov mc default zimbraFeatureNotebookEnabled TRUE

If anyone could be of any help I really would appriciate it. I'm looking to replace exchange 2007 with zimbra but obviously I need to at least get it running first! ;-)

Thanks in advance!
Reply With Quote
  #2 (permalink)  
Old 03-12-2009, 08:38 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Your hosts file is incorrect, it should look like this (as per the Quick Start Installation Guide):

Code:
127.0.1.1 localhost.localdomain localhost
10.0.0.5 zimbra.renegatus.net.au zimbra
The correct commands to use for a dig would therefore be:

Code:
dig renegatus.net.au mx
dig renegatus.net.au any
and you should also try this:

Code:
host `hostname`  <--type that exactly and use backticks not single quotes
Those commands should all be run on the Zimbra server.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 03-12-2009, 09:14 PM
Starter Member
 
Posts: 2
Default hi bill

thanks for that, worked a treat! Sorry i'm used to setting up host records for LAMP servers, should of read the doco better, my apoligies!
Reply With Quote
  #4 (permalink)  
Old 03-13-2009, 03:09 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Quote:
Originally Posted by evano666 View Post
thanks for that, worked a treat! Sorry i'm used to setting up host records for LAMP servers, should of read the doco better, my apoligies!
No problem, glad it worked.
__________________
Regards


Bill
Reply With Quote
  #5 (permalink)  
Old 03-14-2009, 04:34 PM
Project Contributor
 
Posts: 106
Default

Hi, all. I have the same issue, help me please.

root@wolfroma:/home/roma/distr/zimbra/zcs# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
10.8.16.1 wolfroma.xxxxx.xxx wolfroma

root@wolfroma:/home/roma/distr/zimbra/zcs# cat /etc/resolv.conf
nameserver 217.170.80.83
nameserver 81.222.223.6
### BEGIN INFO
#
# Modified_by: NetworkManager
# Process: /usr/bin/NetworkManager
# Process_id: 4967
#
### END INFO

search eltel.net

root@wolfroma:/home/roma/distr/zimbra/zcs# dig wolfroma.xxxxx.xxx mx

; <<>> DiG 9.4.2-P2 <<>> wolfroma.xxxxx.xxx mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49214
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;wolfroma.xxxxx.xxx. IN MX

;; AUTHORITY SECTION:
xxxxx.xxx. 600 IN SOA ns1.xxxxx.xxx. hostmaster.xxxxx.xxx. 2057835158 600 300 604800 600

;; Query time: 42 msec
;; SERVER: 217.170.80.83#53(217.170.80.83)
;; WHEN: Sun Mar 15 02:31:16 2009
;; MSG SIZE rcvd: 97

root@wolfroma:/home/roma/distr/zimbra/zcs# dig wolfroma.xxxxx.xxx any

; <<>> DiG 9.4.2-P2 <<>> wolfroma.xxxxx.xxx any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9030
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 5, ADDITIONAL: 5

;; QUESTION SECTION:
;wolfroma.xxxxx.xxx. IN ANY

;; ANSWER SECTION:
wolfroma.xxxxx.xxx. 60 IN A 85.249.11.111

;; AUTHORITY SECTION:
xxxxx.xxx. 50054 IN NS ns4.xxxxx.xxx.
xxxxx.xxx. 50054 IN NS ns5.xxxxx.xxx.
xxxxx.xxx. 50054 IN NS ns1.xxxxx.xxx.
xxxxx.xxx. 50054 IN NS ns2.xxxxx.xxx.
xxxxx.xxx. 50054 IN NS ns3.xxxxx.xxx.

;; ADDITIONAL SECTION:
ns1.xxxxx.xxx. 52 IN A 63.208.196.90
ns2.xxxxx.xxx. 1117 IN A 204.13.249.75
ns3.xxxxx.xxx. 64781 IN A 208.78.69.75
ns4.xxxxx.xxx. 64781 IN A 91.198.22.75
ns5.xxxxx.xxx. 64781 IN A 203.62.195.75

;; Query time: 42 msec
;; SERVER: 217.170.80.83#53(217.170.80.83)
;; WHEN: Sun Mar 15 02:31:31 2009
;; MSG SIZE rcvd: 232

root@wolfroma:/home/roma/distr/zimbra/zcs# host `hostname`
wolfroma.xxxxx.xxx has address 85.249.11.111
__________________
ZimbraFunambol Connector: http://sourceforge.net/projects/zimbrafunambol/
Reply With Quote
  #6 (permalink)  
Old 03-15-2009, 03:33 AM
Project Contributor
 
Posts: 106
Default

How I can skip this step for initializing documents? Or How I can disable it, for complete working of zimbra?

I want zimgra only for testion purpouse...
please help.

Thank in advance
__________________
ZimbraFunambol Connector: http://sourceforge.net/projects/zimbrafunambol/
Reply With Quote
  #7 (permalink)  
Old 03-15-2009, 06:29 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Quote:
Originally Posted by wolfroma View Post
Hi, all. I have the same issue, help me please.
It's called a Split DNS and is covered in this wiki article.

Quote:
Originally Posted by wolfroma View Post
root@wolfroma:/home/roma/distr/zimbra/zcs# cat /etc/resolv.conf
nameserver 217.170.80.83
nameserver 81.222.223.6
The only entries required in the resolv.conf is the one that points to your LAN DNS server not any external server and the 'search statement, see the Split DNS article.


Quote:
Originally Posted by wolfroma View Post
root@wolfroma:/home/roma/distr/zimbra/zcs# dig wolfroma.xxxxx.xxx mx
When you do a dig command you sue the domain name not the FQDN of your server. In your example it should be 'dig xxxxx.xxx mx'

Quote:
Originally Posted by wolfroma View Post
root@wolfroma:/home/roma/distr/zimbra/zcs# host `hostname`
wolfroma.xxxxx.xxx has address 85.249.11.111
That response would be because you don't have a Split DNS and are using an external DNS server. The steps to fix and diagnose this type of problem have been covered ad infinitum in the forums.
__________________
Regards


Bill
Reply With Quote
  #8 (permalink)  
Old 03-16-2009, 07:31 AM
Project Contributor
 
Posts: 106
Default

Thanks on answer,
I spend much time on bind9 and finally a take this:

Code:
roma@wolfroma:~$ dig example.com

; <<>> DiG 9.4.2-P2 <<>> example.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2168
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

;; QUESTION SECTION:
;example.com.                   IN      A

;; ANSWER SECTION:
example.com.            2592000 IN      A       10.8.16.1

;; AUTHORITY SECTION:
example.com.            2592000 IN      NS      pserver.example.com.

;; ADDITIONAL SECTION:
pserver.example.com.    2592000 IN      A       10.8.16.1

;; Query time: 0 msec
;; SERVER: 10.8.16.1#53(10.8.16.1)
;; WHEN: Mon Mar 16 17:27:17 2009
;; MSG SIZE  rcvd: 83
Code:
roma@wolfroma:~$ dig example.com any

; <<>> DiG 9.4.2-P2 <<>> example.com any
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10122
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 1

;; QUESTION SECTION:
;example.com.                   IN      ANY

;; ANSWER SECTION:
example.com.            2592000 IN      SOA     pserver.example.com. hostmaster.pserver.example.com.example.com. 12 43200 3600 3600000 2592000
example.com.            2592000 IN      NS      pserver.example.com.
example.com.            2592000 IN      A       10.8.16.1
example.com.            2592000 IN      MX      10 pserver.example.com.

;; ADDITIONAL SECTION:
pserver.example.com.    2592000 IN      A       10.8.16.1

;; Query time: 0 msec
;; SERVER: 10.8.16.1#53(10.8.16.1)
;; WHEN: Mon Mar 16 17:36:28 2009
;; MSG SIZE  rcvd: 166
I think this correct, please confirm...
If it's correct then I will try to reinstall zimbra
__________________
ZimbraFunambol Connector: http://sourceforge.net/projects/zimbrafunambol/

Last edited by wolfroma; 03-16-2009 at 07:34 AM..
Reply With Quote
  #9 (permalink)  
Old 03-16-2009, 07:37 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Please post the output of the following:

Code:
cat /etc/hosts
host `hostname`  <-- type that exactly and use backticks not single quotes.
If they give the correct answer then you should remove any current (this is a test install isn't it?) install with './install.sh -u' (that will remove everything) then reinstall.
__________________
Regards


Bill
Reply With Quote
  #10 (permalink)  
Old 03-16-2009, 08:07 AM
Project Contributor
 
Posts: 106
Default

Code:
roma@wolfroma:~$ cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
10.8.16.1 pserver.example.com pserver
Code:
root@pserver:~# host `hostname`
pserver.example.com has address 10.8.16.1
__________________
ZimbraFunambol Connector: http://sourceforge.net/projects/zimbrafunambol/

Last edited by wolfroma; 03-16-2009 at 08:38 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.