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 07-17-2009, 12:46 PM
Junior Member
 
Posts: 6
Unhappy [SOLVED] Ubuntu 8.04 64 + Zimbra 5.018

Hello,

I tried to install zimbra the 20th time now. I edited my hosts file and tried it with installing bind9 but It doesn't run.

I (try to) run zimbra on a Ubuntu 8.04 64bit minimal installation root server

Here the error message in the log file:

Code:
ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
Fri Jul 17 18:30:29 2009 *** Running as zimbra user: /opt/zimbra/bin/zmprov mcf zimbraNotebookAccount wiki@rapidserv.de
ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
Fri Jul 17 18:30:32 2009 *** Running as zimbra user: /opt/zimbra/bin/zmprov in wiki@rapidserv.de
ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
Fri Jul 17 18:30:33 2009 *** 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)
Fri Jul 17 18:30:35 2009 failed to initialize documents...see logfile for details.
Fri Jul 17 18:30:35 2009 Restarting mailboxd...
my hosts file:
127.0.0.1 localhost.localdomain localhost
188.40.234.114 rapidserv.de rapidserv

host `hostname`
rapidserv.de has address 188.40.234.114
rapidserv.de mail is handled by 10 rapidserv.de.
seems to right..

zmsetup.07172009-182438.log

Sorry just found http://wiki.zimbra.com/index.php?tit..._Install_Guide
I hope this will help me..

Greetings HansBlix

Last edited by HansBlix; 07-17-2009 at 02:37 PM..
Reply With Quote
  #2 (permalink)  
Old 07-17-2009, 10:31 PM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Your host file is incorrect, it should contain the FQDN (Fully Qualified Domain Name) of your server. This file:

Code:
127.0.0.1 localhost.localdomain localhost
188.40.234.114 rapidserv.de rapidserv
should look like this:
Code:
127.0.0.1 localhost.localdomain localhost
188.40.234.114 mail.rapidserv.de mail
You will also need a Split DNS if your server is behind a NAT router or firewall, it's detailed in the wiki article you linked to. Your external DNS records will also need correcting to reflect the FQDN of the Zimbra server.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 07-22-2009, 09:12 AM
Junior Member
 
Posts: 6
Unhappy

Hello, thanks for the answer.

I installed it again like described in the wiki article, the webinterface on mail.rapidserv.de shows up now, but when I try to login it says:

???remote.CONNECT_FAILURE???

During the installation I also got these errors (again):

Code:
(..)
ERROR: account.DOMAIN_EXISTS (domain already exists: rapidserv.de)(..)
Code:
ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
Mon Jul 20 18:27:33 2009 *** Running as zimbra user: /opt/zimbra/bin/zmprov mcf zimbraNotebookAccount wiki@rapidserv.de
ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
Mon Jul 20 18:27:33 2009 *** Running as zimbra user: /opt/zimbra/bin/zmprov in wiki@rapidserv.de
ERROR: zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause: java.net.ConnectException Connection refused)
Mon Jul 20 18:27:34 2009 *** 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)
Mon Jul 20 18:27:39 2009 failed to initialize documents...see logfile for details.
Here are some configuration files which may be important to solve the problem:
I hope somebody can help me

hosts:
Code:
127.0.0.1 localhost.localdomain localhost
188.40.234.114 mail.rapidserv.de mail
named.conf.options:
Code:
options {
        directory "/var/cache/bind";

        //query-source address * port 53;

        forwarders {
                213.133.98.98; 213.133.100.100;
        };

        auth-nxdomain no;    # conform to RFC1035

};
named.conf.local:
Code:
        zone "rapidserv.de"  {
                type master;
                file "/etc/bind/db.rapidserv.de";
        };
resolv.conf:
Code:
nameserver 188.40.234.114
(the ip of my server)

db.rapidserv.de:
Code:
;
; BIND data file for mydomain.com
;
$TTL    604800
@       IN      SOA     mail.rapidserv.de. admin.rapidserv.de. (
                         090720         ; Serial
                         604800         ; Refresh
                          86400         ; Retry
                        2419200         ; Expire
                         604800 )       ; Negative Cache TTL
;
@       IN      NS      mail
        IN      MX      10 mail
        IN      A       188.40.234.114
mail    IN      A       188.40.234.114
setup log file:
zmsetup.07202009-181958.log
Reply With Quote
  #4 (permalink)  
Old 07-22-2009, 11:15 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Let's check the DNS first, post the output of the following command (run on the zimbra server):

Code:
cat /etc/hosts
cat /etc/resolv.conf
dig rapidserv.de mx
dig rapidserv.de any
host `hostname`  <-- type that exact command with backticks not single quotes
__________________
Regards


Bill

Last edited by uxbod; 07-22-2009 at 11:58 AM..
Reply With Quote
  #5 (permalink)  
Old 07-22-2009, 01:11 PM
Junior Member
 
Posts: 6
Default

Here are the outputs:

Code:
root@rapidserv:~# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
188.40.234.114 mail.rapidserv.de mail
Code:
root@rapidserv:~# cat /etc/resolv.conf
nameserver 188.40.234.114
Code:
root@rapidserv:~# dig rapidserv.de mx

; <<>> DiG 9.4.2 <<>> rapidserv.de mx
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 25861
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 13, ADDITIONAL: 1

;; QUESTION SECTION:
;rapidserv.de.                  IN      MX

;; ANSWER SECTION:
rapidserv.de.           86400   IN      MX      10 rapidserv.de.

;; AUTHORITY SECTION:
.                       302970  IN      NS      C.ROOT-SERVERS.NET.
.                       302970  IN      NS      H.ROOT-SERVERS.NET.
.                       302970  IN      NS      G.ROOT-SERVERS.NET.
.                       302970  IN      NS      A.ROOT-SERVERS.NET.
.                       302970  IN      NS      M.ROOT-SERVERS.NET.
.                       302970  IN      NS      E.ROOT-SERVERS.NET.
.                       302970  IN      NS      D.ROOT-SERVERS.NET.
.                       302970  IN      NS      K.ROOT-SERVERS.NET.
.                       302970  IN      NS      B.ROOT-SERVERS.NET.
.                       302970  IN      NS      L.ROOT-SERVERS.NET.
.                       302970  IN      NS      J.ROOT-SERVERS.NET.
.                       302970  IN      NS      I.ROOT-SERVERS.NET.
.                       302970  IN      NS      F.ROOT-SERVERS.NET.

;; ADDITIONAL SECTION:
rapidserv.de.           37797   IN      A       188.40.234.114

;; Query time: 26 msec
;; SERVER: 188.40.234.114#53(188.40.234.114)
;; WHEN: Wed Jul 22 20:05:45 2009
;; MSG SIZE  rcvd: 273
Code:
root@rapidserv:~# dig rapidserv.de any

; <<>> DiG 9.4.2 <<>> rapidserv.de any
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6433
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 13, ADDITIONAL: 1

;; QUESTION SECTION:
;rapidserv.de.                  IN      ANY

;; ANSWER SECTION:
rapidserv.de.           86380   IN      MX      10 rapidserv.de.
rapidserv.de.           37777   IN      A       188.40.234.114

;; AUTHORITY SECTION:
.                       302951  IN      NS      L.ROOT-SERVERS.NET.
.                       302951  IN      NS      J.ROOT-SERVERS.NET.
.                       302951  IN      NS      B.ROOT-SERVERS.NET.
.                       302951  IN      NS      G.ROOT-SERVERS.NET.
.                       302951  IN      NS      H.ROOT-SERVERS.NET.
.                       302951  IN      NS      D.ROOT-SERVERS.NET.
.                       302951  IN      NS      F.ROOT-SERVERS.NET.
.                       302951  IN      NS      C.ROOT-SERVERS.NET.
.                       302951  IN      NS      E.ROOT-SERVERS.NET.
.                       302951  IN      NS      A.ROOT-SERVERS.NET.
.                       302951  IN      NS      I.ROOT-SERVERS.NET.
.                       302951  IN      NS      M.ROOT-SERVERS.NET.
.                       302951  IN      NS      K.ROOT-SERVERS.NET.

;; ADDITIONAL SECTION:
rapidserv.de.           37778   IN      A       188.40.234.114

;; Query time: 45 msec
;; SERVER: 188.40.234.114#53(188.40.234.114)
;; WHEN: Wed Jul 22 20:06:05 2009
;; MSG SIZE  rcvd: 289
Code:
root@rapidserv:~# host `hostname`
rapidserv.de has address 188.40.234.114
rapidserv.de mail is handled by 10 rapidserv.de.
Thanks for your help

Regards HansBlix
Reply With Quote
  #6 (permalink)  
Old 07-22-2009, 01:19 PM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Your A & MX records are incorrect, they should look like this:

Code:
rapidserv.de.           86380   IN      MX      10 mail.rapidserv.de.

mail.rapidserv.de.           37797   IN      A       188.40.234.114
Make those changes and see if that fixes your problem.
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 07-23-2009, 06:32 AM
Junior Member
 
Posts: 6
Default

It seem to work now!
Thanks a lot.

But what is about the failed to initialize documents error during the installation, I think antispam and antivirus doesn't work because of that..

Code:
zmcontrol status
Host rapidserv.de
        antispam                Stopped
                zmamavisdctl is not running
        antivirus               Stopped
                zmamavisdctl is not running
        ldap                    Running
        logger                  Running
        mailbox                 Running
        mta                     Running
        snmp                    Running
        spell                   Running
        stats                   Running
any suggestions?

===============

The server has just not enough RAM, so I deactived the logger, antivirus and antispam the rest works properly now

Thanks again and a nice weekend

Regars HansBlix

Last edited by HansBlix; 07-24-2009 at 04:36 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.