Re: [Assp-user] ClamAV issues

2010-03-11 Thread Spyros Tsiolis
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 pdick...@frederickcountymd.gov wrote:

 From: Paul K. Dickson pdick...@frederickcountymd.gov
 Subject: Re: [Assp-user] ClamAV issues
 To: For Users of ASSP assp-user@lists.sourceforge.net
 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
 pdick...@frederickcountymd.gov
 301-600-2399/x12399
 
 
 
  From: Spyros Tsiolis sts...@yahoo.co.uk
  Reply-To: For Users of ASSP assp-user@lists.sourceforge.net
  Date: Wed, 10 Mar 2010 10:19:19 + (GMT)
  To: ASSP User List assp-user@lists.sourceforge.net
  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
  Assp-user@lists.sourceforge.net
  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
 Assp-user@lists.sourceforge.net
 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
Assp-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-user


Re: [Assp-user] ClamAV issues

2010-03-11 Thread Greybear
Hi,

You need to install ClamAV first.

Regards
Greybear


2010/3/11 Spyros Tsiolis sts...@yahoo.co.uk

 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 pdick...@frederickcountymd.gov
 wrote:

  From: Paul K. Dickson pdick...@frederickcountymd.gov
  Subject: Re: [Assp-user] ClamAV issues
  To: For Users of ASSP assp-user@lists.sourceforge.net
  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
  pdick...@frederickcountymd.gov
  301-600-2399/x12399
 
 
 
   From: Spyros Tsiolis sts...@yahoo.co.uk
   Reply-To: For Users of ASSP assp-user@lists.sourceforge.net
   Date: Wed, 10 Mar 2010 10:19:19 + (GMT)
   To: ASSP User List assp-user@lists.sourceforge.net
   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
   Assp-user@lists.sourceforge.net
   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
  Assp-user@lists.sourceforge.net
  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
 Assp-user@lists.sourceforge.net
 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
Assp-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-user


Re: [Assp-user] ClamAV issues

2010-03-11 Thread Dexter
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 jlbr...@bordo.com.au 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 pdick...@frederickcountymd.gov
 wrote:
 
  From: Paul K. Dickson pdick...@frederickcountymd.gov
  Subject: Re: [Assp-user] ClamAV issues
  To: For Users of ASSP assp-user@lists.sourceforge.net
  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
  pdick...@frederickcountymd.gov
  301-600-2399/x12399
 
 
 
  From: Spyros Tsiolis sts...@yahoo.co.uk
  Reply-To: For Users of ASSP assp-user@lists.sourceforge.net
  Date: Wed, 10 Mar 2010 10:19:19 + (GMT)
  To: ASSP User List assp-user@lists.sourceforge.net
  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

Re: [Assp-user] ClamAV issues

2010-03-11 Thread Spyros Tsiolis
Hi Dex,

Thanks a lot man.

Yum is for CentOS installations. I am getting there (get all my
servers to be of one flavour) but I'm not quite there yet.

I am using Slackware Linux v12.0 at the moment for this specific
ASSP server.

I will definitely keep all the scripts that you've so willfully
attached and try to make them work for my installation.

Again, Thank You !

S.



--- On Thu, 11/3/10, Dexter dexterneedsabr...@gmail.com wrote:

 From: Dexter dexterneedsabr...@gmail.com
 Subject: Re: [Assp-user] ClamAV issues
 To: For Users of ASSP assp-user@lists.sourceforge.net
 Date: Thursday, 11 March, 2010, 15:52
 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 jlbr...@bordo.com.au
 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 pdick...@frederickcountymd.gov
  wrote:
  
   From: Paul K. Dickson pdick...@frederickcountymd.gov
   Subject: Re: [Assp-user] ClamAV issues
   To: For Users of ASSP assp-user@lists.sourceforge.net
   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
   pdick...@frederickcountymd.gov
   301-600-2399/x12399
  
  
  
   From: Spyros Tsiolis sts...@yahoo.co.uk
   Reply-To: For Users of ASSP assp-user@lists.sourceforge.net
   Date: Wed, 10 Mar 2010 10:19:19 +
 (GMT)
   To: ASSP User List assp-user@lists.sourceforge.net
   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

[Assp-user] ClamAV issues

2010-03-10 Thread Spyros Tsiolis
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#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
Assp-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-user


Re: [Assp-user] ClamAV issues

2010-03-10 Thread Paul K. Dickson
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
pdick...@frederickcountymd.gov
301-600-2399/x12399



 From: Spyros Tsiolis sts...@yahoo.co.uk
 Reply-To: For Users of ASSP assp-user@lists.sourceforge.net
 Date: Wed, 10 Mar 2010 10:19:19 + (GMT)
 To: ASSP User List assp-user@lists.sourceforge.net
 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#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
 Assp-user@lists.sourceforge.net
 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
Assp-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/assp-user