歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux綜合 >> Linux資訊 >> 更多Linux >> 修正openwebmail行事歷無法使用的錯誤

修正openwebmail行事歷無法使用的錯誤

日期:2017/2/27 9:37:25   编辑:更多Linux

 以之前在討論區上post的安裝方法,收發信皆很正常,唯獨行事歷卻完全不會動作,   也無錯誤任何訊息。     以下是我的解決步驟:   downLoad 下列檔案      http://openwebmail.org/openwebmail/...e64-2.12.tar.gz      http://openwebmail.org/openwebmail/...t-1.0901.tar.gz      http://openwebmail.org/openwebmail/...021204.i386.rpm     安裝 MIME-Base64   For MIME-Base64 do the following:     cd /tmp   tar -zxvf MIME-Base64-2.12.tar.gz   cd MIME-Base64-2.12   perl Makefile.PL   make   make install     ps: Though you may already have the MIME-Base64 perl module,   we recommended you install MIME-Base64 module from source.   This would enable the XS support in this module which greatly   improves the encoding/decoding speed of MIME attachment.     安裝libnet   For libnet do the following:     cd /tmp   tar -zxvf libnet-1.0901.tar.gz   cd libnet-1.0901   perl Makefile.PL (ans 'no' if asked to update configuration)   make   make install     先備份 cp /var/www/cgi-bin/openwebmail/ect/openwebmail.conf /backup     安裝新下載的openwebmail   rpm -Uvh openwebmail-1.81-20021204.i386.rpm     參考備份的 /backup/openwebmail.conf   修改 /var/www/cgi-bin/openwebmail/ect/openwebmail.conf     重新初始化openwebmail   cd /var/www/cgi-bin     [root@justdoit openwebmail]# ./openwebmail-tool.pl --init     此時出現錯誤訊息   WARNING!     The perl on your system has serious bug in routine tell()!   While openwebmail can work properly with this bug, other perl application   may not function properly and thus cause data loss.     We suggest that you should patch your perl as soon as possible.     Please hit 'Enter' to continue or Ctrl-C to break.     Use of uninitialized value in subroutine entry at /usr/lib/perl5/5.8.0/i386-Linux-thread-multi/DB_File.pm line 259.     Please modify /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DB_File.pm by adding     $arg[3] = 0666 unless defined $arg[3];     before the following text (about line 247)     # make recno in Berkeley DB version 2 work like recno in version 1     And execute './openwebmail-tool.pl --init' again!.     依錯誤訊息的意思   修改   /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DB_File.pm   在247行加入   $arg[3] = 0666 unless defined $arg[3];     w!存盤,要加! (因為是編輯只讀檔)     重新初始化   ./openwebmail-tool.pl --init     OK!!     後記:   雖然一並做了更新openwebmail的動作,但是我覺得關鍵應該是   未安裝MIME-Base64 套件,安裝後再重新初始化,應該就可以!     因為在我做openwebmail初始化的動作之前(此時,已完成套件安裝及openwebmail更新),   進入openwebmail,行事歷功能仍然不會動作,直到,我重新再做初始化, 行事歷功能就恢復正常!  






Copyright © Linux教程網 All Rights Reserved