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-2010, 06:06 AM
Member
 
Posts: 10
Default fresh install on new debian vps, not working!

hi!

i have zimbra open source edition, on vps Debian 5.0, the install goes smoothly only at the end i get:
Initializing Documents...failed to initialize documents...see logfile for details.

i cant login to web, the services are running, and i get this error:
zmprov
[] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[] INFO: Retrying request
ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)

i found out this similar error:
ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost)

but the thing is the VPS host has 4gb of memory, and my VPS client can access all of 4gb of real memory.

any ideas?
Kristijan
Reply With Quote
  #2 (permalink)  
Old 05-25-2010, 08:01 PM
Loyal Member
 
Posts: 92
Default

maybe see what's in /var/log/zimbra.log. Also how much memory is being used?
Reply With Quote
  #3 (permalink)  
Old 05-25-2010, 11:30 PM
Member
 
Posts: 10
Default

maybe i was too quick to blame it on vps, i found out in mailbox.log something like this ( it deletet all logs when i reinstall it )

mysql denied for user 'zimbra'@'mail.domain.com' using password YES

so i reinstall it, and in the middle when it created zimbra mysql password i did:

mysql

GRANT ALL PRIVILEGES ON zimbra.* TO zimbra@mail.domain.com IDENTIFIED BY 'created_password';

its still has some errors in zmsetup.log, but i can login in zimbra thrue web, still with errors on it, i think i didnt give it enought rights in mysql?

zmsetup.log:

Wed May 26 02:48:36 2010 done.
Wed May 26 02:48:36 2010 Finished installing common zimlets.
Wed May 26 02:48:36 2010 checking isEnabled zimbra-store
Wed May 26 02:48:36 2010 zimbra-store is enabled
Wed May 26 02:48:38 2010 Returning retrieved global config attribute zimbraNotebookAccount=
Wed May 26 02:48:38 2010 Returning cached cos config attribute for default: zimbraFeatureNotebookEnabled=TRUE
Wed May 26 02:48:38 2010 Initializing Documents...
Wed May 26 02:48:38 2010 *** Running as zimbra user: /opt/zimbra/bin/zmprov mc default zimbraFeatureNotebookEnabled TRUE
[] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[] INFO: Retrying request
ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
Wed May 26 02:48:41 2010 *** Running as zimbra user: /opt/zimbra/bin/zmprov mcf zimbraNotebookAccount wiki@mail.domain.com
[] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[] INFO: Retrying request
ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
Wed May 26 02:48:43 2010 *** Running as zimbra user: /opt/zimbra/bin/zmprov in wiki@mail.domain.com
[] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[] INFO: Retrying request
ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
Wed May 26 02:48:45 2010 *** Running as zimbra user: /opt/zimbra/bin/zmprov mc default zimbraFeatureNotebookEnabled FALSE
[] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[] INFO: Retrying request
ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
Wed May 26 02:48:47 2010 failed to initialize documents...see logfile for details.
Wed May 26 02:48:47 2010 Restarting mailboxd...
Wed May 26 02:48:47 2010 *** Running as zimbra user: /opt/zimbra/bin/zmmailboxdctl restart
Stopping mailboxd...done.

so it must be some kind of host error?
Kristijan
Reply With Quote
  #4 (permalink)  
Old 05-26-2010, 08:20 AM
Loyal Member
 
Posts: 92
Default

Try googling around for: zclient.IO_ERROR

Or maybe check this out if it helps:
ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost)

though from looking over a couple seems like it could be a not just one thing - though seems to be something solvable.
Reply With Quote
  #5 (permalink)  
Old 05-27-2010, 03:01 AM
Member
 
Posts: 10
Default

i have google it around it, and coudnt found any clues!

my hosts settings:

host `hostname`
mail.tovarnaidej.eu A 91.185.208.25

dig mail.tovarnaidej.eu mx

; <<>> DiG 9.5.1-P3 <<>> mail.tovarnaidej.eu mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46643
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3

;; QUESTION SECTION:
;mail.tovarnaidej.eu. IN MX

;; ANSWER SECTION:
mail.tovarnaidej.eu. 38400 IN MX 10 mx1.tovarnaidej.eu.

;; AUTHORITY SECTION:
tovarnaidej.eu. 38384 IN NS ns2.tovarnaidej.com.
tovarnaidej.eu. 38384 IN NS ns1.tovarnaidej.com.

;; ADDITIONAL SECTION:
mx1.tovarnaidej.eu. 38400 IN A 91.185.208.25
ns1.tovarnaidej.com. 35055 IN A 212.72.102.4
ns2.tovarnaidej.com. 35055 IN A 212.72.102.5

;; Query time: 2 msec
;; SERVER: 193.2.1.66#53(193.2.1.66)
;; WHEN: Thu May 27 11:58:40 2010
;; MSG SIZE rcvd: 156

dig mail.tovarnaidej.eu

; <<>> DiG 9.5.1-P3 <<>> mail.tovarnaidej.eu
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29270
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;mail.tovarnaidej.eu. IN A

;; ANSWER SECTION:
mail.tovarnaidej.eu. 38378 IN A 91.185.208.25

;; AUTHORITY SECTION:
tovarnaidej.eu. 38378 IN NS ns1.tovarnaidej.com.
tovarnaidej.eu. 38378 IN NS ns2.tovarnaidej.com.

;; ADDITIONAL SECTION:
ns1.tovarnaidej.com. 35049 IN A 212.72.102.4
ns2.tovarnaidej.com. 35049 IN A 212.72.102.5

;; Query time: 1 msec
;; SERVER: 193.2.1.66#53(193.2.1.66)
;; WHEN: Thu May 27 11:58:46 2010
;; MSG SIZE rcvd: 136

is anything wrong here?

i have similar problems with this wiki:

Issues with mysql and logmysql passwords - Zimbra :: Wiki

ERROR 1044: Access denied for user 'zimbra'@'localhost' to database 'zimbra_logger'

so the "--skip-grant-tables &" helps, but still have the problem with:

zmprov
[] INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused
[] INFO: Retrying request
ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)

not found anything useful on google, yet!

Kristijan

Edit:

so after couple of more hours in google / zimbra wiki, i foud out:

zimbra_zmprov_default_soap_server = mail.tovarnaidej.eu
fix most of my problems in admin, but now, i finaly try to login to webmail, and get this:

???remote.CONNECT_FAILURE???

no luck

Kristijan

Last edited by janezek; 05-27-2010 at 04:57 AM..
Reply With Quote
  #6 (permalink)  
Old 05-28-2010, 05:36 AM
Member
 
Posts: 10
Default

i check out logs bunch of times, nothing but this:

2010-05-28 14:25:39,782 INFO [btpool0-1://tovarnaidej.eu/zimbra/;jsessionid=b8qkaxbtbat4] [] HttpMethodDirector - I/O exception (java.net.ConnectException) caught when processing request: Connection refused
2010-05-28 14:25:39,782 INFO [btpool0-1://tovarnaidej.eu/zimbra/;jsessionid=b8qkaxbtbat4] [] HttpMethodDirector - Retrying request

i edited log4j.properties.in log4j.properties.in and replace all INFO with DEBUG
this is the log trying to login:

2010-05-28 14:25:30,458 DEBUG - Kristijan - GmZ5pxZ5 - Pastebin.com

admin login is working, only server process status is shown all X, but they are working

any help appreciated!
Kristijan
Reply With Quote
  #7 (permalink)  
Old 05-28-2010, 07:01 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

Your MX record currently looks like this:

Code:
mail.tovarnaidej.eu. 38400 IN MX 10 mx1.tovarnaidej.eu.
when it should look like this:

Code:
tovarnaidej.eu. 38400 IN MX 10 mx1.tovarnaidej.eu.
To check the validity of your DNS records run the following commands (on your Zimbra server):
Code:
cat /etc/hosts
cat /etc/resolv.conf
dig tovarnaidej.eu any
dig tovarnaidej.eu mx
host `hostname`  <- use that exact command with backticks not single quotes
FWIW, the results I get from the dig command a slightly different that yours:

Code:
dig tovarnaidej.eu any

; <<>> DiG 9.6.1-P3 <<>> tovarnaidej.eu any
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62964
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 3

;; QUESTION SECTION:
;tovarnaidej.eu.                        IN      ANY

;; ANSWER SECTION:
tovarnaidej.eu.         38387   IN      A       91.185.208.25
tovarnaidej.eu.         38387   IN      NS      ns1.tovarnaidej.com.
tovarnaidej.eu.         38387   IN      MX      10 tovarnaidej.eu.
tovarnaidej.eu.         38387   IN      NS      ns2.tovarnaidej.com.

;; ADDITIONAL SECTION:
ns2.tovarnaidej.com.    86387   IN      A       212.72.102.5
ns1.tovarnaidej.com.    86387   IN      A       212.72.102.4
tovarnaidej.eu.         38387   IN      A       91.185.208.25

;; Query time: 2 msec
;; SERVER: 192.168.1.10#53(192.168.1.10)
;; WHEN: Fri May 28 15:59:55 2010
;; MSG SIZE  rcvd: 163
Code:
dig tovarnaidej.eu mx

; <<>> DiG 9.6.1-P3 <<>> tovarnaidej.eu mx
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52397
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; QUESTION SECTION:
;tovarnaidej.eu.                        IN      MX

;; ANSWER SECTION:
tovarnaidej.eu.         38400   IN      MX      10 tovarnaidej.eu.

;; ADDITIONAL SECTION:
tovarnaidej.eu.         38400   IN      A       91.185.208.25

;; Query time: 1 msec
;; SERVER: 192.168.1.10#53(192.168.1.10)
;; WHEN: Fri May 28 15:59:58 2010
;; MSG SIZE  rcvd: 64
__________________
Regards


Bill
Reply With Quote
  #8 (permalink)  
Old 05-28-2010, 07:10 AM
Member
 
Posts: 10
Default

yeah, i change from mail.tovarnaidej.eu to just tovarnaidej.eu and fresh install it, still have to change mysql.server "--skip-grant-tables &" and change zmlocalconfig -e zimbra_zmprov_default_soap_server = tovarnaidej.eu

***********
cat /etc/hosts
# /etc/hosts

127.0.0.1 localhost localhost
91.185.208.25 tovarnaidej.eu tovarnaidej.eu
***********
cat /etc/resolv.conf
# Generated by net-scripts for interface lo
domain tovarnaidej.eu
nameserver 193.2.1.66
nameserver 193.2.1.72

***********
dig tovarnaidej.eu any

; <<>> DiG 9.5.1-P3 <<>> tovarnaidej.eu any
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61089
;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;tovarnaidej.eu. IN ANY

;; ANSWER SECTION:
tovarnaidej.eu. 15758 IN A 91.185.208.25
tovarnaidej.eu. 15758 IN MX 10 tovarnaidej.eu.
tovarnaidej.eu. 15758 IN NS ns2.tovarnaidej.com.
tovarnaidej.eu. 15758 IN NS ns1.tovarnaidej.com.

;; AUTHORITY SECTION:
tovarnaidej.eu. 15758 IN NS ns1.tovarnaidej.com.
tovarnaidej.eu. 15758 IN NS ns2.tovarnaidej.com.

;; ADDITIONAL SECTION:
ns1.tovarnaidej.com. 15969 IN A 212.72.102.4
ns2.tovarnaidej.com. 15969 IN A 212.72.102.5

;; Query time: 2 msec
;; SERVER: 193.2.1.66#53(193.2.1.66)
;; WHEN: Fri May 28 16:11:07 2010
;; MSG SIZE rcvd: 175

***********
dig tovarnaidej.eu mx

; <<>> DiG 9.5.1-P3 <<>> tovarnaidej.eu mx
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 36339
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3

;; QUESTION SECTION:
;tovarnaidej.eu. IN MX

;; ANSWER SECTION:
tovarnaidej.eu. 15740 IN MX 10 tovarnaidej.eu.

;; AUTHORITY SECTION:
tovarnaidej.eu. 15740 IN NS ns2.tovarnaidej.com.
tovarnaidej.eu. 15740 IN NS ns1.tovarnaidej.com.

;; ADDITIONAL SECTION:
tovarnaidej.eu. 15740 IN A 91.185.208.25
ns1.tovarnaidej.com. 15951 IN A 212.72.102.4
ns2.tovarnaidej.com. 15951 IN A 212.72.102.5

;; Query time: 1 msec
;; SERVER: 193.2.1.66#53(193.2.1.66)
;; WHEN: Fri May 28 16:11:25 2010
;; MSG SIZE rcvd: 147

***********
host `hostname`
tovarnaidej.eu A 91.185.208.25

Kristijan
Reply With Quote
  #9 (permalink)  
Old 05-28-2010, 07:23 AM
Zimbra Consultant & Moderator
 
Posts: 20,317
Default

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

Code:
127.0.0.1 localhost.localdomain localhost
91.185.208.25 mail.tovarnaidej.eu mail
Your DNS records are still incorrect, you should use the format for the MX record I gave you earlier and the A record should reference the FQDN of your mail server i.e. mail.tovarnaidej.eu
__________________
Regards


Bill
Reply With Quote
  #10 (permalink)  
Old 05-28-2010, 07:52 AM
Member
 
Posts: 10
Default

i change mx record to
tovarnaidej.eu. IN MX 10 mx1.tovarnaidej.eu.

and add A record of mx1.tovarnaidej.eu

just have to wait for dns servers to sync

i change the servers domain from mail.tovarnaidej.eu to just tovarnaidej.eu, why must i have in hosts mail.tovarnaidej.eu?
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.