| 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.
|  | 
07-20-2008, 06:13 AM
| | Intermediate Member | |
Posts: 24
| | 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 | 
07-20-2008, 08:04 AM
| | Zimbra Consultant & Moderator | |
Posts: 11,517
| | 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
| 
07-20-2008, 08:45 AM
| | Intermediate Member | |
Posts: 24
| | host `hostname` Quote: |
thielpark-com does not exist (Authoritative answer)
| That is because hostname is not the domain name. This works:
host `hostname --fqdn` Quote: |
thielpark.com A 78.46.43.66
| cat /etc/hosts Quote:
### 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 Quote:
; <<>> 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 Quote:
; <<>> 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 | 
07-20-2008, 09:32 AM
| | Zimbra Consultant & Moderator | |
Posts: 11,517
| | Quote:
Originally Posted by Offermann 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
| 
07-20-2008, 10:36 AM
| | Intermediate Member | |
Posts: 24
| | 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 | 
07-20-2008, 10:53 AM
| | Zimbra Consultant & Moderator | |
Posts: 11,517
| | 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
| 
07-20-2008, 11:03 AM
| | Zimbra Consultant & Moderator | |
Posts: 11,517
| | 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
| 
07-20-2008, 11:18 AM
| | Intermediate Member | |
Posts: 24
| | 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 Tools | | | | Display Modes | Linear Mode | | Why Join? Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.  |