Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: fresh install on new debian vps, not working!

  1. #1
    janezek is offline Member
    Join Date
    Mar 2010
    Posts
    10
    Rep Power
    5

    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

  2. #2
    gettyless is offline Loyal Member
    Join Date
    Mar 2007
    Posts
    95
    Rep Power
    8

    Default

    maybe see what's in /var/log/zimbra.log. Also how much memory is being used?

  3. #3
    janezek is offline Member
    Join Date
    Mar 2010
    Posts
    10
    Rep Power
    5

    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

  4. #4
    gettyless is offline Loyal Member
    Join Date
    Mar 2007
    Posts
    95
    Rep Power
    8

    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.

  5. #5
    janezek is offline Member
    Join Date
    Mar 2010
    Posts
    10
    Rep Power
    5

    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.

  6. #6
    janezek is offline Member
    Join Date
    Mar 2010
    Posts
    10
    Rep Power
    5

    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

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

    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


    Acompli: A new adventure for Co-Founder KevinH.

  8. #8
    janezek is offline Member
    Join Date
    Mar 2010
    Posts
    10
    Rep Power
    5

    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

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

    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


    Acompli: A new adventure for Co-Founder KevinH.

  10. #10
    janezek is offline Member
    Join Date
    Mar 2010
    Posts
    10
    Rep Power
    5

    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?

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Fresh Zimbra installation does not work
    By Datax in forum Installation
    Replies: 4
    Last Post: 08-18-2008, 01:18 PM
  2. Appliance Install, root login not working
    By Harley77 in forum Installation
    Replies: 0
    Last Post: 03-08-2007, 09:00 AM
  3. RedHat EL4 fresh install
    By richard.bessey in forum Installation
    Replies: 1
    Last Post: 10-24-2006, 08:47 PM
  4. No startup script on fresh 3.1.1 install CentOS4
    By eger in forum Installation
    Replies: 4
    Last Post: 06-06-2006, 11:57 AM
  5. zimbra 3.1 in fresh RHEL4 install failiure LDAP
    By RageLink in forum Installation
    Replies: 2
    Last Post: 05-02-2006, 04:39 PM

Posting Permissions

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