These are steps for upgrade Zimbra 4.5.9 to 5.0.2.
1. Download new version from www.zimbra.com
[root@mail] # mkdir Program; cd Program [root@mail] # wget -c http://files.zimbra.com/downloads/5.0.2_GA/\ zcs-5.0.2_GA_1975.RHEL5.20080130221917.tgz |
2. Unzip new software.
[root@mail] # tar xvfz zcs-5.0.2_GA_1975.RHEL5.20080130221917.tgz |
3. Upgrade new libtool-ltdl package.
[root@mail] # yum install libtool-ltdl |
4. Stop current Zimbra service.
[root@mail] # su – zimbra [zimbra@mail] $ zmcontrol stop [zimbra@mail] # exit [root@mail] # |
5. Install Zimbra version 5.0.2.
[root@mail] # cd zcs-5.0.2_GA_1975.RHEL5.20080130221917 [root@mail] # ./install |
7. After you upgraded , you can not sent email and you found warning in file /var/log/zimbra.log
postfix/smtpd[8439]: warning: problem talking to service rewrite: Success postfix/master[7626]: warning: process /opt/zimbra/postfix-2.4.3.3z/libexec/trivial-rewrite pid 9809 exit status |
8. Fix this problem by change start_tls option in file ldap-*.cf in path /opt/zimbra/config/ from Yes to No and this is script for change it in all files.
#!/bin/bashfor x in ldap-scm.cf ldap-transport.cf ldap-vad.cf ldap-vam.cf ldap-vmd.cf ldap-vmd.cf; do echo “File : ${x}”; cp $x $x.bak; sed -i s/”start_tls = yes”/”start_tls = no”/g $x; done |
9. Assume name of this script is change_start_tls_yes2no.sh. Change mode of this script and run it.
[root@mail] # cd /opt/zimbra/conf/ [root@mail] # ls -l change_start_tls_yes2no.sh -rwxr-x— 1 zimbra zimbra 196 Mar 6 09:45 change_start_tls_yes2no.sh [root@mail] # chmod +x change_start_tls_yes2no.sh [root@mail] # ./change_start_tls_yes2no.sh |
10. Restart new Zimbra service.
[root@mail] # su – zimbra [zimbra@mail] $ zmcontrol stop [zimbra@mail] $ zmcontrol start [zimbra@mail] $ zmcontrol status |