Hi,

i have used yum to install clamav clamvd clamav-update clamav-lib
clamav-scanner clamav-scanner-sysvinit clamav-scanner-upstart
clamav-server-sysvinit clamtk
so this shld take care of clamav.

yes you need clamav-server to get clamd and clamd.conf (i found this after
few hours of headscratching)

Then make sure you edit /etc/freshclam.conf (remove the EXAMPLE line), do
the same for /etc/clamd.conf

for some reason i didnt have a clamd.conf, so i vim'd my own:
 ___________________________________________________________________
#/etc/clamd.conf
LogFile /var/log/clamd.log
TemporaryDirectory /var/tmp
DatabaseDirectory /var/lib/clamav
LogFileMaxSize 1M
LogTime yes
LogSyslog yes
PidFile /var/run/clamav/clam.pid
LocalSocket /tmp/clamd.socket
FixStaleSocket yes
MaxConnectionQueueLength 15
ReadTimeout 120
SelfCheck 3600
User clamscan
AllowSupplementaryGroups yes
DetectBrokenExecutables yes
ScanMail yes
ScanHTML yes
ScanArchive no
ArchiveBlockEncrypted no
_____________________________________________________________
make sure you have clamavupdate user wihch shld match the permissions on the
log folder.

if it gives error check file permission to match the one in  /etc/passwd
#cat /etc/passwd |grep clam*

then you can do :
#freshclam (to update)
#/usr/bin/clamconf (to check your configuration and locate errors)
#/usr/bin/clamscan (to scan)

once this is done, perl module File::Scan::ClamAV can be manually compiled
#perl MAKEFILE.pl
#make && make install


ULR's i have used:
http://sial.org/howto/clamav/freshclam/

http://www.howtoforge.com/assp_clamav_postfix_debian_etch_p2

hope that helps

dexter


On Thu, Mar 11, 2010 at 6:11 AM, James Brown <[email protected]> wrote:

> I'm no expert on these things Spyros, but that does sound highly likely.
>
> Make sure ClamAV and Freshclam are working properly first.
>
> Then install the module. Run Make Test first, that might help.
>
> When all that works and clamd is running, start ASSP and configure it to
> use ClamAV.
>
> Good luck.
>
> James.
>
> On 11/03/2010, at 9:49 PM, Spyros Tsiolis wrote:
>
> > Hi Paul,
> >
> > Just what I suspected yesterday.
> >
> > Do you need to have the actual ClamAV running on the linux box to
> > install it as a Perl module ?
> >
> > Because if this is true, I haven't installed it !
> > Duh!
> >
> > I googled around yesterday. I got rid of the perl module living
> > inside my hard drive (I don't remember exactly what I did, I've
> > found a HOWTO somewhere, now I lost the hyperlink) and I suspect
> > that before I should install it as a perl module, I need to install
> > it as an executable.
> >
> > Please advise and many thanks,
> >
> > spyros
> >
> >
> >
> > --- On Wed, 10/3/10, Paul K. Dickson <[email protected]>
> wrote:
> >
> >> From: Paul K. Dickson <[email protected]>
> >> Subject: Re: [Assp-user] ClamAV issues
> >> To: "For Users of ASSP" <[email protected]>
> >> Date: Wednesday, 10 March, 2010, 15:41
> >> That looks like what you get if
> >> you've tried to install more than once in a
> >> cpan session and it has errored both times.  The
> >> second time you just get a
> >> generic message.  We'd need the full original
> >> message.  Exit cpan, do:
> >>
> >> Rm -rf /root/.cpan/build/File-Scan-ClamAV-1.91*
> >>
> >> Then open cpan and run "install File::Scan::ClamAV".
> >> Send what that says.
> >> Also, from the command line,  type "clamd -V" and let
> >> me know what it says.
> >>
> >>
> >> Usually it won't make if it cannot find the clamd.conf (and
> >> maybe
> >> freshclam.conf?) where ever it is looking, which indicates
> >> clamav isn't
> >> installed.  I believe the default clam install
> >> location and where the module
> >> looks is /usr/local/etc.  You do have clam installed
> >> right?
> >>
> >>
> >> Paul K. Dickson
> >> Systems Administrator
> >> Frederick County Government, IIT
> >> Frederick, MD 21701
> >> [email protected]
> >> 301-600-2399/x12399
> >>
> >>
> >>
> >>> From: Spyros Tsiolis <[email protected]>
> >>> Reply-To: For Users of ASSP <[email protected]>
> >>> Date: Wed, 10 Mar 2010 10:19:19 +0000 (GMT)
> >>> To: ASSP User List <[email protected]>
> >>> Subject: [Assp-user] ClamAV issues
> >>>
> >>> Just FYI,
> >>>
> >>> In case someone has any ideas, that is :
> >>>
> >>> --
> >>> Going to write /root/.cpan/Metadata
> >>> Running install for module 'File::Scan::ClamAV'
> >>> Running make for
> >> J/JA/JAMTUR/File-Scan-ClamAV-1.91.tar.gz
> >>>    Has already been unwrapped into
> >> directory
> >>> /root/.cpan/build/File-Scan-ClamAV-1.91-F42Phv
> >>>    '/usr/bin/perl5.10.0 Makefile.PL'
> >> returned status 512, won't make
> >>> Running make test
> >>>    Make had some problems, won't test
> >>> Running make install
> >>>    Make had some problems, won't
> >> install
> >>> --
> >>>
> >>> And that's pretty much it. It doesn't do anything.
> >>>
> >>> I would like to thank all the kind people who rushed
> >> to help me on
> >>> this.
> >>>
> >>> Best Regards to everyone,
> >>>
> >>> Spyros
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>
> ------------------------------------------------------------------------------
> >>> Download IntelĀ® Parallel Studio Eval
> >>> Try the new software tools for yourself. Speed
> >> compiling, find bugs
> >>> proactively, and fine-tune applications for parallel
> >> performance.
> >>> See why Intel Parallel Studio got high marks during
> >> beta.
> >>> http://p.sf.net/sfu/intel-sw-dev
> >>> _______________________________________________
> >>> Assp-user mailing list
> >>> [email protected]
> >>> https://lists.sourceforge.net/lists/listinfo/assp-user
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> Download IntelĀ® Parallel Studio Eval
> >> Try the new software tools for yourself. Speed compiling,
> >> find bugs
> >> proactively, and fine-tune applications for parallel
> >> performance.
> >> See why Intel Parallel Studio got high marks during beta.
> >> http://p.sf.net/sfu/intel-sw-dev
> >> _______________________________________________
> >> Assp-user mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/assp-user
> >>
> >
> >
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > Download Intel&#174; Parallel Studio Eval
> > Try the new software tools for yourself. Speed compiling, find bugs
> > proactively, and fine-tune applications for parallel performance.
> > See why Intel Parallel Studio got high marks during beta.
> > http://p.sf.net/sfu/intel-sw-dev
> > _______________________________________________
> > Assp-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/assp-user
>
>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
>  Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Assp-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/assp-user
>



-- 
-----
if it exists. it is possible
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user

Reply via email to