Chinaunix首页 | 论坛 | 博客
  • 博客访问: 457949
  • 博文数量: 711
  • 博客积分: 3000
  • 博客等级: 中校
  • 技术积分: 4200
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-28 14:18
文章分类

全部博文(711)

文章存档

2011年(1)

2008年(710)

我的朋友

分类:

2008-10-29 12:00:36


  以之前在讨论区上post的安装方法,收发信皆很正常,唯独行事历却完全不会动作,
  也无错误任何讯息。
  
  以下是我的解决步骤:
  downLoad 下列档案
  
  
  
  
  安装 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--thread-multi/DB_File.pm line 259.
  
  Please modify /usr/lib/perl5/5.8.0/i386--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,行事历功能仍然不会动作,直到,我重新再做初始化, 行事历功能就恢复正常!
  
  
【责编:admin】

--------------------next---------------------

阅读(261) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~