Install Zimbra

the good thing is that zimbra will check for all dependencies before install begins.
so we can install them before zimbra get installed.
http://www.zimbra.com/docs/os/latest/single_server_install/

on debian:

Checking for prerequisites...
    NPTL...FOUND
    sudo...FOUND sudo-1.6.8p12-4
    libidn11...FOUND libidn11-0.6.5-1
    curl...FOUND curl-7.15.5-1etch1
    fetchmail...FOUND fetchmail-6.3.6-1etch1
    libgmp3c2...FOUND libgmp3c2-2:4.2.1+dfsg-4
    libxml2...FOUND libxml2-2.6.27.dfsg-1
    libstdc++6...FOUND libstdc++6-4.1.1-21
    openssl...FOUND openssl-0.9.8c-4etch1
    libltdl3...FOUND libltdl3-1.5.22-4

error. now what!?

Initializing ldap...IO::Socket::INET: connect: Connection refused at /opt/zimbra/libexec/zmldapinit line 150.
FAILED (111)

ERROR

Configuration failed

Please address the error and re-run /opt/zimbra/libexec/zmsetup.pl to
complete the configuration.

Errors have been logged to /tmp/zmsetup.01012008-030149.log

stable release also error:

*** CONFIGURATION COMPLETE - press 'a' to apply
Select from menu, or press 'a' to apply config (? - help) a
Save configuration data to a file? [Yes]
Save config in file: [/opt/zimbra/config.15706]
Saving config in /opt/zimbra/config.15706...done.
The system will be modified - continue? [No] y
Operations logged to /tmp/zmsetup.01012008-085937.log
Setting local config values...done.
Setting up CA...done.
Creating SSL certificate...done.
Initializing ldap...IO::Socket::INET: connect: Connection refused at /opt/zimbra/libexec/zmldapinit line 158.
FAILED (111)

ERROR

Configuration failed

Please address the error and re-run /opt/zimbra/libexec/zmsetup.pl to
complete the configuration.

Errors have been logged to /tmp/zmsetup.01012008-085937.log

goebbels:/zcs-5.0.0_GA_1869.DEBIAN4.0.20071218200820#

the bugs is http://bugzilla.zimbra.com/show_bug.cgi?id=21073

it's not the bug after all.
the cause is that it cannot find the host.
so, add ip and host pair into /etc/hosts and it works.
better yet, you put a resolvable domain and host to make sure it work correctly.

so here's the steps from creating openvz ve and installing zimbra

vzctl create 123 --ostemplate debian-4.0-i386-minimal
vi /etc/vz/conf/123.conf
vzctl enter 123
passwd
vi /etc/hostname to change your hostname to fqdn
ping your hostname to make sure it's resolvable
apt-get update
apt-get upgrade
apt-get install perl libpcre3 libmagic1file sudo libidn11 curl fetchmail libgmp3c2 libxml2 libstdc++6 openssl libltdl3
curl http://files.zimbra.com/downloads/5.0.0_GA/zcs-5.0.0_GA_1869.DEBIAN4.0.20071218200820.tgz  -o "zcs-5.0.0_GA_1869.DEBIAN4.0.20071218200820.tgz" --retry 9 -C -
tar zxvf zcs-5.0.0_GA_1869.DEBIAN4.0.20071218200820.tgz
cd zcs-5.0.0_GA_1869.DEBIAN4.0.20071218200820
sh install.sh

follow the instructions and it should all be installed fine.
if you have dynamic public ip, then user your isp smtp for relay in mta global settings.

/etc/vz/conf/123.conf example

#  Copyright (C) 2000-2007 SWsoft. All rights reserved.
#
#  This program is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software
#  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
#

ONBOOT="yes"

# UBC parameters (in form of barrier:limit)
KMEMSIZE="30000000:30000000"
LOCKEDPAGES="256:256"
PRIVVMPAGES="2400000:2400000"
SHMPAGES="2048:2048"
NUMPROC="2000:2000"
PHYSPAGES="0:2147483647"
VMGUARPAGES="33792:2147483647"
OOMGUARPAGES="26112:2147483647"
NUMTCPSOCK="1000:1000"
NUMFLOCK="10000:10000"
NUMPTY="16:16"
NUMSIGINFO="256:256"
TCPSNDBUF="640000:650000"
TCPRCVBUF="640000:650000"
OTHERSOCKBUF="640000:650000"
DGRAMRCVBUF="262144:262144"
NUMOTHERSOCK="1000:1000"
DCACHESIZE="6291456:6291456"
NUMFILE="16384:16384"
AVNUMPROC="180:180"
NUMIPTENT="128:128"

# Disk quota parameters (in form of softlimit:hardlimit)
DISKSPACE="7340032:8074038"
DISKINODES="200000:220000"
QUOTATIME="0"

# CPU fair sheduler parameter
CPUUNITS="1000"

VE_ROOT="/vz/root/$VEID"
VE_PRIVATE="/vz/private/$VEID"
OSTEMPLATE="debian-4.0-i386-minimal"
ORIGIN_SAMPLE="vps.basic"
IP_ADDRESS="172.16.1.241"
NAMESERVER="172.16.1.1"
IPTABLES="ip_tables iptable_filter iptable_mangle ipt_limit ipt_multiport ipt_tos ipt_REJECT ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length "
Add a New Comment
or Sign in as Wikidot user
(will not be published)
- +
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License