July 23rd, 2011 by Gia
[[email protected] ~]$ su -
[[email protected] ~]# su zimbra
[[email protected] root]$ zmcontrol stop
Host mail.rgiapratama.net
Stopping stats...Done.
Stopping mta...Done.
Stopping spell...Done.
Stopping snmp...Done.
Stopping cbpolicyd...Done.
Stopping archiving...Done.
Stopping antivirus...Done.
Stopping antispam...Done.
Stopping imapproxy...Done.
Stopping memcached...Done.
Stopping mailbox...Done.
Stopping logger...Done.
Stopping zmconfigd...Done.
Stopping ldap...Done.
[[email protected] root]$ zmcontrol stop
[[email protected] root]$ exit
[[email protected] ~]# ps -aux | grep zimbra  <----- make sure zimbra stopped
[[email protected] ~]# cp -R opt/zimbra/ /san-disk/backzimbra/
[[email protected] ~]# du /san-disk/backzimbra/ -s
11477660    /san-disk/backzimbra/
[[email protected] ~]# du /san-disk/backzimbra/ -s
11466448    /opt/zimbra/
[[email protected] ~]# cd /home/gia/
[[email protected] gia]# tar -zxf zcs-7.1.1_GA_3196.RHEL5_64.20110527011124.tgz
[[email protected] gia]# cd zcs-7.1.1_GA_3196.RHEL5_64.20110527011124
[[email protected] zcs-7.1.1_GA_3196.RHEL5_64.20110527011124]# ./install.sh --platform-override

Operations logged to /tmp/install.log.31003
Checking for existing installation...
zimbra-ldap...FOUND zimbra-ldap-7.1.0_GA_3140
zimbra-logger...FOUND zimbra-logger-7.1.0_GA_3140
zimbra-mta...FOUND zimbra-mta-7.1.0_GA_3140
zimbra-snmp...FOUND zimbra-snmp-7.1.0_GA_3140
zimbra-store...FOUND zimbra-store-7.1.0_GA_3140
zimbra-apache...FOUND zimbra-apache-7.1.0_GA_3140
zimbra-spell...FOUND zimbra-spell-7.1.0_GA_3140
zimbra-convertd...NOT FOUND
zimbra-memcached...FOUND zimbra-memcached-7.1.0_GA_3140
zimbra-proxy...FOUND zimbra-proxy-7.1.0_GA_3140
zimbra-archiving...NOT FOUND
zimbra-cluster...NOT FOUND
zimbra-core...FOUND zimbra-core-7.1.0_GA_3140
ZCS upgrade from 7.1.0 to 7.1.1 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



Do you agree with the terms of the software license agreement? [N] Y

Checking for prerequisites...
FOUND: NPTL
FOUND: sudo-1.7.2p1-10
FOUND: libidn-0.6.5-1.1
libidn-0.6.5-1.1
FOUND: gmp-4.1.4-10
gmp-4.1.4-10
FOUND: /usr/lib64/libstdc++.so.6
Checking for suggested prerequisites...
FOUND: perl-5.8.8
FOUND: sysstat
FOUND: sqlite
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.
Starting mysqld...done.
mysqld is alive
Database errors found.
/opt/zimbra/mysql/bin/mysqlcheck --defaults-file=/opt/zimbra/conf/my.cnf -S /opt/zimbra/db/mysql.sock -A -C -s -u root --password=_ds9Lf08JRfQX6cnxNX72R5._ --auto-repair
mysql.general_log
Error    : You can't use locks with log tables.
mysql.slow_log
Error    : You can't use locks with log tables.
mysqld is alive
Stopping mysqld... 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
Upgrading zimbra-memcached
Upgrading zimbra-proxy
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_64
Packages found: RHEL5_64
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-memcached...done
zimbra-proxy...done
zimbra-apache...done
zimbra-core...done

Removing deployed webapp directories
Installing packages

zimbra-core......zimbra-core-7.1.1_GA_3196.RHEL5_64-20110527011124.x86_64.rpm...done
zimbra-ldap......zimbra-ldap-7.1.1_GA_3196.RHEL5_64-20110527011124.x86_64.rpm...done
zimbra-logger......zimbra-logger-7.1.1_GA_3196.RHEL5_64-20110527011124.x86_64.rpm...done
zimbra-mta......zimbra-mta-7.1.1_GA_3196.RHEL5_64-20110527011124.x86_64.rpm...done
zimbra-snmp......zimbra-snmp-7.1.1_GA_3196.RHEL5_64-20110527011124.x86_64.rpm...done
zimbra-store......zimbra-store-7.1.1_GA_3196.RHEL5_64-20110527011124.x86_64.rpm...done
zimbra-apache......zimbra-apache-7.1.1_GA_3196.RHEL5_64-20110527011124.x86_64.rpm...done
zimbra-spell......zimbra-spell-7.1.1_GA_3196.RHEL5_64-20110527011124.x86_64.rpm...done
zimbra-memcached......zimbra-memcached-7.1.1_GA_3196.RHEL5_64-20110527011124.x86_64.rpm...done
zimbra-proxy......zimbra-proxy-7.1.1_GA_3196.RHEL5_64-20110527011124.x86_64.rpm...done

Setting defaults from saved config in /opt/zimbra/.saveconfig/config.save
HOSTNAME=mail.rgiapratama.net
LDAPHOST=mail.rgiapratama.net
LDAPPORT=389
SNMPTRAPHOST=mail.rgiapratama.net
[email protected]
[email protected]
SNMPNOTIFY=yes
SMTPNOTIFY=yes
LDAPROOTPW=G71OqrXVE
LDAPZIMBRAPW=G71OqrXVE
LDAPPOSTPW=G71OqrXVE
LDAPREPPW=G71OqrXVE
LDAPAMAVISPW=G71OqrXVE
LDAPNGINXPW=G71OqrXVE
Restoring existing configuration file from /opt/zimbra/.saveconfig/localconfig.xml...done
Operations logged to /tmp/zmsetup.07222011-205019.log
Upgrading from 7.1.0_GA_3140 to 7.1.1_GA_3196
Stopping zimbra services...done.
Verifying /opt/zimbra/conf/my.cnf
Starting mysql...done.
This appears to be 7.1.0_GA
Checking ldap status...not running.
Running zmldapapplyldif...done.
Checking ldap status...already running.
Stopping mysql...done.
Updating from 7.1.1_GA
Updating global config and COS's with attributes introduced after 7.1.0_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.
Saving config in /opt/zimbra/config.11618...done.
Operations logged to /tmp/zmsetup.07222011-205019.log
Setting local config values...done.
Setting up CA...done.
Deploying CA to /opt/zimbra/conf/ca ...done.
Setting replication password...done.
Setting Postfix password...done.
Setting amavis password...done.
Setting nginx password...done.
Creating server entry for mail.rgiapratama.net...already exists.
Saving CA in ldap ...done.
Saving SSL Certificate in ldap ...done.
Setting service ports on mail.rgiapratama.net...done.
Adding mail.rgiapratama.net to zimbraMailHostPool in default COS...done.
Installing webclient skins...
sky...done.
bare...done.
lemongrass...done.
tree...done.
sand...done.
twilight...done.
steel...done.
bones...done.
waves...done.
lake...done.
carbon...done.
smoke...done.
hotrod...done.
beach...done.
oasis...done.
pebble...done.
lavender...done.
Finished installing webclient skins.
Setting Keyboard Shortcut Preferences...done.
Setting zimbraFeatureTasksEnabled=TRUE...done.
Setting zimbraFeatureBriefcasesEnabled=FALSE...done.
Setting MTA auth host...done.
Setting TimeZone Preference...done.
prov&gt; Initializing mta config...done.
Setting services on mail.rgiapratama.net...done.
Creating user [email protected] exists.
Creating user [email protected] exists.
Creating user [email protected] exists.
Setting spam training and Anti-virus quarantine accounts...done.
Configuring SNMP...done.
Checking for default IM conference room...not present.
Initializing default IM conference room...done.
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 (7.1.1_GA_3196_CentOS5_64)
The ADMIN EMAIL ADDRESS created ([email protected])

Notify Zimbra of your installation? [Yes] No
Notification skipped
Starting servers...done.
Checking for deprecated zimlets...done.
Checking for network zimlets in LDAP...done.
Removing network zimlets...
Finished removing network zimlets.
Installing common zimlets...
com_zimbra_bulkprovision...done.
com_zimbra_webex...done.
com_zimbra_email...done.
com_zimbra_social...done.
com_zimbra_cert_manager...done.
com_zimbra_phone...done.
com_zimbra_date...done.
com_zimbra_linkedin...done.
com_zimbra_url...done.
com_zimbra_attachmail...done.
com_zimbra_attachcontacts...done.
com_zimbra_dnd...done.
com_zimbra_srchhighlighter...done.
com_zimbra_adminversioncheck...done.
Finished installing common zimlets.
Getting list of all zimlets...done.
Updating non-standard zimlets...
com_zimbra_webex...done.
Finished updating non-standard zimlets.
Restarting mailboxd...done.
Setting up zimbra crontab...done.


Moving /tmp/zmsetup.07222011-205019.log to /opt/zimbra/log


Configuration complete - press return to exit


[[email protected] zcs-7.1.1_GA_3196.RHEL5_64.20110527011124]# cd ..
[[email protected] gia]# tar -zxf zcs-patch-7.1.1_GA_3213.tgz
[[email protected] gia]# cd zcs-patch-7.1.1_GA_3213
[[email protected] zcs-patch-7.1.1_GA_3213]# ./installPatch.sh
Current Version: 7.1.1_GA_3196
Found Patch for 7.1.1_GA called 7.1.1_P2
Deploying patch for 7.1.1_GA
Updating files for package zimbra-store
/opt/zimbra/jetty/webapps/zimbraAdmin/WEB-INF/classes/messages/ZaMsg.properties... copied.
/opt/zimbra/jetty/webapps/zimbraAdmin/js/Admin_all.js.zgz... copied.
/opt/zimbra/jetty-6.1.22.z6/webapps/zimbra/js/NewWindow_2_all.js.zgz... copied.
/opt/zimbra/jetty/common/lib/zimbracommon.jar... copied.
/opt/zimbra/jetty/webapps/service/WEB-INF/lib/zimbrastore.jar... copied.
/opt/zimbra/jetty/webapps/zimbra/WEB-INF/lib/zimbrastore.jar... copied.
/opt/zimbra/jetty/webapps/zimbraAdmin/WEB-INF/lib/zimbrastore.jar... copied.
/opt/zimbra/lib/jars/zimbrastore.jar... copied.
/opt/zimbra/jetty-6.1.22.z6/webapps/zimbra/js/Startup1_1_all.js.zgz... copied.
/opt/zimbra/jetty-6.1.22.z6/webapps/zimbra/js/Mail_all.js.zgz... copied.
/opt/zimbra/jetty/webapps/zimbraAdmin/js/zimbraAdmin/common/EmailAddr_FormItem.js... copied.
/opt/zimbra/jetty/webapps/zimbraAdmin/js/zimbraAdmin/domains/model/ZaDomain.js... copied.
/opt/zimbra/jetty/webapps/zimbraAdmin/js/Admin_all.js... copied.
/opt/zimbra/jetty/webapps/zimbraAdmin/js/zimbraAdmin/search/model/ZaSearch.js... copied.
/opt/zimbra/jetty/webapps/zimbraAdmin/js/zimbraAdmin/domains/controller/ZaDomainListController.js... copied.
/opt/zimbra/jetty-6.1.22.z6/webapps/zimbra/js/CalendarAppt_all.js.zgz... copied.
/opt/zimbra/jetty/webapps/zimbraAdmin/js/zimbraAdmin/common/ZaOverviewPanelController.js... copied.
/opt/zimbra/jetty-6.1.22.z6/webapps/zimbra/js/NewWindow_1_all.js.zgz... copied.
Updating files for package zimbra-core
/opt/zimbra/zimbramon/pylibs/state.py... copied.
/opt/zimbra/bin/zmconfigdctl... copied.
/opt/zimbra/lib/jars/jython-2.5.2.jar... copied.
/opt/zimbra/lib/jars/zimbracommon.jar... copied.
/opt/zimbra/libexec/zmfixperms... copied.
/opt/zimbra/lib/jars/jython-2.5.1.jar... deleted.

[[email protected] zcs-patch-7.1.1_GA_3213]# reboot

Broadcast message from root (pts/0) (Fri Jul 22 20:59:33 2011):


The system is going down for reboot NOW!
[[email protected] zcs-patch-7.1.1_GA_3213]#

Comments

comments

Leave a Reply

Time limit is exhausted. Please reload CAPTCHA.