On Fri, 2006-10-06 at 12:00 +0200, [EMAIL PROTECTED]
wrote:
> Send clamav-users mailing list submissions to
>       clamav-users@lists.clamav.net
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>       http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
> or, via email, send a message with subject or body 'help' to
>       [EMAIL PROTECTED]
> 
> You can reach the person managing the list at
>       [EMAIL PROTECTED]
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of clamav-users digest..."
> 
> 
> Today's Topics:
> 
>    1. how to decern what to scan? (Jim Shupert, Jr.)
>    2. Re: how to decern what to scan? (Jim Maul)
>    3. Re: clamd shutdown periodicly (Nigel Horne)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Thu, 5 Oct 2006 08:45:01 -0400
> From: "Jim Shupert, Jr." <[EMAIL PROTECTED]>
> Subject: [Clamav-users] how to decern what to scan?
> To: <clamav-users@lists.clamav.net>
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain;     charset="iso-8859-1"
> 
> I have clam av on a redhat ES3 linux  machine.
> 
> I do not see where i can declare what directory it is to scan?
> 
> what do I config to make that happen?
> 
> like if I wanted to scan mnt/data ( where data is a mounted 2nd drive ) or
> mnt/data/dog    ( where dog is a dir on the drive data )
> 
> and if I wanted to scan this once a day?
> 
> thanks!
> 
> j
> 
> ------------------------------
> 
> Message: 2
> Date: Thu, 05 Oct 2006 08:51:52 -0400
> From: Jim Maul <[EMAIL PROTECTED]>
> Subject: Re: [Clamav-users] how to decern what to scan?
> To: ClamAV users ML <clamav-users@lists.clamav.net>
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> Jim Shupert, Jr. wrote:
> > I have clam av on a redhat ES3 linux  machine.
> > 
> > I do not see where i can declare what directory it is to scan?
> > 
> 
> pass it on the command line?
> 
> > what do I config to make that happen?
> 
> your brain?
> 
> > 
> > like if I wanted to scan mnt/data ( where data is a mounted 2nd drive ) or
> > mnt/data/dog    ( where dog is a dir on the drive data )
> 
> clamscan /mnt/data/dog/ ?
> 
> > 
> > and if I wanted to scan this once a day?
> > 
> 
> cron?
> 
> > thanks!
> > 
> 
> welcome?
> 
> 
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Thu, 05 Oct 2006 14:06:04 +0100
> From: Nigel Horne <[EMAIL PROTECTED]>
> Subject: Re: [Clamav-users] clamd shutdown periodicly
> To: ClamAV users ML <clamav-users@lists.clamav.net>
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> On 04/10/06 15:55 +0700, zen wrote:
> > Dear users,
> > i`ve just updated my clamav installation to the latest tarball,
> > but after this, my clamd service periodicly shutdown with this error 
> > messages:
> > 
> > Wed Oct  4 15:47:07 2006 -> No stats for Database check - forcing reload
> > Wed Oct  4 15:47:07 2006 -> Reading databases from /usr/local/share/clamav
> > Wed Oct  4 15:47:10 2006 -> ERROR: reload db failed: Unable to create 
> > temporary file
> > Wed Oct  4 15:47:10 2006 -> Terminating because of a fatal error.Wed 
> > Oct  4 15:47:10 2006 -> Shutting down the main socket.
> 
> Build it without --enable-experimental.
> 
> 


Jim Shupert Jr. wrote:

I have clam av on a redhat ES3 linux  machine.
> 
> I do not see where i can declare what directory it is to scan?
> 
> what do I config to make that happen?
> 
> like if I wanted to scan mnt/data ( where data is a mounted 2nd drive ) or
> mnt/data/dog    ( where dog is a dir on the drive data )
> 
> and if I wanted to scan this once a day?
> 
> thanks!
> 
> j


Dear Jim,

If you want to scan a file or a directory:

$ mkdir /tmp/virus

$ clamscan -riv --move=/tmp/virus [your selected file or directory,
(/home/user, for example)].

If you want that clamAV scans your entire HD, edit cron (I use Debian GNU/Linux 
so I edited my /etc/crontab file). Maybe you
want ClamAV do this at 1:00 a.m., every day:

00 1 * * * root mkdir /tmp/virus ; clamscan -ri
--log=/var/log/clamscan.log --move=/tmp/virus /

Hopefully, this could help you.

-- 
Andrés González Cantú
[EMAIL PROTECTED]

_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to