Installation of Perl module File::Scan::ClamAV fails

Asked by Twig

Installation of Perl module File::Scan::ClamAV fails in Feisty due to the following error:

ERROR: Can't open/parse the config file clamav.conf

I believe this file may have been moved / renamed in the latest version but I'm not sure what steps to take to rectify the problem.

Question information

Language:
English Edit question
Status:
Solved
For:
ClamAV Edit question
Assignee:
No assignee Edit question
Solved by:
Twig
Solved:
Last query:
Last reply:
Revision history for this message
Best Twig (pfirth) said :
#1

For the record, the exact procedure I used was:

sudo perl -MCPAN -e shell
test File::Scan::ClamAV - this will fail but is necessary to download the module.
look File::Scan::ClamAV
vi clamav.conf - make the changes below:

LocalSocket /root/.cpan/build/File-Scan-ClamAV-1.8/clamsock
Foreground
MaxThreads 1
ScanArchive
ArchiveMaxFileSize 1M
ArchiveMaxRecursion 1
ArchiveMaxFiles 2

to:

LocalSocket /root/.cpan/build/File-Scan-ClamAV-1.8/clamsock
Foreground true
MaxThreads 1
ScanArchive true
ArchiveMaxFileSize 1M
ArchiveMaxRecursion 1
ArchiveMaxFiles 2

make install
exit

This should bring you back to the cpan interface with the module installed.