Upgrade Zimbra 5.0.10 ke Zimbra 6.0.6

| Posted in Linux Server, Zimbra

Banyak yang bingung kalau mau upgrade Zimbra dari versi 5 ke 6 apakah harus melalui prosedur upgrade ke versi 5 yang paling akhir dahulu , atau bisa langsung ke tanpa melewati route upgrade version tersebut. Misalnya Zimbra versi 5.0.10 harus diupgrade dahulu ke versi 5.0.23 dahulu baru ke versi 6.06.  Ternyata tidak perlu, karena dari versi 5.0.10 dapat langsung diupgrade ke versi 6 yang sampai penulisan tutorial ini sudah sampai versi 6.0.6 Hal ini saya ketahui dari melihat log proses upgrading dari versi 5.0.10 ke 6.0.6 dimana Zimbra secara teratur mengupdate sendiri table database mysql pada zimbra. Berikut cuplikan lognya updating tersebut  :

Updating from 5.0.11_GA
Updating from 5.0.12_GA
Updating from 5.0.13_GA
Updating from 5.0.14_GA
Updating from 5.0.15_GA
Updating from 5.0.16_GA
Updating from 5.0.17_GA
Updating from 5.0.18_GA
Updating from 5.0.19_GA
Updating from 5.0.20_GA
Updating from 5.0.21_GA
Updating from 5.0.22_GA
Updating from 5.0.23_GA
Updating from 6.0.0_BETA1
Updating from 6.0.0_RC1
Updating from 6.0.0_RC2
Updating from 6.0.0_GA
Updating from 6.0.1_GA
Updating from 6.0.2_GA
Updating from 6.0.3_GA
Updating from 6.0.4_GA
Updating from 6.0.5_GA
Updating from 6.0.6_GA

Ok, cukup segitu teorinya, btw  mail server teman yang pernah saya install tahun 2008 lalu menggunakan Zimbra 5.0.10 minta diupgrade ke Zimbra terbaru, dan perlu diketahui hampir 2 tahun ini tidak pernah ada kendala yang berarti menggunakan Zimbra 5.0.10, dengan user account di kantornya mencapai ratusan semua permintaan email keluar dan masuk dapat di tangani dengan baik, ini menunjukkan Mailserver menggunakan Zimbra cukup tangguh sebagai solusi mailserver opensources yang tidak memerlukan biaya lisensi mahal seperti Lotus atau Microsoft Exchange.

Adapun alasan updating ini adalah :

– Perbaikan bug-bug yang ditemukan pada versi Zimbra varsi 5 – Perbaikan komponen ClamAV dengan versi dibawah 0.95 – Perbaikan tampilan panel,content filter,calender,zimlets,address book,AJAX client,OpenLDAP,mysql,GALsync,dsb.

Proses upgrade Zimbra Open Source Edition 5.0.10 ke  Zimbra Open Source Edition 6.0.6  pada Server Linux Centos 5.0.2  dilakukan pada malam dini hari secara remote dengan langkah-langkah sebagai berikut :

Melihat versi Zimbra existing sebelum diupgrade :

[root@mail gtoms]# su zimbra
[zimbra@mail gtoms]$ zmcontrol -v
Release 5.0.10_GA_2638.RHEL5_20081003052615 CentOS5 FOSS edition

Shutdown Zimbra 5.0.10 production untuk memudahkan proses upgrade.

[zimbra@mail gtoms]$ zmcontrol stop
Host mail.indoxxxxx.co.id
Stopping stats…Done
Stopping mta…Done
Stopping spell…Done
Stopping snmp…Done
Stopping archiving…Done
Stopping antivirus…Done
Stopping antispam…Done
Stopping imapproxy…Done
Stopping mailbox…Done
Stopping logger…Done
Stopping ldap…Done

Memeriksa apakah masih ada services Zimbra dan komponen lain yang masih aktif, kalau ada harus di matikan :

[root@mail gtoms]# ps aux | grep zimbra
zimbra    2503  0.8  0.2   6280  4556 pts/1    S    22:55   0:02 /opt/zimbra/clamav/bin/freshclam—config-file=/opt/zimbra/conf/freshclam.conf
zimbra    2507  0.8  0.2   6272  4500 ?        Ss   22:55   0:02 /opt/zimbra/clamav/bin/freshclam—config-file=/opt/zimbra/conf/freshclam.conf -d—checks=12
root      5045  0.0  0.0   3912   668 pts/1    S+   22:59   0:00 grep zimbra
zimbra   17778  0.0  0.0   2968  1268 ?        Ss   Apr16   0:00 /opt/zimbra/clamav/bin/freshclam—config-file=/opt/zimbra/conf/freshclam.conf -d—checks=12
zimbra   17913  0.0  0.0   2968  1264 ?        Ss   Apr16   0:00 /opt/zimbra/clamav/bin/freshclam—config-file=/opt/zimbra/conf/freshclam.conf -d—checks=12
zimbra   19257  0.0  0.0   2896   700 ?        Ss   Apr16   0:00 /opt/zimbra/clamav/bin/freshclam—config-file=/opt/zimbra/conf/freshclam.conf -d—checks=12
[root@mail gtoms]#

[root@mail gtoms]# kill -9 2503
[root@mail gtoms]# kill -9 2507
[root@mail gtoms]# kill -9 17778
[root@mail gtoms]# kill -9 17913
[root@mail gtoms]# kill -9 19257
[root@mail gtoms]# ps aux | grep zimbra
root      5587  0.0  0.0   3908   660 pts/1    S+   23:00   0:00 grep zimbra
[root@mail gtoms]#

Setelah tidak ada service Zimbra yang aktif kita buat backup sederhana dahulu, melihat backup file yang existing sekitar 6 jam lalu.

[root@mail gtoms]# mkdir /backup
[root@mail opt]# cp -rp /opt /backup

[root@mail opt]# ls -l /backup/opt/zimbra
total 52536
lrwxrwxrwx   1 zimbra zimbra       29 Apr 17 20:51 amavisd -> /opt/zimbra/amavisd-new-2.5.4
drwxrwxr-x   4 zimbra zimbra     4096 Dec 19  2008 amavisd-new-2.5.4
drwxr-xr-x   6 zimbra zimbra     4096 Dec 19  2008 aspell-0.60.6
drwxr-xr-x   2 zimbra zimbra     4096 Dec 19  2008 backup

drwxr-xr-x   2 root   root       4096 Dec 19  2008 bin
———cut———————
Setelah selesai proses backup kita download versi Zimbra 6.0.6 dan sesuaikan dengan sistem operasi Linux nya, dalam hal ini saya mengunduh versi Red Hat Enterprise Linux 5 32 bit x86, dan jangan lupa verify md5 nya.

[root@mail gtoms]# wget http://files2.zimbra.com/downloads/6.0.6_GA/zcs-6.0.6_GA_2324.RHEL5.20100406144520.tgz
[root@mail gtoms]# ls
zcs-5.0.10_GA_2638.RHEL5.20081003052615  zcs-6.0.6_GA_2324.RHEL5.20100406144520.tgz  zcs.tgz
[root@mail gtoms]#

Memulai proses UPGRADING ZIMBRA, silahkan perhatikan baik-baik proses dibawah ini :

[root@mail gtoms]# tar xvzf zcs-6.0.6_GA_2324.RHEL5.20100406144520.tgz
zcs-6.0.6_GA_2324.RHEL5.20100406144520/
zcs-6.0.6_GA_2324.RHEL5.20100406144520/packages/
zcs-6.0.6_GA_2324.RHEL5.20100406144520/packages/zimbra-snmp-6.0.6_GA_2324.RHEL5-20100406144520.i386.rpm
zcs-6.0.6_GA_2324.RHEL5.20100406144520/packages/zimbra-store-6.0.6_GA_2324.RHEL5-20100406144520.i386.rpm
zcs-6.0.6_GA_2324.RHEL5.20100406144520/packages/zimbra-ldap-6.0.6_GA_2324.RHEL5-20100406144520.i386.rpm
zcs-6.0.6_GA_2324.RHEL5.20100406144520/packages/zimbra-memcached-6.0.6_GA_2324.RHEL5-20100406144520.i386.rpm
zcs-6.0.6_GA_2324.RHEL5.20100406144520/packages/zimbra-core-6.0.6_GA_2324.RHEL5-20100406144520.i386.rpm
zcs-6.0.6_GA_2324.RHEL5.20100406144520/packages/zimbra-apache-6.0.6_GA_2324.RHEL5-20100406144520.i386.rpm
zcs-6.0.6_GA_2324.RHEL5.20100406144520/packages/zimbra-logger-6.0.6_GA_2324.RHEL5-20100406144520.i386.rpm
zcs-6.0.6_GA_2324.RHEL5.20100406144520/packages/zimbra-spell-6.0.6_GA_2324.RHEL5-20100406144520.i386.rpm
zcs-6.0.6_GA_2324.RHEL5.20100406144520/packages/zimbra-proxy-6.0.6_GA_2324.RHEL5-20100406144520.i386.rpm
zcs-6.0.6_GA_2324.RHEL5.20100406144520/packages/zimbra-mta-6.0.6_GA_2324.RHEL5-20100406144520.i386.rpm
zcs-6.0.6_GA_2324.RHEL5.20100406144520/data/
zcs-6.0.6_GA_2324.RHEL5.20100406144520/data/versions-init.sql
zcs-6.0.6_GA_2324.RHEL5.20100406144520/bin/
zcs-6.0.6_GA_2324.RHEL5.20100406144520/bin/zmdbintegrityreport
zcs-6.0.6_GA_2324.RHEL5.20100406144520/bin/get_plat_tag.sh
zcs-6.0.6_GA_2324.RHEL5.20100406144520/readme_source_en_US.txt
zcs-6.0.6_GA_2324.RHEL5.20100406144520/README.txt
zcs-6.0.6_GA_2324.RHEL5.20100406144520/readme_binary_en_US.txt
zcs-6.0.6_GA_2324.RHEL5.20100406144520/install.sh
zcs-6.0.6_GA_2324.RHEL5.20100406144520/docs/
zcs-6.0.6_GA_2324.RHEL5.20100406144520/docs/zcl.txt
zcs-6.0.6_GA_2324.RHEL5.20100406144520/docs/en_US/
zcs-6.0.6_GA_2324.RHEL5.20100406144520/docs/en_US/OSmultiserverinstall.pdf
zcs-6.0.6_GA_2324.RHEL5.20100406144520/docs/en_US/ZWC User Guide for 5_0.pdf
zcs-6.0.6_GA_2324.RHEL5.20100406144520/docs/en_US/RNZCSO_2005Beta.pdf
zcs-6.0.6_GA_2324.RHEL5.20100406144520/docs/en_US/Zimbra iCalendar Migration Guide.pdf
zcs-6.0.6_GA_2324.RHEL5.20100406144520/docs/en_US/quick_start.pdf
zcs-6.0.6_GA_2324.RHEL5.20100406144520/docs/en_US/MigrationWizard_Domino.pdf
zcs-6.0.6_GA_2324.RHEL5.20100406144520/docs/en_US/admin.pdf
zcs-6.0.6_GA_2324.RHEL5.20100406144520/docs/en_US/User Instructions for ZCS Import Wizard.pdf
zcs-6.0.6_GA_2324.RHEL5.20100406144520/docs/en_US/Zimbra Schema.pdf
zcs-6.0.6_GA_2324.RHEL5.20100406144520/docs/en_US/MigrationWizard.pdf
zcs-6.0.6_GA_2324.RHEL5.20100406144520/docs/en_US/ZCS_Toaster.pdf
zcs-6.0.6_GA_2324.RHEL5.20100406144520/docs/en_US/Zimbra_Release_Note.pdf
zcs-6.0.6_GA_2324.RHEL5.20100406144520/docs/en_US/Import_Wizard_Outlook.pdf
zcs-6.0.6_GA_2324.RHEL5.20100406144520/docs/YPL.txt
zcs-6.0.6_GA_2324.RHEL5.20100406144520/docs/zimbra_public_eula_2.1.txt
zcs-6.0.6_GA_2324.RHEL5.20100406144520/util/
zcs-6.0.6_GA_2324.RHEL5.20100406144520/util/modules/
zcs-6.0.6_GA_2324.RHEL5.20100406144520/util/modules/packages.sh
zcs-6.0.6_GA_2324.RHEL5.20100406144520/util/modules/getconfig.sh
zcs-6.0.6_GA_2324.RHEL5.20100406144520/util/modules/postinstall.sh
zcs-6.0.6_GA_2324.RHEL5.20100406144520/util/utilfunc.sh
zcs-6.0.6_GA_2324.RHEL5.20100406144520/util/globals.sh
zcs-6.0.6_GA_2324.RHEL5.20100406144520/util/addUser.sh
[root@mail gtoms]#

[root@mail gtoms]# cd zcs-6.0.6_GA_2324.RHEL5.20100406144520
[root@mail zcs-6.0.6_GA_2324.RHEL5.20100406144520]# ls
bin  data  docs  install.sh  packages  readme_binary_en_US.txt  readme_source_en_US.txt  README.txt  util

[root@mail zcs-6.0.6_GA_2324.RHEL5.20100406144520]# ./install.sh

Operations logged to /tmp/install.log.5598
Checking for existing installation…
zimbra-ldap…FOUND zimbra-ldap-5.0.10_GA_2638
zimbra-logger…FOUND zimbra-logger-5.0.10_GA_2638
zimbra-mta…FOUND zimbra-mta-5.0.10_GA_2638
zimbra-snmp…FOUND zimbra-snmp-5.0.10_GA_2638
zimbra-store…FOUND zimbra-store-5.0.10_GA_2638
zimbra-apache…FOUND zimbra-apache-5.0.10_GA_2638
zimbra-spell…FOUND zimbra-spell-5.0.10_GA_2638
zimbra-convertd…NOT FOUND
zimbra-memcached…NOT FOUND
zimbra-proxy…NOT FOUND
zimbra-archiving…NOT FOUND
zimbra-cluster…NOT FOUND
zimbra-core…FOUND zimbra-core-5.0.10_GA_2638
ZCS upgrade from 5.0.10 to 6.0.6 will be performed.

Saving existing configuration file to /opt/zimbra/.saveconfig

PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE.
ZIMBRA, INC. (“ZIMBRA”) WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU
FIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLING
THE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY
THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS
AGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT.

License Terms for the Zimbra Collaboration Suite:
http://www.zimbra.com/license/zimbra_public_eula_2.1.html

Press Return to continue

Checking for prerequisites…
FOUND: NPTL
FOUND: sudo-1.6.8p12-12
FOUND: libidn-0.6.5-1.1
FOUND: gmp-4.1.4-10
FOUND: /usr/lib/libstdc++.so.6
Checking for suggested prerequisites…
FOUND: perl-5.8.8
MISSING: sysstat does not appear to be installed.

###WARNING###
The suggested version of one or more packages is not installed.
This could cause problems with the operation of Zimbra.

Do you wish to continue? [N]n
Exit? [N] y
Exiting.

Untuk mengatasi problem WARNING diatas kita install sysstat sebagai berikut :

[root@mail zcs-6.0.6_GA_2324.RHEL5.20100406144520]# yum install sysstat
Setting up Install Process
Parsing package install arguments
Resolving Dependencies—> Running transaction check—-> Package sysstat.i386 0:7.0.2-3.el5 set to be updated—> Finished Dependency Resolution

Dependencies Resolved
=========================================
Package                 Arch       Version          Repository        Size
=========================================
Installing:
sysstat                 i386       7.0.2-3.el5      base              169 k

Transaction Summary
========================================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)

Total download size: 169 k
Is this ok [y/N]: y
Downloading Packages:
(1/1): sysstat-7.0.2-3.el 100% |=====================| 169 kB    00:15
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: sysstat                      ######################### [1/1]

Installed: sysstat.i386 0:7.0.2-3.el5
Complete!
[root@mail zcs-6.0.6_GA_2324.RHEL5.20100406144520]#

Kemudian ULANGI  proses upgrade dengan menambah command  platform-override :

[root@mail zcs-6.0.6_GA_2324.RHEL5.20100406144520]# ./install.sh—platform-override

Operations logged to /tmp/install.log.8775
Checking for existing installation…
zimbra-ldap…FOUND zimbra-ldap-5.0.10_GA_2638
zimbra-logger…FOUND zimbra-logger-5.0.10_GA_2638
zimbra-mta…FOUND zimbra-mta-5.0.10_GA_2638
zimbra-snmp…FOUND zimbra-snmp-5.0.10_GA_2638
zimbra-store…FOUND zimbra-store-5.0.10_GA_2638
zimbra-apache…FOUND zimbra-apache-5.0.10_GA_2638
zimbra-spell…FOUND zimbra-spell-5.0.10_GA_2638
zimbra-convertd…NOT FOUND
zimbra-memcached…NOT FOUND
zimbra-proxy…NOT FOUND
zimbra-archiving…NOT FOUND
zimbra-cluster…NOT FOUND
zimbra-core…FOUND zimbra-core-5.0.10_GA_2638
ZCS upgrade from 5.0.10 to 6.0.6 will be performed.

Saving existing configuration file to /opt/zimbra/.saveconfig

PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE.
ZIMBRA, INC. (“ZIMBRA”) WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU
FIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLING
THE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY
THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS
AGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT.

License Terms for the Zimbra Collaboration Suite:
http://www.zimbra.com/license/zimbra_public_eula_2.1.html
Press Return to continue

Checking for prerequisites…
FOUND: NPTL
FOUND: sudo-1.6.8p12-12
FOUND: libidn-0.6.5-1.1
FOUND: gmp-4.1.4-10
FOUND: /usr/lib/libstdc++.so.6
Checking for suggested prerequisites…
FOUND: perl-5.8.8
FOUND: sysstat
Prerequisite check complete.
Checking current number of databases…

Do you want to verify message store database integrity? [Y] y
Verifying integrity of message store databases.  This may take a while.
mysqld is alive
No errors found
mysqld is alive
Killing mysqld with pid 9240  done.

Checking for installable packages
Found zimbra-core
Found zimbra-ldap
Found zimbra-logger
Found zimbra-mta
Found zimbra-snmp
Found zimbra-store
Found zimbra-apache
Found zimbra-spell
Found zimbra-memcached
Found zimbra-proxy

The Zimbra Collaboration Suite appears already to be installed.
It can be upgraded with no effect on existing accounts,
or the current installation can be completely removed prior
to installation for a clean install.

Do you wish to upgrade? [Y] y

Select the packages to install
Upgrading zimbra-core
Upgrading zimbra-ldap
Upgrading zimbra-logger
Upgrading zimbra-mta
Upgrading zimbra-snmp
Upgrading zimbra-store
Upgrading zimbra-apache
Upgrading zimbra-spell

Install zimbra-memcached [N] y
Install zimbra-proxy [N] y
Checking required space for zimbra-core
checking space for zimbra-store

Installing:
zimbra-core
zimbra-ldap
zimbra-logger
zimbra-mta
zimbra-snmp
zimbra-store
zimbra-apache
zimbra-spell
zimbra-memcached
zimbra-proxy

You appear to be installing packages on a platform different
than the platform for which they were built.

This platform is CentOS5
Packages found: RHEL5
This may or may not work.

Using packages for a platform in which they were not designed for
may result in an installation that is NOT usable. Your support
options may be limited if you choose to continue.

Install anyway? [N] y
The system will be modified.  Continue? [N] y
Shutting down zimbra mail
Backing up the ldap database…done.
Removing existing packages

zimbra-ldap…done
zimbra-logger…done
zimbra-mta…done
zimbra-snmp…done
zimbra-store…done
zimbra-spell…done
zimbra-apache…done
zimbra-core…done

Removing deployed webapp directories
Installing packages

zimbra-core…...zimbra-core-6.0.6_GA_2324.RHEL5-20100406144520.i386.rpm…done
zimbra-ldap…...zimbra-ldap-6.0.6_GA_2324.RHEL5-20100406144520.i386.rpm…done
zimbra-logger…...zimbra-logger-6.0.6_GA_2324.RHEL5-20100406144520.i386.rpm…done
zimbra-mta…...zimbra-mta-6.0.6_GA_2324.RHEL5-20100406144520.i386.rpm…done
zimbra-snmp…...zimbra-snmp-6.0.6_GA_2324.RHEL5-20100406144520.i386.rpm…done
zimbra-store…...zimbra-store-6.0.6_GA_2324.RHEL5-20100406144520.i386.rpm…done
zimbra-apache…...zimbra-apache-6.0.6_GA_2324.RHEL5-20100406144520.i386.rpm…done
zimbra-spell…...zimbra-spell-6.0.6_GA_2324.RHEL5-20100406144520.i386.rpm…done
zimbra-memcached…...zimbra-memcached-6.0.6_GA_2324.RHEL5-20100406144520.i386.rpm…done
zimbra-proxy…...zimbra-proxy-6.0.6_GA_2324.RHEL5-20100406144520.i386.rpm…done

Setting defaults from saved config in /opt/zimbra/.saveconfig/config.save
HOSTNAME=mail.indoxxxxx.co.id
LDAPHOST=mail.indoxxxxx.co.id
LDAPPORT=389
SNMPTRAPHOST=mail.indoxxxxx.co.id
SMTPSOURCE=admin@mail.indoxxxxx.co.id
SMTPDEST=admin@mail.indoxxxxx.co.id
SNMPNOTIFY=yes
SMTPNOTIFY=yes
LDAPROOTPW=8oZo98C3K
LDAPZIMBRAPW=8oZo98C3K
LDAPPOSTPW=8oZo98C3K
LDAPREPPW=8oZo98C3K
LDAPAMAVISPW=8oZo98C3K
LDAPNGINXPW=8oZo98C3K

Restoring existing configuration file from /opt/zimbra/.saveconfig/localconfig.xml…done
Operations logged to /tmp/zmsetup.04172010-231652.log
Installing LDAP configuration database…done.
Upgrading from 5.0.10_GA_2638 to 6.0.6_GA_2324
Stopping zimbra services…done.
Verifying /opt/zimbra/conf/my.cnf
Starting mysql…done.
This appears to be 5.0.10_GA
Installing LDAP configuration database…done.
Migrating ldap data…done.
Checking ldap status…not running.
Running zmldapapplyldif…done.
Checking ldap status…already running.
Checking ldap status…already running.
Redolog version update required.
Sat Apr 17 23:17:19 2010: Verified redolog version 1.23.
Sat Apr 17 23:17:19 2010: Updating Redolog schema version from 1.23 to 1.28.
Redolog version update finished.
Schema upgrade required from version 53 to 64.
Running /opt/zimbra/libexec/scripts/migrate20080930-MucService.pl
Sat Apr 17 23:17:20 2010: Verified schema version 53.
Sat Apr 17 23:17:20 2010: Verified schema version 53.
Sat Apr 17 23:17:20 2010: Updating DB schema version from 53 to 60.
Running /opt/zimbra/libexec/scripts/migrate20090315-MobileDevices.pl
Sat Apr 17 23:17:22 2010: Verified schema version 60.
Sat Apr 17 23:17:22 2010: Adding ZIMBRA.MOBILE_DEVICES table.
Sat Apr 17 23:17:23 2010: Verified schema version 60.
Sat Apr 17 23:17:23 2010: Updating DB schema version from 60 to 61.
Running /opt/zimbra/libexec/scripts/migrate20090406-DataSourceItemTable.pl
Sat Apr 17 23:17:24 2010: Verified schema version 61.
Sat Apr 17 23:17:56 2010: Verified schema version 61.
Sat Apr 17 23:17:56 2010: Updating DB schema version from 61 to 62.
Running /opt/zimbra/libexec/scripts/migrate20090430-highestindexed.pl
Sat Apr 17 23:17:58 2010: Verified schema version 62.
Sat Apr 17 23:17:58 2010: Adding idx_deferred_count column to Mailbox table.
Sat Apr 17 23:17:58 2010: Verified schema version 62.
Sat Apr 17 23:17:58 2010: Updating DB schema version from 62 to 63.
Running /opt/zimbra/libexec/scripts/migrate20100106-MobileDevices.pl
Sat Apr 17 23:18:00 2010: Verified schema version 63.
Sat Apr 17 23:18:00 2010: Adding policy_values column to ZIMBRA.MOBILE_DEVICES table.
Sat Apr 17 23:18:01 2010: Verified schema version 63.
Sat Apr 17 23:18:01 2010: Updating DB schema version from 63 to 64.
Stopping mysql…done.
Updating from 5.0.11_GA
Updating from 5.0.12_GA
Updating from 5.0.13_GA
Updating from 5.0.14_GA
Updating from 5.0.15_GA
Updating from 5.0.16_GA
Updating from 5.0.17_GA
Updating from 5.0.18_GA
Updating from 5.0.19_GA
Updating from 5.0.20_GA
Updating from 5.0.21_GA
Updating from 5.0.22_GA
Updating from 5.0.23_GA
Updating from 6.0.0_BETA1
Migrating all domain admins to ACL based access manager…done.
Checking for default IM conference room…not present.
Initializing default IM conference room…done.
Deleted cn=mime,cn=config,cn=zimbra
Updating from 6.0.0_BETA2
Updating from 6.0.0_RC1
Updating from 6.0.0_RC2
Updating from 6.0.0_GA
Updating from 6.0.1_GA
Updating from 6.0.2_GA
Updating from 6.0.3_GA
Updating from 6.0.4_GA
Updating from 6.0.5_GA
Updating from 6.0.6_GA
Updating global config and COS’s with attributes introduced after 5.0.10_GA…done.
Stopping ldap…done.
Upgrade complete.

Running bdb db_recover…done.
Running zmldapapplyldif…done.
Checking ldap status….already running.
Setting defaults…done.
Setting defaults from existing config…done.
Checking for port conflicts
Setting defaults from ldap…done.

Main menu

1) Common Configuration:
2) zimbra-ldap:                             Enabled
3) zimbra-store:                            Enabled
+Create Admin User:                    no
+Enable automated spam training:       yes
+SMTP host:                            mail.indoxxxxx.co.id
+Web server HTTP port:                 80
+Web server HTTPS port:                443
+Web server mode:                      http
+IMAP server port:                     143
+IMAP server SSL port:                 993
+POP server port:                      110
+POP server SSL port:                  995
+Use spell check server:               yes
+Spell server URL:                     http://mail.indoxxxxx.co.id:7780/aspell.php

******* +Enable version update checks:         UNSET

4) zimbra-mta:                              Enabled
5) zimbra-snmp:                             Enabled
6) zimbra-logger:                           Enabled
7) zimbra-spell:                            Enabled
8) zimbra-proxy:                            Enabled
9) Default Class of Service Configuration:
r) Start servers after configuration        yes
s) Save config to file
x) Expand menu
q) Quit

Address unconfigured (**) items  (? – help) 3

Store configuration

1) Status:                                  Enabled
2) Create Admin User:                       no
3) Enable automated spam training:          yes
4) SMTP host:                               mail.indoxxxxx.co.id
5) Web server HTTP port:                    80
6) Web server HTTPS port:                   443
7) Web server mode:                         http
8) IMAP server port:                        143
9) IMAP server SSL port:                    993
10) POP server port:                         110
11) POP server SSL port:                     995
12) Use spell check server:                  yes
13) Spell server URL:                        http://mail.indoxxxxx.co.id:7780/aspell.php

**14) Enable version update checks:            UNSET

Select, or ‘r’ for previous menu® 14

Store configuration

1) Status:                                  Enabled
2) Create Admin User:                       no
3) Enable automated spam training:          yes
4) SMTP host:                               mail.indoxxxxx.co.id
5) Web server HTTP port:                    80
6) Web server HTTPS port:                   443
7) Web server mode:                         http
8) IMAP server port:                        143
9) IMAP server SSL port:                    993
10) POP server port:                         110
11) POP server SSL port:                     995
12) Use spell check server:                  yes
13) Spell server URL:                        http://mail.indoxxxxx.co.id:7780/aspell.php
14) Enable version update checks:            TRUE
15) Enable version update notifications:     TRUE
16) Version update notification email:       admin@mail.indoxxxxx.co.id
17) Version update source email:             admin@mail.indoxxxxx.co.id

Select, or ‘r’ for previous menu® r

Main menu

1) Common Configuration:
2) zimbra-ldap:                             Enabled
3) zimbra-store:                            Enabled
4) zimbra-mta:                              Enabled
5) zimbra-snmp:                             Enabled
6) zimbra-logger:                           Enabled
7) zimbra-spell:                            Enabled
8) zimbra-proxy:                            Enabled
9) Default Class of Service Configuration:
r) Start servers after configuration        yes
s) Save config to file
x) Expand menu
q) Quit

*** CONFIGURATION COMPLETE - press ‘a’ to apply
Select from menu, or press ‘a’ to apply config (? – help) a
Saving config in /opt/zimbra/config.18028…done.
Operations logged to /tmp/zmsetup.04172010-231652.log
Setting local config values…done.
Setting up CA…done.
Deploying CA to /opt/zimbra/conf/ca …done.
Warning: No valid SSL certificates were found.
New self-signed certificates will be generated and installed.
Creating SSL certificate…done.
Creating SSL certificate…done.
Creating SSL certificate…done.
Creating SSL certificate…done.
Installing mailboxd SSL certificates…done.
Setting replication password…done.
Setting Postfix password…done.
Setting amavis password…done.
Setting nginx password…done.
Creating server entry for mail.indoxxxxx.co.id…already exists.
Saving CA in ldap …done.
Saving SSL Certificate in ldap …done.
Setting spell check URL…done.
Setting service ports on mail.indoxxxxx.co.id…done.
Adding mail.indoxxxxx.co.id to zimbraMailHostPool in default COS…done.
Installing webclient skins…
twilight…done.
waves…done.
zmail…done.
lake…done.
sand…done.
tree…done.
bones…done.
beach…done.
smoke…done.
lavender…done.
sky…done.
hotrod…done.
steel…done.
oasis…done.
bare…done.
pebble…done.
yahoo…done.
lemongrass…done.
goldrush…done.
Finished installing webclient skins.
Setting Keyboard Shortcut Preferences…done.
Setting zimbraFeatureIMEnabled=TRUE…done.
Setting zimbraFeatureTasksEnabled=TRUE…done.
Setting zimbraFeatureBriefcasesEnabled=TRUE…done.
Setting zimbraFeatureNotebookEnabled=TRUE…done.
Setting MTA auth host…done.
Setting TimeZone Preference…done.
prov> Initializing mta config…done.
Setting services on mail.indoxxxxx.co.id…done.
Creating user spam.z8iucncs@mail.indoxxxxx.co.id…already exists.
Creating user ham.8zu7hmcei@mail.indoxxxxx.co.id…already exists.
Setting spam training accounts…done.
Configuring SNMP…done.
Checking for default IM conference room…already initialized.
Setting up syslog.conf…done.

You have the option of notifying Zimbra of your installation.
This helps us to track the uptake of the Zimbra Collaboration Suite.
The only information that will be transmitted is:
The VERSION of zcs installed (6.0.6_GA_2324_CentOS5)
The ADMIN EMAIL ADDRESS created (admin@mail.indoxxxxx.co.id)

Notify Zimbra of your installation? [Yes] y
Notifying Zimbra of installation via http://www.zimbra.com/cgi-bin/notify.cgi?VER=6.0.6_GA_2324_CentOS5&MAIL=admin@mail.indoxxxxx.co.id

Notification complete

Starting servers…done.
Checking for deprecated zimlets…done.
Checking for network zimlets in LDAP…done.
Removing network zimlets…
Finished removing network zimlets.
Removing convertd mime tree from ldap…done.
Installing common zimlets…
com_zimbra_adminversioncheck…done.
com_zimbra_cert_manager…done.
com_zimbra_phone…done.
com_zimbra_date…done.
com_zimbra_local…done.
com_zimbra_url…done.
com_zimbra_bulkprovision…done.
com_zimbra_ymemoticons…done.
com_zimbra_email…done.
Finished installing common zimlets.
Getting list of all zimlets…done.
Updating non-standard zimlets…
com_zimbra_social…done.
Finished updating non-standard zimlets.
Upgrading Document templates…done.
Restarting mailboxd…done.
Setting up zimbra crontab…done.

Moving /tmp/zmsetup.04172010-231652.log to /opt/zimbra/log

Configuration complete – press return to exit

[root@mail zcs-6.0.6_GA_2324.RHEL5.20100406144520]#

SELESAI

Kemudian saya pastikan sudah running versi Zimbra terbaru :
[root@mail zcs-6.0.6_GA_2324.RHEL5.20100406144520]# su  zimbra

[zimbra@mail zcs-6.0.6_GA_2324.RHEL5.20100406144520]$ zmcontrol -v
Release 6.0.6_GA_2324.RHEL5_20100406144520 CentOS5 FOSS edition.

[zimbra@mail zcs-6.0.6_GA_2324.RHEL5.20100406144520]$ zmcontrol status
Host mail.indoxxxxx.co.id
antispam                Running
antivirus               Running
imapproxy               Running
ldap                    Running
logger                  Running
mailbox                 Running
memcached               Running
mta                     Running
snmp                    Running
spell                   Running
stats                   Running

[zimbra@mail zcs-6.0.6_GA_2324.RHEL5.20100406144520]$ exit
exit

Silahkan coba cek port dan services yang aktif dengan netstat -nltup atau ps axf

Untuk memastikan user-user existing tidak mengalami problem bisa diperiksa dengan :

https://mail.indoxxxxx.co.id:7071/zimbraAdmin/
http://mail.indoxxxxx.co.id/

Test login user existing, test create account, test send email dari webmail,mail client dan juga test kirim email dari gmail, yahoo sambil memerhatikan log /var/log/zimbra.log

Contoh zimbra.log :

Apr 18 00:03:37 mail postfix/smtpd[21093]: connect from localhost.localdomain[127.0.0.1]
Apr 18 00:03:37 mail postfix/smtpd[21093]: 8D03F7780E9: client=localhost.localdomain[127.0.0.1]
Apr 18 00:03:37 mail postfix/cleanup[20867]: 8D03F7780E9: message-id=
Apr 18 00:03:37 mail postfix/qmgr[6820]: 8D03F7780E9: from=, size=2921, nrcpt=1 (queue active)
Apr 18 00:03:37 mail postfix/smtpd[21093]: disconnect from localhost.localdomain[127.0.0.1]
Apr 18 00:03:37 mail amavis[4324]: (04324-06) FWD via SMTP: -> ,BODY=7BIT 250 2.0.0 Ok, id=04324-06, from MTA: 250 2.0.0 Ok: queued as 8D03F7780E9
Apr 18 00:03:37 mail amavis[4324]: (04324-06) Passed CLEAN, [74.125.92.27] [74.125.92.27] -> , Message-ID: , mail_id: x58ZcRE8u2s9, Hits: -2.598, size: 1916, queued_as: 8D03F7780E9, dkim_id=henry.gultom@gmail.com, 32736 ms
Apr 18 00:03:37 mail postfix/smtp[20959]: 427FE7780E6: to=, relay=127.0.0.1[127.0.0.1]:10024, delay=39, delays=5.8/0/0/33, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=04324-06, from MTA: 250 2.0.0 Ok: queued as 8D03F7780E9)
Apr 18 00:03:37 mail postfix/qmgr[6820]: 427FE7780E6: removed
Apr 18 00:03:40 mail postfix/lmtp[21094]: 511B77780EB: to=, relay=mail.indoxxxxxa.co.id[202.72.xxx.yyy]:7025, delay=5.1, delays=0/0.01/5/0.11, dsn=2.1.5, status=sent (250 2.1.5 Delivery OK)
Apr 18 00:03:40 mail postfix/qmgr[6820]: 511B77780EB: removed
Apr 18 00:03:42 mail postfix/lmtp[21095]: 8D03F7780E9: to=, relay=mail.indoxxxxx.co.id[202.72.xxx.yyy]:7025, delay=5.1, delays=0/0.01/5/0.09, dsn=2.1.5, status=sent (250 2.1.5 Delivery OK)
Apr 18 00:03:42 mail postfix/qmgr[6820]: 8D03F7780E9: removed

Sampai disini mailserver ini sudah running Zimbra 6.0.6 tinggal dipantau terus kinerja dan performa nya hari demi hari.

Butuh jasa menyelesaikan masalah server anda dengan sila email ke : henry@gultom.or.id

Comments (4)

Makasih banget mas….

TOP INFO
makasih mas

thanks infonya..
rencana mo diterapkan di server ubuntu 8.10 a.k.a hardy
kira2 bisa lancar kayak gitu ndak yah?

kalau lintas platform ada tutornya gak,

misalnya dari ubuntu ke redhat, atau kita bisa copy backupan file dari ubuntu ke reedhat atau gimana ???
mohon pencerahannya bos

Write a comment