Hello All,
I have a problem in sending and receiving mail. I check maillog and found out that the problem is the Amavis service not running.
So I try to start it using command:
And the message returned:
I tried re-installing amavisd, using steps described in /usr/local/share/doc/amavisd-new/INSTALL, and got stuck in step starting the program amavisd. When I entered this command:
It returned this error:
From digging around, it's said that I should install BerkeleyDB perl module.
So I tried to install it using cpan:
But failed and got this message:
Digging again I found that supposedly that occurred because I don't have BerkeleyDB installed in my machine. But when I try list installed packages in my machine, I found that db41 and db47 already installed here. And when I try locate BerkeleyDB.pm required above, I found it in the wrong(?) directory (/usr/local/lib/perl5/site_perl/5.12.4/mach instead of /usr/local/lib/perl5/site_perl/5.16.2/mach). Moving the files didn't help of course. And I keep on installing db5 anyway. And it also didn't solve anything.
Anyone know what should I do now? Or where did I go wrong?
Judging from post maybe you can recognize that I am a noob in FreeBSD and even Linux
So any kind of help highly appreciated.
Thanks.
I have a problem in sending and receiving mail. I check maillog and found out that the problem is the Amavis service not running.
So I try to start it using command:
Code:
$ service amavisd start
Code:
Starting amavisd.
/usr/local/etc/rc.d/amavisd: WARNING: failed to start amavisd
Code:
$ /usr/local/sbin/amavisd -u vscan debug
Code:
Problem in Amavis::DB or Amavis::DB::SNMP code: Can't locate BerkeleyDB.pm in @INC (@INC contains: /usr/local/lib/perl5/5.16.2/BSDPAN /usr/local/lib/perl5/site_perl/5.16.2/mach /usr/local/lib/perl5/site_perl/5.16.2 /usr/local/lib/perl5/5.16.2/mach /usr/local/lib/perl5/5.16.2) at (eval 104) line 21.
BEGIN failed--compilation aborted at (eval 104) line 21.
So I tried to install it using cpan:
Code:
$ cpan install BerkeleyDB
Code:
<snip>
Stop in /root/.cpan/build/BerkeleyDB-0.51-XSix_A.
PMQS/BerkeleyDB-0.51.tar.gz
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Anyone know what should I do now? Or where did I go wrong?
Judging from post maybe you can recognize that I am a noob in FreeBSD and even Linux

So any kind of help highly appreciated.
Thanks.