修正行事历无法使用牛

文章来源:中山文学网  |  2021-10-29

以之前在讨论区上post的安装方法,收发信皆很正常,唯独行事历却完全不会动作,

也无错误任何讯息。

以下是我的解决步骤:

downLoad 下列档案

安装 MIME-Base64

For MIME-Base64 do the following:

cd /tmp

tar -zxvf

cd MIME-Base.12

perl

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

cd libnet-1.0901

perl (ans \'no\' if asked to update configuration)

make

11.49 make install

先备份 cp /var/www/cgi-bin/openwebmail/ect/nf /backup

安装新下载的openwebmail

rpm -Uvh m

参考备份的 /backup/nf

修改 /var/www/cgi-bin/openwebmail/ect/nf

重新初始化openwebmail

cd /var/www/cgi-bin

[root@justdoit openwebmail]# ./ --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_ line 259.

Please modify /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DB_ 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 \'./ --init\' again!.

依错误讯息的意思

修改

/usr/lib/perl5/5.8.0/i386-linux-thread-multi/DB_

在247行加入

$arg[3] = 0666 unless defined $arg[3];

w!存盘,要加! (因为是只读档)

重新初始化

./ --init

OK!!

后记:

虽然一并做了更新openwebmail的动作,但是我觉得关键应该是

未安装MIME-Base64 套件,安装后再重新初始化,应该就可以!

因为在我做openwebmail初始化的动作之前(此时,已完成套件安装及openwebmail更新),

进入openwebmail,行事历功能仍然不会动作,直到,我重新再做初始化, 行事历功能就恢复正常!

查看本文来源

武汉去哪里看白癜风
长春治疗妇科好方法
早晨血压高怎么办
友情链接