Re: [newbie] ClamAV error, help pls?
On Monday 22 November 2004 09:18, Wojciech Podgórni wrote: > Użytkownik Ricardo Castanho de Oliveira Freitas napisał: Tks! But I doesn´t seem to be the problem (permissions) The error indicates a non-existing directory! And clamav was fully operational until a update through ´freshclam´! I´ve tried to change to all possibles directories, but no success! Ricardo Castanho > >I started do get this message after a period of use and just after a > > freshclam command! > > > >Any help? > > > >I didn´t find anything in the docs or the faqs! > > > >= > >LibClamAV Error: cl_loaddbdir(): Can't open directory X/lib/clamav > >ERROR: Unable to open file or directory > >= > > > >TKS, > > > >Ricardo Castanho > >Brasil > > I would start by checking the directory (or file) permissions - and by > checking whether the file/directory exists. > It's a strange bug, especially considering that clamav on Mandrake uses > /var/lib/clamav directory (both on Mandrake 10.0 and 10.1). Is your > install of clamav a custom one? > And I would check it there's something wrong with the /etc/clamd.conf > file (perhaps that's the root of your problem). > > Wojciech Podgórni -- == Linux user # 102240 => [EMAIL PROTECTED] user => 100% M$ FREE == Mon, 22 Nov 2004 20:15:00 -0200 20:15:00 up 49 days, 18:50, 7 users, load average: 16.40, 15.61, 15.23 All great discoveries are made by mistake. -- Young Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] ClamAV error, help pls?
Użytkownik Ricardo Castanho de Oliveira Freitas napisał: I started do get this message after a period of use and just after a freshclam command! Any help? I didn´t find anything in the docs or the faqs! = LibClamAV Error: cl_loaddbdir(): Can't open directory X/lib/clamav ERROR: Unable to open file or directory = TKS, Ricardo Castanho Brasil I would start by checking the directory (or file) permissions - and by checking whether the file/directory exists. It's a strange bug, especially considering that clamav on Mandrake uses /var/lib/clamav directory (both on Mandrake 10.0 and 10.1). Is your install of clamav a custom one? And I would check it there's something wrong with the /etc/clamd.conf file (perhaps that's the root of your problem). Wojciech Podgórni smime.p7s Description: S/MIME Cryptographic Signature
[newbie] ClamAV error, help pls?
I started do get this message after a period of use and just after a freshclam command! Any help? I didn´t find anything in the docs or the faqs! = LibClamAV Error: cl_loaddbdir(): Can't open directory X/lib/clamav ERROR: Unable to open file or directory = TKS, Ricardo Castanho Brasil -- == Linux user # 102240 => [EMAIL PROTECTED] user => 100% M$ FREE == Sun, 21 Nov 2004 18:45:00 -0200 18:45:00 up 48 days, 17:20, 7 users, load average: 15.58, 15.47, 15.43 Screw up your courage! You've screwed up everything else. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
[newbie] Clamav-0.80
I have Mdk 10.1 rpms for clamav-0.80 now available from my site. They are available ONLY using manual dl NOT with urpmi. ###Important### If upgrading, to maintain your current configuration Rename /etc/clamav.conf to clamd.conf If this will be a new installation and/or if you have not previously used clamav, you may if you choose, extract the attached file to /etc PRIOR to the installation of my clamav rpms. Charles -- I exist, therefore I am paid. -- Mandrake Linux 10.1 on BigBoy #184142 Registered Linux user #182463 *http://www.eslrahc.com* 2.6.8.1-10mdk -- clamd.conf.tar.bz2 Description: Binary data pgp8mXORQ4iok.pgp Description: PGP signature
Re: [newbie] ClamAV
Inhabitant of Zion wrote: However, the Law of Excremental Occurrences has just kicked in. Just tried to run a scan and got the following message: Odd just tried this myself and it runs fine for me... Very weird. It was OK yesterday. I've tried deleting the virus.db files and downloading them again but I'm still getting the same result. Mine are updated from clamav.sourceforge.net. Is it possible to get them from anywhere else? -- Graham Watkins "Don't be lucid and ironic; people will turn this against you to show that you aren't a nice person." - Albert Camus Registered Linux user number 265254 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
Re: [newbie] ClamAV
> > However, the Law of Excremental Occurrences has just kicked in. > > Just tried to run a scan and got the following message: Odd just tried this myself and it runs fine for me... -- John Willby Registered Linux user number 321644 ICQ: 92791912 MSN: [EMAIL PROTECTED] Linux is like a wigwam - No Gates, no Windows, Apache inside. 14:01:08 up 3 days, 3:30, 1 user, load average: 0.65, 0.22, 0.12 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] ClamAV
Hoyt Bailey wrote: On Sunday 15 August 2004 05:17, Graham Watkins wrote: 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. Thanks Hoyt. If I can get past the database problem, I shall try that. -- Graham Watkins "Don't be lucid and ironic; people will turn this against you to show that you aren't a nice person." - Albert Camus Registered Linux user number 265254 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
Re: [newbie] ClamAV
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: > 633a5c312e6261743a2a3a456e6162 (length: > 97)37363730053797374656d5c43757272656e74436f > 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
Re: [newbie] ClamAV
Graham Watkins wrote: 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: 633a5c312e6261743a2a3a456e6162 (length: 97)37363730053797374656d5c43757272656e74436f 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? Just a ps to the above - tried renaming the existing db2 so I could download a new one via freshclam. This went successfully but on attempting to scan got the same as above. Looks like the problem is at clam's end. I shall mail them. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com -- Graham Watkins "Don't be lucid and ironic; people will turn this against you to show that you aren't a nice person." - Albert Camus Registered Linux user number 265254 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
Re: [newbie] ClamAV
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: 633a5c312e6261743a2a3a456e6162 (length: 97)37363730053797374656d5c43757272656e74436f 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. -- Graham Watkins Every time you see a beautiful woman, just remember, somebody got tired of her. (Kinky Friedman - When The Cat's Away) Registered Linux user number 265254 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
[newbie] ClamAV
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 -- Sent using Kmail, on Mandrake Linux 9.2... Kernel 2.6 "Microsoft: Which Virus Would You Like to Catch Today?" Registered Linux User #340061 73 de M3GXQ Yaesu FT-902DM HF, 40/20/15/10m Dipole Yaesu FT-7800E VHF/UHF, Dual band Co Linear 10:30:32 up 1:25, 1 user, load average: 0.55, 0.32, 0.43 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
[newbie] clamav successful upgrade, but....
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I've managed to upgrade my clamav from 0.70 to 0.73, but why in the source of mail, the version is said to be still 0.70? Shouldn't it be stated 0.73? Or only the major version mentioned? clamuko: 0.70. spamassassin: 2.63 Thanks - -- Fajar Priyanto | Reg'd Linux User #327841 | http://linux.arinet.org 12:00:51 up 3:48, Mandrake Linux release 9.2 (FiveStar) for i586 public key: https://www.arinet.org/fajar-pub.key -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFAzoKikp5CsIXuxqURAm2tAJ0f1lPU2IsCSOexWMqvyA8pOoHBtACdHYOT rsi/Q2+9v6GQQz0TFMIlD20= =r0Bv -END PGP SIGNATURE- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] clamav error
On Sat, 12 Jun 2004 10:04:47 +0100 Derek Jennings <[EMAIL PROTECTED]> wrote: > On Friday 11 Jun 2004 21:15, Johan Sch wrote: > > Hi, > > Kindly see..ERROR.. how can I fix this please. > > The first update this same error showed .. I created an empty file by that > > name in /etc dir. Maybe something else should be done? > > ** > > > > ClamAV update process started at Fri Jun 11 22:05:59 2004 > > Reading CVD header (main.cvd): OK > > main.cvd is up to date (version: 23, sigs: 21096, f-level: 2, builder: ddm) > > Reading CVD header (daily.cvd): OK > > Downloading daily.cvd [*] > > daily.cvd updated (version: 350, sigs: 800, f-level: 2, builder: ccordes) > > Database updated (21896 signatures) from database.clamav.net > > (24.244.193.21). ERROR: Clamd was NOT notified: Can't find or parse > > configuration file /etc/clamd.conf > > > > Thanks > > This message means that when freshclam is run by your nightly cron job, after > the database was updated it tried to notify the clamd daemon about the new > database. > > Either your clamd daemon has stopped running, or else it was not installed in > the first place. > If your daemon has stopped you can restart it with > 'service clamd restart' > > On the other had you may be using clamav without using the clamd daemon > preferring to invoke clam scanning manually (as I do myself). In which case > you will get this message every time freshclam runs. > Personally I just ignore these messages. > > derek > Yes I Do it manually with a script. Thanks for your reply. That is what I needed to know. -- Johan Sch kernel 2.6.3-13mdk May this be a good day for learning Registered Linux User #330034 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com
Re: [newbie] clamav error
On Friday 11 Jun 2004 21:15, Johan Sch wrote: > Hi, > Kindly see..ERROR.. how can I fix this please. > The first update this same error showed .. I created an empty file by that > name in /etc dir. Maybe something else should be done? > ** > > ClamAV update process started at Fri Jun 11 22:05:59 2004 > Reading CVD header (main.cvd): OK > main.cvd is up to date (version: 23, sigs: 21096, f-level: 2, builder: ddm) > Reading CVD header (daily.cvd): OK > Downloading daily.cvd [*] > daily.cvd updated (version: 350, sigs: 800, f-level: 2, builder: ccordes) > Database updated (21896 signatures) from database.clamav.net > (24.244.193.21). ERROR: Clamd was NOT notified: Can't find or parse > configuration file /etc/clamd.conf > > Thanks This message means that when freshclam is run by your nightly cron job, after the database was updated it tried to notify the clamd daemon about the new database. Either your clamd daemon has stopped running, or else it was not installed in the first place. If your daemon has stopped you can restart it with 'service clamd restart' On the other had you may be using clamav without using the clamd daemon preferring to invoke clam scanning manually (as I do myself). In which case you will get this message every time freshclam runs. Personally I just ignore these messages. derek -- www.jennings.homelinux.net http://twiki.mdklinuxfaq.org Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com