您的位置:首页 > 大数据 > 人工智能

Openwebmail安装时错误时的解决方案:

2009-02-06 16:41 351 查看
Openwebmail安装时在执行:

robinhome:/var/spool/mail# /home/www/cgi-bin/openwebmail/openwebmail-tool.pl --init

时出现错误提示:

Can't locate HTML/Template.pm in @INC.......

执行:

robinhome:/usr/local/src# perl -MCPAN -e 'install HTML::Template'

然后再:

robinhome:/var/spool/mail# /home/www/cgi-bin/openwebmail/openwebmail-tool.pl --init

Please change '/home/www/cgi-bin/openwebmail/etc/dbm.conf' from

dbm_ext .db
dbmopen_ext none
dbmopen_haslock no

to

dbm_ext .pag
dbmopen_ext none
dbmopen_haslock no

And execute '/home/www/cgi-bin/openwebmail/openwebmail-tool.pl --init' again!

ps: If you are running openwebmail in persistent mode,
don't forget to 'touch openwebmail*.pl', so speedycgi
will reload all scripts, modules and conf files in --init.

#vi /home/www/cgi-bin/openwebmail/etc/defaults/dbm.conf

更改dbm_ext .db 为 dbm_ext .pag

保存

再执行:robinhome:/var/spool/mail# /home/www/cgi-bin/openwebmail/openwebmail-tool.pl --init

robinhome:/var/spool/mail# /home/www/cgi-bin/openwebmail/openwebmail-tool.pl --init

creating db /home/www/cgi-bin/openwebmail/etc/maps/b2g ...done.
creating db /home/www/cgi-bin/openwebmail/etc/maps/g2b ...done.
creating db /home/www/cgi-bin/openwebmail/etc/maps/lunar ...done.

Creating UTF-8 locales...
langconv ar_AE.CP1256 -> ar_AE.UTF-8
langconv ar_AE.ISO8859-6 -> ar_AE.UTF-8
langconv bg_BG.CP1251 -> bg_BG.UTF-8
langconv ca_ES.ISO8859-1 -> ca_ES.UTF-8
langconv cs_CZ.ISO8859-2 -> cs_CZ.UTF-8
langconv da_DK.ISO8859-1 -> da_DK.UTF-8
langconv de_DE.ISO8859-1 -> de_DE.UTF-8
langconv el_GR.ISO8859-7 -> el_GR.UTF-8
langconv en_US.ISO8859-1 -> en_US.UTF-8
langconv es_AR.ISO8859-1 -> es_AR.UTF-8
langconv fi_FI.ISO8859-1 -> fi_FI.UTF-8
langconv fr_FR.ISO8859-1 -> fr_FR.UTF-8
langconv he_IL.CP1255 -> he_IL.UTF-8
langconv hr_HR.ISO8859-2 -> hr_HR.UTF-8
langconv hu_HU.ISO8859-2 -> hu_HU.UTF-8
langconv id_ID.ISO8859-1 -> id_ID.UTF-8
langconv it_IT.ISO8859-1 -> it_IT.UTF-8
langconv ko_KR.eucKR -> ko_KR.UTF-8
langconv lt_LT.CP1257 -> lt_LT.UTF-8
langconv nl_NL.ISO8859-1 -> nl_NL.UTF-8
langconv no_NO.ISO8859-1 -> no_NO.UTF-8
langconv pl_PL.ISO8859-2 -> pl_PL.UTF-8
langconv pt_BR.ISO8859-1 -> pt_BR.UTF-8
langconv pt_PT.ISO8859-1 -> pt_PT.UTF-8
langconv ro_RO.ISO8859-2 -> ro_RO.UTF-8
langconv ru_RU.KOI8-R -> ru_RU.UTF-8
langconv sk_SK.ISO8859-2 -> sk_SK.UTF-8
langconv sl_SI.CP1250 -> sl_SI.UTF-8
langconv sr_CS.ISO8859-2 -> sr_CS.UTF-8
langconv sv_SE.ISO8859-1 -> sv_SE.UTF-8
langconv th_TH.TIS-620 -> th_TH.UTF-8
langconv tr_TR.ISO8859-9 -> tr_TR.UTF-8
langconv uk_UA.KOI8-U -> uk_UA.UTF-8
...done.

Welcome to the OpenWebMail!

This program is going to send a short message back to the developer,
to give us statistics for future developments. The content to be sent is:

OS: Linux 2.6.24-686 i686
Perl: 5.008008
WebMail: OpenWebMail 2.53 20090205 revision 335

Send the site report?(Y/n) y
sending report...

Thank you.

robinhome:/var/spool/mail#

正常。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐