opensslfix升级操作说明
1. 下载升级包
1、访问Turbomail官网下载中心http://www.turbomail.org/download/opensslfix.zip,下载升级包。
2、查看并解压升级包。
说明:以下是升级包内的文件及文件夹对应turbomail安装目录位置:
Linux turbomail/ (Linux版本升级文件)
Win turbomail/ (Windows版本升级文件)
2. 升级
Windows版本
(一)备份原文件
1、 打开邮件服务控制台,停止所有服务,点击退出控制台。
2、 备份turbomail安装目录下以下文件到其他目录:
(二) 升级
1、解压升级包opensslfix.zip,将opensslfix\win下的所有文件拷贝覆盖到turbomail安装目录下。
2、打开邮件服务控制台,运行服务。
Linux版本
(一)备份原文件
1、停止 mail、turbostore、turboright服务。
2 、将/turbomail/下turboim、turbomail、turbostore、turbomail_imap4、turbomail_pop3、turbomail_smtp、turboright、turbowatchdog这些文件剪切到其他目录备份。
(二) 升级
1、unzip opensslfix.zip得到opensslfix,将opensslfix/linux下的所有.tgz文件拷贝到/turbomail目录下,执行以下命令解压:
[[email protected] turbomail]# for i in $(ls *.tgz)
> do
> tar xzvf $i
> done
turboim
turbomail_imap4
turbomail_pop3
turbomail_smtp
turbomail
turboright
turbostore
turbowatchdog。
2、启动mail、turbostore、turboright服务。
附录
Linux版本停止和启动Mail、TurboStore、TurboRight、WebMail服务指令参考
一、停止mail、turbostore、turboright、webmail服务
[[email protected] ~]# ps -ef|grep safe //查看mail、turbostore监控进程
root 2444 2411 0 13:50 pts/0 00:00:00 grep safe
root 10987 1 0 Jun06 ? 00:02:55 /bin/bash ./safestart.sh
root 10993 1 0 Jun06 ? 00:02:09 /bin/bash ./safestartts.sh
[[email protected] ~]# kill -9 10987 //停止监控Turbomail核心服务进程
[[email protected] ~]# kill -9 10993 //停止监控Turbostore服务进程
[[email protected] ~]# ps -ef|grep safe
root 13968 12627 0 11:04 pts/1 00:00:00 grep safe
[[email protected] ~]# cd /turbomail
[[email protected] turbomail]# ./shutdown.sh //停止mail服务
shutdown turbomail successfully!
[[email protected] ~]# telnet localhost 25 //查看mail服务是否已停止
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host: Connection refused
[[email protected] turbomail]# pkill -9 turbostore //停止turbostore服务
[[email protected] turbomail]# pkill -9 turboright //停止turboright服务
[[email protected] turbomail]# ps -ef|grep java //查看webmail进程
root 3911 1 23 Mar13 ? 4-20:41:11 java -Djava.net.preferIPv4Stac k=true -classpath /turbomail/web/webapps/ROOT/WEB-INF/lib/turbomail.jar turb otech.aloneapp.AppStart /turbomail/web/webapps/ROOT/WEB-INF/lib turbomail.ar chive.aloneserver.ArchiveAloneServer
root 13526 1 0 Mar12 ? 00:18:01 java -Djava.net.preferIPv4Stack= true -classpath /turbomail/web/webapps/ROOT/WEB-INF/lib/turbomail.jar turbot ech.aloneapp.AppStart /turbomail/web/webapps/ROOT/WEB-INF/lib turbomail.sear ch.aloneserver.AloneServer
root 13527 1 0 Mar12 ? 00:30:30 java -Djava.net.preferIPv4Stack= true -Xmx512m -classpath /turbomail/web/webapps/ROOT/WEB-INF/lib/turbomail.j ar turbotech.aloneapp.AppStart /turbomail/web/webapps/ROOT/WEB-INF/lib turbo mail.autorun.AutoRunMain
root 13533 1 0 Mar12 ? 00:17:24 java -Djava.net.preferIPv4Stack= true -classpath /turbomail/web/webapps/ROOT/WEB-INF/lib/turbomail.jar turbot ech.aloneapp.AppStart /turbomail/web/webapps/ROOT/WEB-INF/lib turbotech.logs erver.AloneServer
root 27142 27111 0 11:33 pts/0 00:00:00 grep java
root 28967 1 0 Mar28 ? 00:54:20 /turbomail/jdk/bin/java -Dja va.util.logging.config.file=/turbomail/web/conf/logging.properties -Djava.aw t.headless=true -Xmx512m -Djava.util.logging.manager=org.apache.juli.ClassLoader LogManager -Djava.endorsed.dirs=/turbomail/web/endorsed -classpath :/opt/tur bomail/web/bin/bootstrap.jar -Dcatalina.base=/turbomail/web -Dcatalina.home= /turbomail/web -Djava.io.tmpdir=/turbomail/web/temp org.apache.catalina. startup.Bootstrap start
[[email protected] turbomail]# kill -9 3911 //停止archive服务
[[email protected] turbomail]# kill -9 13526 //停止search服务
[[email protected] turbomail]# kill -9 13527 //停止autorun服务
[[email protected] turbomail]# kill -9 13533 //停止logserver服务
[[email protected] turbomail]# kill -9 28967 //停止webmail服务
[[email protected] turbomail]# ps -ef|grep turbomail
root 14004 12627 0 11:05 pts/1 00:00:00 grep turbomail
[[email protected] turbomail]#
二、启动mail、turbostore、turboright、webmail服务
[[email protected] ~]# cd /turbomail
[[email protected] turbomail]# ./starttm.sh //启动mail服务
start turbomail successfully!
[[email protected] turbomail]# telnet localhost 25 //查看mail服务是否已启动
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is ‘^]‘.
220 TurboMail SMTP Service ready
[[email protected] turbomail]# ./startts.sh //启动turbostore服务
start turbostore successfully!
[[email protected] turbomail]# ./starttr.sh //启动turboright服务
start turboright successfully!
[[email protected]localhost turbomail]# nohup ./safestart.sh & //启动监控Turbomail核心服务进程
[1] 14386(按回车返回命令行即可)
[[email protected] turbomail]# nohup ./safestartts.sh & //启动监控Turbostore核心服务进程
[1] 14393(按回车返回命令行即可)
[[email protected] turbomail]# cd web/bin/
[[email protected] bin]# ./startup.sh //启动webmail服务
Using CATALINA_BASE: /turbomail/web
Using CATALINA_HOME: /turbomail/web
Using CATALINA_TMPDIR: /turbomail/web/temp
Using JRE_HOME: /turbomail/jdk
[[email protected] bin]#ps –ef|grep turbomail
root 14161 1 0 11:10 pts/2 00:00:00 ./turbomail
root 14162 14161 0 11:10 pts/2 00:00:00 ./turbomail
root 14163 14162 0 11:10 pts/2 00:00:00 ./turbomail
root 14164 14162 0 11:10 pts/2 00:00:00 ./turbomail
root 14385 14162 0 11:10 pts/2 00:00:00 ./turbomail
root 14416 1 12 11:10 pts/2 00:00:04 /turbomail/jdk/bin/java -Djava.util.logging.config.file=/turbomail/web/conf/logging.properties -Djava.awt.headless=true -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/turbomail/web/endorsed -classpath :/turbomail/web/bin/bootstrap.jar -Dcatalina.base=/turbomail/web -Dcatalina.home=/turbomail/web -Djava.io.tmpdir=/turbomail/web/temp org.apache.catalina.startup.Bootstrap start
root 14453 14117 0 11:11 pts/2 00:00:00 grep turbomail
[[email protected] turbomail]# cd /turbomail/archiveserver/ //启动archive服务
[[email protected] archiveserver]# nohup ./startserver.sh &
[[email protected] turbomail]# cd /turbomail/autorun/ //启动autorun服务
[[email protected] archiveserver]# nohup ./startserver.sh &
[[email protected] turbomail]# cd /turbomail/logserver/ //启动logserver服务
[[email protected] archiveserver]# nohup ./startserver.sh &
[[email protected] turbomail]# cd /turbomail/searchserver/ //启动searchserver服务
[[email protected] archiveserver]# nohup ./startserver.sh &
[[email protected] /]# ps -ef|grep safe
root 14386 14117 0 11:10 pts/2 00:00:00 /bin/bash ./safestart.sh
root 14472 14117 0 11:11 pts/2 00:00:00 grep safe
opensslfix升级操作说明