Results 1 to 8 of 8

Thread: Upgrade 5.0.6 -> 5.0.8: failed to initialize documents

  1. #1
    Offermann is offline Intermediate Member
    Join Date
    Jan 2008
    Location
    Berlin, Germany
    Posts
    24
    Rep Power
    7

    Default Upgrade 5.0.6 -> 5.0.8: failed to initialize documents

    While upgrading from 5.0.6 to 5.0.8, I got
    Code:
    failed to initialize documents...see logfile for details.
    The logfile sais:
    Code:
    Sun Jul 20 13:42:34 2008 Initializing Documents...
    Sun Jul 20 13:42:34 2008 *** Running as zimbra user: /opt/zimbra/bin/zmprov mc default zimbraFeatureNotebookEnabled TRUE
    ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
    Sun Jul 20 13:42:35 2008 *** Running as zimbra user: /opt/zimbra/bin/zmprov mcf zimbraNotebookAccount wiki@there.com
    ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
    Sun Jul 20 13:42:37 2008 *** Running as zimbra user: /opt/zimbra/bin/zmprov in wiki@there.com
    ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
    Sun Jul 20 13:42:39 2008 *** Running as zimbra user: /opt/zimbra/bin/zmprov mc default zimbraFeatureNotebookEnabled FALSE
    ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
    Sun Jul 20 13:42:40 2008 failed to initialize documents...see logfile for details.
    Sun Jul 20 13:44:21 2008 *** Running as zimbra user: /opt/zimbra/bin/zmprov mc default zimbraFeatureNotebookEnabled TRUE
    ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
    Everything else worked fine. The server is running. Does anyone have any idea? Should I retry the failed commands by hand?

    Thanks, regards
    Philipp

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    What does the follwoing commands show?

    Code:
    host `hostname`  <-- copy paste that command 
    cat /etc/hosts file
    dig yourdomain.com mx
    dig yourdomain.com any
    Please post the output
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Offermann is offline Intermediate Member
    Join Date
    Jan 2008
    Location
    Berlin, Germany
    Posts
    24
    Rep Power
    7

    Default

    host `hostname`
    thielpark-com does not exist (Authoritative answer)
    That is because hostname is not the domain name. This works:
    host `hostname --fqdn`
    thielpark.com A 78.46.43.66
    cat /etc/hosts
    ### Hetzner Online AG installimage
    # nameserver config
    # IPv4
    127.0.0.1 localhost
    78.46.43.66 thielpark.com thielpark-com
    #
    # IPv6
    ::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: file: No such file or directory
    dig thielpark.com mx
    ; <<>> DiG 9.3.4-P1.1 <<>> thielpark.com mx
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7595
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;thielpark.com. IN MX

    ;; ANSWER SECTION:
    thielpark.com. 28584 IN MX 10 thielpark.com.

    ;; Query time: 2 msec
    ;; SERVER: 213.133.98.98#53(213.133.98.98)
    ;; WHEN: Sun Jul 20 16:40:40 2008
    ;; MSG SIZE rcvd: 47
    dig thielpark.com any
    ; <<>> DiG 9.3.4-P1.1 <<>> thielpark.com any
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 38408
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0

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

    ;; ANSWER SECTION:
    thielpark.com. 28555 IN NS ns1.domaindiscount24.net.
    thielpark.com. 28555 IN NS ns2.domaindiscount24.net.
    thielpark.com. 28555 IN NS ns3.domaindiscount24.net.

    ;; Query time: 1 msec
    ;; SERVER: 213.133.98.98#53(213.133.98.98)
    ;; WHEN: Sun Jul 20 16:41:09 2008
    ;; MSG SIZE rcvd: 105
    I do not quite see how this information relates to the question. Could you please explain?

    Thanks, regards
    Philipp

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    Quote Originally Posted by Offermann View Post
    I do not quite see how this information relates to the question. Could you please explain?
    It relates to your original question because your: a) hosts file is incorrect; b) you're not using an FQDN in the hosts file; c) you do not have correct DNS records.

    The FQDN of your server should consist of it's hostname (e.g. mail or whatever it's named) and your domain name, that would give you an FQDN of mail.thielpark-com. From that your hosts file should be as follows (as detailed in the Quick Start Guide):

    Code:
    127.0.0.1 localhost.localdomain localhost
    78.46.43.66 mail.thielpark.com mail
    and the DNS records should be corrected to conform to this naming scheme. I'm not even sure

    That's why the installation of Documents fails.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    Offermann is offline Intermediate Member
    Join Date
    Jan 2008
    Location
    Berlin, Germany
    Posts
    24
    Rep Power
    7

    Default

    Everyone please note: This discussion is also about a startup problem that seems related.

    Hello Bill,
    thank you for your answer. I changed the hostname to "mail" and the FQDN to "mail.thielpark.com". I now get:
    Code:
    mail:~# host `hostname`
    mail does not exist (Authoritative answer)
    Code:
    cat /etc/hosts
    ### Hetzner Online AG installimage
    # nameserver config
    # IPv4
    127.0.0.1 localhost
    78.46.43.66 mail.thielpark.com mail
    #
    # IPv6
    ::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
    Code:
    mail:~# dig thielpark.com mx
    
    ; <<>> DiG 9.3.4-P1.1 <<>> thielpark.com mx
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5843
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;thielpark.com.                 IN      MX
    
    ;; ANSWER SECTION:
    thielpark.com.          28800   IN      MX      10 mail.thielpark.com.
    
    ;; Query time: 51 msec
    ;; SERVER: 213.133.98.98#53(213.133.98.98)
    ;; WHEN: Sun Jul 20 18:31:54 2008
    ;; MSG SIZE  rcvd: 52
    Code:
    mail:~# dig thielpark.com any
    
    ; <<>> DiG 9.3.4-P1.1 <<>> thielpark.com any
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62101
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;thielpark.com.                 IN      ANY
    
    ;; ANSWER SECTION:
    thielpark.com.          28754   IN      NS      ns1.domaindiscount24.net.
    thielpark.com.          28754   IN      NS      ns2.domaindiscount24.net.
    thielpark.com.          28754   IN      NS      ns3.domaindiscount24.net.
    
    ;; Query time: 27 msec
    ;; SERVER: 213.133.98.98#53(213.133.98.98)
    ;; WHEN: Sun Jul 20 18:32:40 2008
    ;; MSG SIZE  rcvd: 105
    Is that correct?
    The ldap-problem during startup is still there. Any ideas? How serious is this problem? Should I revert to a backup (and loose some mails)?
    Thanks, regards
    Philipp

  6. #6
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    You seem to have no A record in your DNS, add a record for that. You also need to modify your hosts file slightly, change the following:

    Code:
    127.0.0.1 localhost
    to this

    Code:
    127.0.0.1 localhost.localdomain localhost
    You may need to reboot the server for the hostname change to take effect.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,201
    Rep Power
    56

    Default

    I see you do have an A record for the server, it should have the FQDN of the server not just the domain name.

    Code:
    thielpark.com.          28800   IN      A       78.46.43.66
    
    should be
    
    mail.thielpark.com.          28800   IN      A       78.46.43.66
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  8. #8
    Offermann is offline Intermediate Member
    Join Date
    Jan 2008
    Location
    Berlin, Germany
    Posts
    24
    Rep Power
    7

    Default

    Hi Bill,

    changed hosts:
    Code:
    mail:~# cat /etc/hosts
    ### Hetzner Online AG installimage
    # nameserver config
    # IPv4
    127.0.0.1 localhost.localdomain localhost
    78.46.43.66 mail.thielpark.com mail
    #
    # IPv6
    ::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
    Rebooted server. DNS entries seem to be ok:

    Code:
    mail:~# dig thielpark.com a
    
    ; <<>> DiG 9.3.4-P1.1 <<>> thielpark.com a
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2995
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;thielpark.com.                 IN      A
    
    ;; ANSWER SECTION:
    thielpark.com.          14490   IN      A       78.46.43.66
    
    ;; Query time: 8 msec
    ;; SERVER: 213.133.98.98#53(213.133.98.98)
    ;; WHEN: Sun Jul 20 19:15:17 2008
    ;; MSG SIZE  rcvd: 47
    Code:
    mail:~# dig mail.thielpark.com a
    
    ; <<>> DiG 9.3.4-P1.1 <<>> mail.thielpark.com a
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 11230
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;mail.thielpark.com.            IN      A
    
    ;; ANSWER SECTION:
    mail.thielpark.com.     28800   IN      A       78.46.43.66
    
    ;; Query time: 5 msec
    ;; SERVER: 213.133.98.98#53(213.133.98.98)
    ;; WHEN: Sun Jul 20 19:15:28 2008
    ;; MSG SIZE  rcvd: 52
    So also "mail.thielpark.com. 28800 IN A 78.46.43.66". Problem remains.

    Thanks, regards
    Philipp

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Problem with Mail Server - Need help!
    By joeleo in forum Installation
    Replies: 2
    Last Post: 03-04-2008, 12:03 PM
  2. My Zimbra server down ... please help :)
    By frankb in forum Administrators
    Replies: 2
    Last Post: 12-12-2007, 11:29 AM
  3. Upgrade: 4.5.5 -> 4.5.6 failed, LDAP/slapd issues
    By Daimyo in forum Installation
    Replies: 7
    Last Post: 08-04-2007, 09:23 PM
  4. Replies: 26
    Last Post: 02-12-2007, 07:23 PM
  5. 4.0 RC1 Documents initialization failed on upgrade
    By neilmc in forum Administrators
    Replies: 13
    Last Post: 10-05-2006, 02:46 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •