spamassassin error in maillog

MartijnHOS

Verified User
Joined
Jun 18, 2005
Messages
54
Location
Netherlands
Hello,

I have a new DA server setup by myself two weeks ago.
Today i have installed spamassassin:
http://help.directadmin.com/item.php?id=36

But is see the following error in my maillog
Can't locate DB_File.pm in @INC (@INC contains: ../lib /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi

etc.

When i try perl -MCPAN -eshell
i get the following error:
Can't locate CPAN.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi

What's wrong here, i didn't have any error during the install of DA.

Kind regards

Martijn
 
I believe that the DB module is there for the auto-whitelist and other similar database functionaliy. If you don't need that, you probably don't need the modules, but error messages like that in logs tend to bug me...

What's more troublesome is that cpan doesn't work... What OS is this? What version of perl?
 
I could not install BerkeleyDB and DB_File
i got al lot of errors.

I had to install db4-devel

yum install db4-devel

I have CentOs 3.5 i had it installed to "clean"
 
Try...
Code:
yum upgrade yum
yum install perl-DB_File
To get cpan working:
Code:
yum install perl-CPAN
 
Sorry Ballyn,

The problem was solved by yum install db4-devel

i had no problems installing CPAN

After yum install db4-devel

I could use CPAN to install DB_File
and that worked

Thanks
 
Back
Top