首页 » 邮件服务器 » Zimbra » 正文

zimbra8.5.1升级到zimbra8.7.1

 

单机zimbra从8.5.1升级到8.7.1过程,看到网站有人说有各种错误,但是在我升级的时候并没有发现任何错误。

 

原来的zimbra不停止,所以执行升级应该是在一个夜黑风高的晚上,趁夜深人静之时便是我等活动的良好时刻,然后下载最新的zimbra8.7.1安装包到本地,解压 执行 ./install.sh .特此郑重提示:务必在升级之前备份你的数据,万一升级失败出现各种问题,不要找我哭,可能我也没办法。

 

过程如下:  

[root@mail software]# tar -zxvf zcs-8.7.1_GA_1670.RHEL6_64.20161025035141.tgz

[root@mail software]# cd zcs-8.7.1_GA_1670.RHEL6_64.20161025035141

[root@mail zcs-8.7.1_GA_1670.RHEL6_64.20161025035141]# ./install.sh 


Operations logged to /tmp/install.log.aAgBR8KF

Checking for existing installation…

    zimbra-ldap…FOUND zimbra-ldap-8.5.1_GA_3056

    zimbra-logger…FOUND zimbra-logger-8.5.1_GA_3056

    zimbra-mta…FOUND zimbra-mta-8.5.1_GA_3056

    zimbra-dnscache…FOUND zimbra-dnscache-8.5.1_GA_3056

    zimbra-snmp…FOUND zimbra-snmp-8.5.1_GA_3056

    zimbra-store…FOUND zimbra-store-8.5.1_GA_3056

    zimbra-apache…FOUND zimbra-apache-8.5.1_GA_3056

    zimbra-spell…FOUND zimbra-spell-8.5.1_GA_3056

    zimbra-convertd…NOT FOUND

    zimbra-memcached…FOUND zimbra-memcached-8.5.1_GA_3056

    zimbra-proxy…FOUND zimbra-proxy-8.5.1_GA_3056

    zimbra-archiving…NOT FOUND

    zimbra-core…FOUND zimbra-core-8.5.1_GA_3056

ZCS upgrade from 8.5.1 to 8.7.1 will be performed.

Checking for existing proxy service in your environment

Checking for existing memcached service in your environment

Validating ldap configuration

LDAP validation succeeded.  Continuing.



———————————————————————-

PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE.

SYNACOR, INC. ("SYNACOR") 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 this Zimbra Collaboration Suite Software:

https://www.zimbra.com/license/zimbra-public-eula-2-6.html

———————————————————————-




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




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


Checking for installable packages


Found zimbra-core

Found zimbra-ldap

Found zimbra-logger

Found zimbra-mta

Found zimbra-dnscache

Found zimbra-snmp

Found zimbra-store

Found zimbra-apache

Found zimbra-spell

Found zimbra-memcached

Found zimbra-proxy




Use Zimbra's package repository [Y] y

Importing Zimbra GPG key

Configuring package repository


The Zimbra Collaboration Server appears to already 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


Scanning for any new or additional packages available for installation

Existing packages will be upgraded

    Upgrading zimbra-core

    Upgrading zimbra-ldap

    Upgrading zimbra-logger

    Upgrading zimbra-mta

    Upgrading zimbra-dnscache

    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

Checking required packages for zimbra-store

zimbra-store package check complete.


Installing:

    zimbra-core

    zimbra-ldap

    zimbra-logger

    zimbra-mta

    zimbra-dnscache

    zimbra-snmp

    zimbra-store

    zimbra-apache

    zimbra-spell

    zimbra-memcached

    zimbra-proxy


The system will be modified.  Continue? [N] y

Installing packages


zimbra-core will be downloaded.

zimbra-ldap will be downloaded.

zimbra-logger will be downloaded.

zimbra-mta will be downloaded.

zimbra-dnscache will be downloaded.

zimbra-snmp will be downloaded.

zimbra-store will be downloaded.

zimbra-apache will be downloaded.

zimbra-spell will be downloaded.

zimbra-memcached will be downloaded.

zimbra-proxy will be downloaded.

Downloading packages. This will not modify the system. This may take some time.

Downloading Remote package zimbra-memcached version 1.4.25-1zimbra8.7b1.el6


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


Shutting down zimbra mail


Backing up the ldap database…done.


Removing existing packages


   zimbra-ldap…done

   zimbra-logger…done

   zimbra-mta…done

   zimbra-dnscache…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

Local packages  zimbra-core zimbra-ldap zimbra-logger zimbra-mta zimbra-dnscache zimbra-snmp zimbra-store zimbra-apache zimbra-spell zimbra-proxy selected for installation

Monitor /tmp/install.log.aAgBR8KF for package installation progress

Remote package installation started

Installing zimbra-core-components  zimbra-ldap-components zimbra-mta-components zimbra-dnscache-components zimbra-snmp-components zimbra-store-components zimbra-apache-components zimbra-spell-components zimbra-memcached zimbra-proxy-components….done

Local package installation started

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

done


Setting defaults from saved config in /opt/zimbra/.saveconfig/config.save

   HOSTNAME=mail.chenxie.net

   LDAPHOST=mail.chenxie.net

   LDAPPORT=389

   SNMPTRAPHOST=mail.chenxie.net

   SMTPSOURCE=admin@chenxie.net

   SMTPDEST=admin@chenxie.net

   SNMPNOTIFY=yes

   SMTPNOTIFY=yes

   LDAPROOTPW=*

   LDAPZIMBRAPW=*

   LDAPPOSTPW=*

   LDAPREPPW=*

   LDAPAMAVISPW=*

   LDAPNGINXPW=*

Restoring existing configuration file from /opt/zimbra/.saveconfig/localconfig.xml…done

Operations logged to /tmp/zmsetup.20161201-173453.log

Adding /opt/zimbra/conf/ca/ca.pem to cacerts

Upgrading from 8.5.1_GA_3056 to 8.7.1_GA_1670

Stopping zimbra services…done.

This appears to be 8.5.1_GA

Starting mysql…done.

Checking ldap status…not running.

Checking ldap status…not running.

Starting ldap…done.

Checking ldap status…already running.

Schema upgrade required from version 103 to 107.

Running /opt/zimbra/libexec/scripts/migrate20150401-ZmgDevices.pl

Thu Dec  1 17:35:44 2016: Verified schema version 103.

Thu Dec  1 17:35:44 2016: Verified schema version 103.

Thu Dec  1 17:35:44 2016: Updating DB schema version from 103 to 104.

Running /opt/zimbra/libexec/scripts/migrate20150515-DataSourcePurgeTables.pl

Thu Dec  1 17:35:48 2016: Verified schema version 104.

Thu Dec  1 17:36:59 2016: Verified schema version 104.

Thu Dec  1 17:36:59 2016: Updating DB schema version from 104 to 105.

Running /opt/zimbra/libexec/scripts/migrate20150623-ZmgDevices.pl

Thu Dec  1 17:37:02 2016: Verified schema version 105.

Thu Dec  1 17:37:03 2016: Verified schema version 105.

Thu Dec  1 17:37:03 2016: Updating DB schema version from 105 to 106.

Running /opt/zimbra/libexec/scripts/migrate20150702-ZmgDevices.pl

Thu Dec  1 17:37:06 2016: Verified schema version 106.

Thu Dec  1 17:37:07 2016: Verified schema version 106.

Thu Dec  1 17:37:07 2016: Updating DB schema version from 106 to 107.

Stopping mysql…done.

Updating from 8.6.0_BETA1

Updating from 8.6.0_BETA2

Updating from 8.6.0_GA

Updating from 8.6.1_GA

Updating from 8.7.0_BETA1

Updating mailboxd_java_options to remove deprecated PermSize and MaxPermSize java options.

Updating from 8.7.0_BETA2

Updating from 8.7.0_RC1

Updating from 8.7.0_RC2

Updating from 8.7.0_GA

Updating from 8.7.1_GA

Updating global config and COS's with attributes introduced after 8.5.1_GA…done.

Stopping ldap…done.

Upgrade complete.


Checking ldap status….not running.

Starting ldap…done.

Setting defaults…done.

Setting defaults from existing config…done.

Checking for port conflicts

Setting defaults from ldap…done.


Main menu


   1) Common Configuration:                                                  

        +Hostname:                             mail.chenxie.net                

        +Ldap master host:                     mail.chenxie.net                

        +Ldap port:                            389                           

        +Ldap Admin password:                  set                           

        +Secure interprocess communications:   yes                           

******* +TimeZone:                             UNSET                         

        +IP Mode:                              ipv4                          

        +Default SSL digest:                   sha256                        


   2) zimbra-ldap:                             Enabled                       

   3) zimbra-logger:                           Enabled                       

   4) zimbra-mta:                              Enabled                       

   5) zimbra-dnscache:                         Enabled                       

   6) zimbra-snmp:                             Enabled                       

   7) zimbra-store:                            Enabled                       

   8) zimbra-spell:                            Enabled                       

   9) zimbra-proxy:                            Enabled                       

  10) Default Class of Service Configuration:                                

   s) Save config to file                                                    

   x) Expand menu                                                            

   q) Quit                                    


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



Common configuration


   1) Hostname:                                mail.chenxie.net                

   2) Ldap master host:                        mail.chenxie.net                

   3) Ldap port:                               389                           

   4) Ldap Admin password:                     set                           

   5) Secure interprocess communications:      yes                           

** 6) TimeZone:                                UNSET                         

   7) IP Mode:                                 ipv4                          

   8) Default SSL digest:                      sha256                        


Select, or 'r' for previous menu [r] 6


 

1 Africa/Algiers

2 Africa/Cairo

3 Africa/Casablanca

4 Africa/Harare

5 Africa/Monrovia

6 Africa/Nairobi

7 Africa/Tripoli

8 Africa/Windhoek

9 America/Anchorage

10 America/Argentina/Buenos_Aires

11 America/Asuncion

12 America/Bahia

13 America/Bogota

14 America/Cancun

15 America/Caracas

16 America/Cayenne

17 America/Chicago

18 America/Chihuahua

19 America/Cuiaba

20 America/Denver

21 America/Fort_Nelson

22 America/Godthab

23 America/Grand_Turk

24 America/Guatemala

25 America/Guyana

26 America/Halifax

27 America/Indiana/Indianapolis

28 America/Los_Angeles

29 America/Mexico_City

30 America/Montevideo

31 America/New_York

32 America/Phoenix

33 America/Regina

34 America/Santiago

35 America/Sao_Paulo

36 America/St_Johns

37 America/Tijuana

38 Asia/Almaty

39 Asia/Amman

40 Asia/Baghdad

41 Asia/Baku

42 Asia/Bangkok

43 Asia/Beirut

44 Asia/Colombo

45 Asia/Damascus

46 Asia/Dhaka

47 Asia/Hong_Kong

48 Asia/Irkutsk

49 Asia/Jerusalem

50 Asia/Kabul

51 Asia/Kamchatka

52 Asia/Karachi

53 Asia/Kathmandu

54 Asia/Kolkata

55 Asia/Krasnoyarsk

56 Asia/Kuala_Lumpur

57 Asia/Kuwait

58 Asia/Magadan

59 Asia/Muscat

60 Asia/Novosibirsk

61 Asia/Pyongyang

62 Asia/Rangoon

63 Asia/Seoul

64 Asia/Singapore

65 Asia/Srednekolymsk

66 Asia/Taipei

67 Asia/Tashkent

68 Asia/Tbilisi

69 Asia/Tehran

70 Asia/Tokyo

71 Asia/Ulaanbaatar

72 Asia/Vladivostok

73 Asia/Yakutsk

74 Asia/Yekaterinburg

75 Asia/Yerevan

76 Atlantic/Azores

77 Atlantic/Cape_Verde

78 Atlantic/South_Georgia

79 Australia/Adelaide

80 Australia/Brisbane

81 Australia/Darwin

82 Australia/Hobart

83 Australia/Perth

84 Australia/Sydney

85 Etc/GMT+12

86 Europe/Athens

87 Europe/Belgrade

88 Europe/Berlin

89 Europe/Brussels

90 Europe/Bucharest

91 Europe/Helsinki

92 Europe/Istanbul

93 Europe/Kaliningrad

94 Europe/London

95 Europe/Minsk

96 Europe/Moscow

97 Europe/Samara

98 Europe/Warsaw

99 Indian/Mauritius

100 Pacific/Apia

101 Pacific/Auckland

102 Pacific/Bougainville

103 Pacific/Fiji

104 Pacific/Guadalcanal

105 Pacific/Guam

106 Pacific/Honolulu

107 Pacific/Kiritimati

108 Pacific/Midway

109 Pacific/Tongatapu

110 UTC

Enter the number for the local timezone: [33] 47


Common configuration


   1) Hostname:                                mail.chenxie.net                

   2) Ldap master host:                        mail.chenxie.net                

   3) Ldap port:                               389                           

   4) Ldap Admin password:                     set                           

   5) Secure interprocess communications:      yes                           

   6) TimeZone:                                Asia/Hong_Kong                

   7) IP Mode:                                 ipv4                          

   8) Default SSL digest:                      sha256                        


Select, or 'r' for previous menu [r] r


Main menu


   1) Common Configuration:                                                  

   2) zimbra-ldap:                             Enabled                       

   3) zimbra-logger:                           Enabled                       

   4) zimbra-mta:                              Enabled                       

   5) zimbra-dnscache:                         Enabled                       

   6) zimbra-snmp:                             Enabled                       

   7) zimbra-store:                            Enabled                       

   8) zimbra-spell:                            Enabled                       

   9) zimbra-proxy:                            Enabled                       

  10) Default Class of Service Configuration:                                

   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.31784…done.

Operations logged to /tmp/zmsetup.20161201-173453.log

Setting local config values…done.

Initializing core config…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.chenxie.net…already exists.

Setting Zimbra IP Mode…done.

Saving CA in ldap…done.

Saving SSL Certificate in ldap…done.

Setting spell check URL…done.

Setting service ports on mail.chenxie.net…done.

Setting Keyboard Shortcut Preferences…done.

Setting zimbraFeatureTasksEnabled=TRUE…done.

Setting zimbraFeatureBriefcasesEnabled=TRUE…done.

Setting Master DNS IP address(es)…done.

Setting DNS cache tcp lookup preference…done.

Setting DNS cache udp lookup preference…done.

Setting DNS tcp upstream preference…done.

Setting TimeZone Preference…done.

Initializing mta config…done.

Setting services on mail.chenxie.net…done.

Adding mail.chenxie.net to zimbraMailHostPool in default COS…done.

Creating user spam.p0tsdfur@chenxie.net…already exists.

Creating user ham.jmgtgwbjh@chenxie.net…already exists.

Creating user virus-quarantine.m58yuisviv@chenxie.net…already exists.

Setting spam training and Anti-virus quarantine accounts…done.

Configuring SNMP…done.

Setting up syslog.conf…done.

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_webex…done.

        com_zimbra_phone…done.

        com_zimbra_ymemoticons…done.

        com_zimbra_attachcontacts…done.

        com_zimbra_clientuploader…done.

        com_zimbra_proxy_config…done.

        com_zimbra_tooltip…done.

        com_zimbra_viewmail…done.

        com_zimbra_attachmail…done.

        com_zimbra_mailarchive…done.

        com_zimbra_adminversioncheck…done.

        com_zimbra_cert_manager…done.

        com_zimbra_date…done.

        com_zimbra_bulkprovision…done.

        com_zimbra_url…done.

        com_zimbra_email…done.

        com_zimbra_srchhighlighter…done.

Finished installing common zimlets.

Getting list of all zimlets…done.

Updating non-standard zimlets…

Finished updating non-standard zimlets.

Restarting mailboxd…done.

Skipping creation of default domain GAL sync account – existing install detected.


You have the option of notifying Zimbra of your installation.

This helps us to track the uptake of the Zimbra Collaboration Server.

The only information that will be transmitted is:

        The VERSION of zcs installed (8.7.1_GA_1670_RHEL6_64)

        The ADMIN EMAIL ADDRESS created (admin@chenxie.net)


Notify Zimbra of your installation? [Yes] NO

Notification skipped

Setting up zimbra crontab…done.



Moving /tmp/zmsetup.20161201-173453.log to /opt/zimbra/log



Configuration complete – press return to exit 



[root@mail zcs-8.7.1_GA_1670.RHEL6_64.20161025035141]# 


发表评论

*