[zimbra@zimbra root]$ zmcontrol stop ←最初にzimbra関連機能の停止 Host zimbra.computerservice.co.jp 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 memcached...Done. Stopping mailbox...Done. Stopping logger...Done. Stopping ldap...Done. [zimbra@zimbra root]$ su -l ←rootでログイン Password: [root@zimbra ~]# ls anaconda-ks.cfg Desktop install.log.syslog chkcfg.sh install.log zcs-7.0.1_GA_3105.RHEL4.20110304205340.tgz [root@zimbra ~]# tar zxvf zcs-7.0.1_GA_3105.RHEL4.20110304205340.tgz ←ダウンロードしたファイルを展開 zcs-7.0.1_GA_3105.RHEL4.20110304205340/ zcs-7.0.1_GA_3105.RHEL4.20110304205340/packages/ zcs-7.0.1_GA_3105.RHEL4.20110304205340/packages/zimbra-apache-7.0.1_GA_3105.RHEL4-20110304205340.i386.rpm zcs-7.0.1_GA_3105.RHEL4.20110304205340/packages/zimbra-core-7.0.1_GA_3105.RHEL4-20110304205340.i386.rpm zcs-7.0.1_GA_3105.RHEL4.20110304205340/packages/zimbra-ldap-7.0.1_GA_3105.RHEL4-20110304205340.i386.rpm zcs-7.0.1_GA_3105.RHEL4.20110304205340/packages/zimbra-logger-7.0.1_GA_3105.RHEL4-20110304205340.i386.rpm zcs-7.0.1_GA_3105.RHEL4.20110304205340/packages/zimbra-memcached-7.0.1_GA_3105.RHEL4-20110304205340.i386.rpm zcs-7.0.1_GA_3105.RHEL4.20110304205340/packages/zimbra-mta-7.0.1_GA_3105.RHEL4-20110304205340.i386.rpm zcs-7.0.1_GA_3105.RHEL4.20110304205340/packages/zimbra-proxy-7.0.1_GA_3105.RHEL4-20110304205340.i386.rpm zcs-7.0.1_GA_3105.RHEL4.20110304205340/packages/zimbra-snmp-7.0.1_GA_3105.RHEL4-20110304205340.i386.rpm zcs-7.0.1_GA_3105.RHEL4.20110304205340/packages/zimbra-spell-7.0.1_GA_3105.RHEL4-20110304205340.i386.rpm zcs-7.0.1_GA_3105.RHEL4.20110304205340/packages/zimbra-store-7.0.1_GA_3105.RHEL4-20110304205340.i386.rpm zcs-7.0.1_GA_3105.RHEL4.20110304205340/bin/ zcs-7.0.1_GA_3105.RHEL4.20110304205340/bin/get_plat_tag.sh zcs-7.0.1_GA_3105.RHEL4.20110304205340/bin/zmdbintegrityreport zcs-7.0.1_GA_3105.RHEL4.20110304205340/data/ zcs-7.0.1_GA_3105.RHEL4.20110304205340/data/versions-init.sql zcs-7.0.1_GA_3105.RHEL4.20110304205340/docs/ zcs-7.0.1_GA_3105.RHEL4.20110304205340/docs/YPL.txt zcs-7.0.1_GA_3105.RHEL4.20110304205340/docs/zcl.txt zcs-7.0.1_GA_3105.RHEL4.20110304205340/docs/zimbra_public_eula_2.1.txt zcs-7.0.1_GA_3105.RHEL4.20110304205340/docs/en_US/ zcs-7.0.1_GA_3105.RHEL4.20110304205340/docs/en_US/admin.pdf zcs-7.0.1_GA_3105.RHEL4.20110304205340/docs/en_US/Fedora Server Config.pdf zcs-7.0.1_GA_3105.RHEL4.20110304205340/docs/en_US/Import_Wizard_Outlook.pdf zcs-7.0.1_GA_3105.RHEL4.20110304205340/docs/en_US/MigrationWizard_Domino.pdf zcs-7.0.1_GA_3105.RHEL4.20110304205340/docs/en_US/MigrationWizard.pdf zcs-7.0.1_GA_3105.RHEL4.20110304205340/docs/en_US/OSmultiserverinstall.pdf zcs-7.0.1_GA_3105.RHEL4.20110304205340/docs/en_US/quick_start.pdf zcs-7.0.1_GA_3105.RHEL4.20110304205340/docs/en_US/RNZCSO_2005Beta.pdf zcs-7.0.1_GA_3105.RHEL4.20110304205340/docs/en_US/User Instructions for ZCS Import Wizard.pdf zcs-7.0.1_GA_3105.RHEL4.20110304205340/docs/en_US/Zimbra iCalendar Migration Guide.pdf zcs-7.0.1_GA_3105.RHEL4.20110304205340/docs/en_US/Zimbra_Release_Note.pdf zcs-7.0.1_GA_3105.RHEL4.20110304205340/docs/en_US/Zimbra Schema.pdf zcs-7.0.1_GA_3105.RHEL4.20110304205340/docs/en_US/ZWC User Guide_7_0.pdf zcs-7.0.1_GA_3105.RHEL4.20110304205340/util/ zcs-7.0.1_GA_3105.RHEL4.20110304205340/util/modules/ zcs-7.0.1_GA_3105.RHEL4.20110304205340/util/modules/getconfig.sh zcs-7.0.1_GA_3105.RHEL4.20110304205340/util/modules/packages.sh zcs-7.0.1_GA_3105.RHEL4.20110304205340/util/modules/postinstall.sh zcs-7.0.1_GA_3105.RHEL4.20110304205340/util/addUser.sh zcs-7.0.1_GA_3105.RHEL4.20110304205340/util/globals.sh zcs-7.0.1_GA_3105.RHEL4.20110304205340/util/utilfunc.sh zcs-7.0.1_GA_3105.RHEL4.20110304205340/readme_source_en_US.txt zcs-7.0.1_GA_3105.RHEL4.20110304205340/readme_binary_en_US.txt zcs-7.0.1_GA_3105.RHEL4.20110304205340/install.sh zcs-7.0.1_GA_3105.RHEL4.20110304205340/README.txt [root@zimbra ~]# cd zcs-7.0.1_GA_3105.RHEL4.20110304205340 ←展開されたディレクトリに移動 [root@zimbra zcs-7.0.1_GA_3105.RHEL4.20110304205340]# ./install.sh --platform-override ←バージョンアップ開始! Operations logged to /tmp/install.log.23825 Checking for existing installation... zimbra-ldap...FOUND zimbra-ldap-6.0.6_GA_2324 zimbra-logger...FOUND zimbra-logger-6.0.6_GA_2324 zimbra-mta...FOUND zimbra-mta-6.0.6_GA_2324 zimbra-snmp...FOUND zimbra-snmp-6.0.6_GA_2324 zimbra-store...FOUND zimbra-store-6.0.6_GA_2324 zimbra-apache...FOUND zimbra-apache-6.0.6_GA_2324 zimbra-spell...FOUND zimbra-spell-6.0.6_GA_2324 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-6.0.6_GA_2324 ZCS upgrade from 6.0.6 to 7.0.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.6.7p5-30.1 FOUND: libidn-0.5.6-1 FOUND: gmp-4.1.4-3 FOUND: compat-libstdc++-33-3.2.3-47.3 FOUND: /usr/lib/libstdc++.so.5 FOUND: /usr/lib/libstdc++.so.6 Checking for suggested prerequisites... FOUND: perl-5.8.5 FOUND: sysstat Prerequisite check complete. Checking current number of databases... Do you want to verify message store database integrity? [Y] y ←DBチェック的な何かをしてください Verifying integrity of message store databases. This may take a while. Starting mysqld...done. mysqld is alive No errors found 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 Install zimbra-memcached [N] n ←ここはデフォルトのNを選択した。 Install zimbra-proxy [N] n ←ここもデフォルトのNを選択した。 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 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-7.0.1_GA_3105.RHEL4-20110304205340.i386.rpm...done zimbra-ldap......zimbra-ldap-7.0.1_GA_3105.RHEL4-20110304205340.i386.rpm...done zimbra-logger......zimbra-logger-7.0.1_GA_3105.RHEL4-20110304205340.i386.rpm...done zimbra-mta......zimbra-mta-7.0.1_GA_3105.RHEL4-20110304205340.i386.rpm...done zimbra-snmp......zimbra-snmp-7.0.1_GA_3105.RHEL4-20110304205340.i386.rpm...done zimbra-store......zimbra-store-7.0.1_GA_3105.RHEL4-20110304205340.i386.rpm...done zimbra-apache......zimbra-apache-7.0.1_GA_3105.RHEL4-20110304205340.i386.rpm...done zimbra-spell......zimbra-spell-7.0.1_GA_3105.RHEL4-20110304205340.i386.rpm...done Setting defaults from saved config in /opt/zimbra/.saveconfig/config.save HOSTNAME=zimbra.computerservice.co.jp LDAPHOST=zimbra.computerservice.co.jp LDAPPORT=389 SNMPTRAPHOST=zimbra.computerservice.co.jp SMTPSOURCE=admin@zimbra.computerservice.co.jp SMTPDEST=admin@zimbra.computerservice.co.jp SNMPNOTIFY=yes SMTPNOTIFY=yes LDAPROOTPW=qWXEUUDT LDAPZIMBRAPW=qWXEUUDT LDAPPOSTPW=qWXEUUDT LDAPREPPW=qWXEUUDT LDAPAMAVISPW=qWXEUUDT LDAPNGINXPW=qWXEUUDT Restoring existing configuration file from /opt/zimbra/.saveconfig/localconfig.xml...done Operations logged to /tmp/zmsetup.05132011-175059.log Upgrading from 6.0.6_GA_2324 to 7.0.1_GA_3105 Stopping zimbra services...done. Verifying /opt/zimbra/conf/my.cnf Starting mysql...done. This appears to be 6.0.6_GA Checking ldap status...not running. Running zmldapapplyldif...done. Checking ldap status...already running. Running mysql_upgrade...done. Redolog version update required. Fri May 13 17:51:56 2011: Verified redolog version 1.28. Fri May 13 17:51:56 2011: Updating Redolog schema version from 1.28 to 1.31. Redolog version update finished. Schema upgrade required from version 64 to 65. Running /opt/zimbra/libexec/scripts/migrate20100926-Dumpster.pl Fri May 13 17:51:59 2011: Verified schema version 64. Fri May 13 17:52:26 2011: Verified schema version 64. Fri May 13 17:52:26 2011: Updating DB schema version from 64 to 65. Stopping mysql...done. Updating from 6.0.7_GA Updating from 6.0.8_GA Updating from 6.0.9_GA Updating from 6.0.10_GA Updating from 6.0.11_GA Stopping ldap...done. Checking ldap status...not running. Running zmldapapplyldif...done. Checking ldap status...already running. Updating from 6.0.12_GA Updating from 7.0.0_BETA1 Updating from 7.0.0_BETA2 Updating from 7.0.0_BETA3 Updating from 7.0.0_RC1 Updating from 7.0.0_GA Updating from 7.0.1_GA Updating global config and COS's with attributes introduced after 6.0.6_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.5621...done. Operations logged to /tmp/zmsetup.05132011-175059.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 zimbra.computerservice.co.jp...already exists. Saving CA in ldap ...done. Saving SSL Certificate in ldap ...done. Setting spell check URL...done. Setting service ports on zimbra.computerservice.co.jp...done. Adding zimbra.computerservice.co.jp to zimbraMailHostPool in default COS...done. Installing webclient skins... smoke...done. tree...done. sky...done. carbon...done. lavender...done. hotrod...done. waves...done. oasis...done. twilight...done. pebble...done. lemongrass...done. bones...done. steel...done. lake...done. sand...done. bare...done. beach...done. Finished installing webclient skins. Setting Keyboard Shortcut Preferences...done. Setting zimbraFeatureTasksEnabled=TRUE...done. Setting zimbraFeatureBriefcasesEnabled=TRUE...done. Setting MTA auth host...done. Setting TimeZone Preference...done. prov> Initializing mta config...done. Setting services on zimbra.computerservice.co.jp...done. Creating user spam.4a5gpo0s@zimbra.computerservice.co.jp...already exists. Creating user ham.tdc9ocywvt@zimbra.computerservice.co.jp...already exists. Creating user virus-quarantine.puweuekrfb@zimbra.computerservice.co.jp...done. Setting spam training and Anti-virus quarantine 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 (7.0.1_GA_3105_RHEL4) The ADMIN EMAIL ADDRESS created (admin@zimbra.computerservice.co.jp) Notify Zimbra of your installation? [Yes] n ←情報は見ません 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_attachmail...done. com_zimbra_cert_manager...done. com_zimbra_adminversioncheck...done. com_zimbra_social...done. com_zimbra_url...done. com_zimbra_linkedin...done. com_zimbra_attachcontacts...done. com_zimbra_phone...done. com_zimbra_webex...done. com_zimbra_email...done. com_zimbra_srchhighlighter...done. com_zimbra_date...done. com_zimbra_bulkprovision...done. com_zimbra_dnd...done. Finished installing common zimlets. Getting list of all zimlets...done. Updating non-standard zimlets... com_zimbra_local...done. com_zimbra_ymemoticons...done. com_zimbra_webex...done. Finished updating non-standard zimlets. Restarting mailboxd...done. Setting up zimbra crontab...done. Moving /tmp/zmsetup.05132011-175059.log to /opt/zimbra/log Configuration complete - press return to exit ←無事アップグレード完了!! 設定やデータが消えることも無かった。よかった。