Contents


CPAN

flolaという計算機のamavisd-newをアップグレードしたら、

Feb 25 09:55:19 flora kernel: Problem in Amavis::Unpackers code: Can't locate Convert/UUlib.pm in @INC (@INC 
contains: /usr/local/lib/perl5/5.8.9/BSDPAN /usr/local/lib/perl5/site_perl/5.8.9/mach
/usr/local/lib/perl5/site_perl/5.8.9 /usr/local/lib/perl5/5.8.9/mach /usr/local/lib/perl5/5.8.9) at (eval 118) line 33.
Feb 25 09:55:19 flora kernel: BEGIN failed--compilation aborted at (eval 118) line 33.
Feb 25 09:55:19 flora kernel: Starting clamav_clamd.
Feb 25 09:55:21 flora kernel: Starting clamav_freshclam.

とdmesg -a に表示・・・ :(

flora# cpan
Terminal does not support AddHistory.

cpan shell -- CPAN exploration and modules installation (v1.9301)
ReadLine support available (maybe install Bundle::CPAN or Bundle::CPANxxl?)

cpan[1]> install Convert::UUlib

した。

k222という計算機のamavisd-newをアップグレードしようとして、

# portinstall security/amavisd-new

すると、

     :        :        :
***************************************************************************
NOTE: the optional Encode::Detect module is not installed.

 If you plan to use the normalize_charset config setting to detect
 charsets and convert them into Unicode, you will need to install
 this module.

REQUIRED module missing: HTML::Parser
optional module missing: Mail::SPF
optional module missing: Mail::SPF::Query
optional module missing: IP::Country
optional module missing: Razor2
optional module missing: Net::Ident
optional module missing: IO::Socket::SSL
optional module out of date: Compress::Zlib
optional module missing: Mail::DomainKeys
optional module missing: DBI
optional module missing: LWP::UserAgent
optional module missing: HTTP::Date
optional module missing: Archive::Tar
optional module missing: IO::Zlib
optional module missing: Encode::Detect 

warning: some functionality may not be available,
please read the above report before continuing!

*** Error code 1

といって止まった。どうやらperlのモジュールがないというエラーの様・・・何故そうなったのかは解らない(オイオイ)が、モジュールを入れることに・・・で、

# cpan

とすると、いろいろ初期設定を聞いてくるので、全部デフォ!で、目出度く?プロンプトが出る。

    :
# cpan[1]> install HTML::Parser
    :        :        :
of modules we are processing right now? [yes]
    :        :        :
    :        :        :
cpan[9]> install Compress::Zlib
Compress::Zlib is up to date (2.015).

cpan[10]>

等としてモジュールをインストール。で無事?

===> Installing rc.d startup script(s)
===>   Registering installation for amavisd-new-2.6.2,1
===>  Cleaning for p5-Mail-SpamAssassin-3.2.5_1
===>  Cleaning for amavisd-new-2.6.2,1
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 377 packages found (-0 +2) .. done]
k222#

インストール完了。ええんかそれで???

*******************************************************************
To use amavisd-new, you need to install at least one virus scanner.
The following virus scanners are available in the FreeBSD ports
collection:

/usr/ports/security/vscan      McAfee VirusScan
/usr/ports/security/clamav     Clam Antivirus
/usr/ports/security/f-prot     F-Prot Antivirus
/usr/ports/security/drweb      DrWeb antivirus suite

Enable amavisd-new in /etc/rc.conf with the following line:

   amavisd_enable="YES"

Optionally enable amavisd tmp ram disk with: (example 512m)

   amavisd_ram="512m"

If you have installed and want to use the amavis sendmail milter interface,
you need the following additional line in /etc/rc.conf:

   amavis_milter_enable="YES"

If you have installed and want to use the p0fanalyzer interface,
you need the following additional lines in /etc/rc.conf
(with modifications according to your needs):

   amavis_p0fanalyzer_enable="YES"
   amavis_p0fanalyzer_p0f_filter="tcp dst port 25"

You can pass another command line options to p0f daemon by setting
amavis_p0f_daemon_flags and to p0f-analyzer.pl by setting
amavis_p0fanalyzer_flags.

Configuration templates are available in /usr/local/etc
as amavisd.conf-dist, amavisd.conf-sample, amavisd.conf-default
and amavisd-custom.conf-dist.
Documentation is available in /usr/local/share/doc/amavisd-new.
*******************************************************************

Counter: 1382, today: 1, yesterday: 0
2009-02-25 (水) 12:21:39更新

トップ   編集 凍結解除 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2009-02-25 (水) 12:21:39