On Sunday 15 August 2004 05:17, Graham Watkins wrote: > JRH wrote: > > Ok, > > > > I have downloaded and installed it, and it has asked me to set up a > > user account for Clam, which I have done. > > > > However, I cant get it to scan my entire drive, as maybe I am doing > > something wrong. > > > > I know the clamscan command starts it scanning, but it will only > > seen to scan the current directory which you happen to be in at the > > time. > > > > With F-Prot, you type f-prot / and it will scan the entire drive, > > including the windows partition. > > > > Any ideas what I need to be typing with clam, to get it to do this? > > > > Thnaks, > > > > JRH > > Hi, > > The command you need is "clamscan -r /" without the quotes if you > want to scan the entire system. -r stands for recursive. > > Mostly however, I just scan my Windows partitions. I figure that if > there's any trouble, that's where it's most likely to be. > > However, the Law of Excremental Occurrences has just kicked in. Just > tried to run a scan and got the following message: > > [EMAIL PROTECTED] graham]# clamscan -r / > LibClamAV Error: cl_hex2str(): Malformed hexstring: > 633a5c312e626174000000003a2a3a456e6162 (length: > 97)373637300000053797374656d5c43757272656e74436f > LibClamAV Error: readdb(): Malformed pattern line 1617 (file > /var/lib/clamav/viruses.db2). > ERROR: Malformed database. > > ----------- SCAN SUMMARY ----------- > Known viruses: 21793 > Scanned directories: 0 > Scanned files: 0 > Infected files: 0 > Data scanned: 0.00 MB > I/O buffer size: 131072 bytes > Time: 1.545 sec (0 m 1 s) > > This suggests that I have a corrupted virus database. Can I do > anything about this or do I just have to wait until it it is updated? > > > Also, does anybody know how I can save the output of a scan to a text > file as the output is not completely visible in the terminal window. Usually this works 'command > filename.txt' if not of if yhou want to see the output as well as store it try 'command | tee filename.txt'. This is for commands that give output to stdout. -- Regards; Hoyt Registered Linux User #363264 http://counter.li.org
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________