[Clamav-users] clamAV 0.80 clamd issue...

2005-01-19 Thread Daniel Suen
Dear All,
I have downloaded the 0.80 version yesterday and compiled and run it on 
both a Linux machine and a Solaris 9 machine. The following problem is 
found on both platforms:-

I have a virus file and I tried scanning it with clamscan, and it did not 
report that it is a virus/worm. So, I tried adding a "--database" tag, and 
this time, clamscan correctly identifies the virus. Then, I think the 
"DatabaseDirectory" tag might not have been picked up correctly. So, I edit 
"/usr/local/etc/clamd.conf". There, when I uncomment that line which points 
to "/var/lib/clamav" and do a "clamscan" again, it gives an error. On 
Solaris 9:

LibClamAV Error: cl_loaddbdir(): Can't open directory
ERROR: Unable to open file or directory
--- SCAN SUMMARY ---
Known viruses: 0
Scanned directories: 0
Scanned files: 0
Infected files: 0
Data scanned: 0.00 MB
I/O buffer size: 131072 bytes
Time: 0.004 sec (0 m 0 s)
On Linux:
LibClamAV Error: cl_loaddbdir(): Can't open directory ¨/lib/clamav
ERROR: Unable to open file or directory
--- SCAN SUMMARY ---
Known viruses: 0
Scanned directories: 0
Scanned files: 0
Infected files: 0
Data scanned: 0.00 MB
I/O buffer size: 131072 bytes
Time: 0.017 sec (0 m 0 s)
Anyone knows how to fix it? Also, "clamscan -V" gives something like the 
following:

ClamAV 0.80/375/Thu Jan  1 08:00:00 1970
If that gives the time when the software was built, that is wrong. The 
symptom occurs on both Solaris 9 and Linux.

Best,
Daniel. 

___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


Re: [Clamav-users] clamAV 0.80 clamd issue...

2005-01-20 Thread Tomasz Papszun
On Thu, 20 Jan 2005 at  9:01:03 +0800, Daniel Suen wrote:
> 
> I have downloaded the 0.80 version yesterday and compiled and run it on 
> both a Linux machine and a Solaris 9 machine. The following problem is 
> found on both platforms:-
> 
> I have a virus file and I tried scanning it with clamscan, and it did not 
> report that it is a virus/worm. So, I tried adding a "--database" tag, and 
> this time, clamscan correctly identifies the virus. Then, I think the 
> "DatabaseDirectory" tag might not have been picked up correctly. So, I edit 
> "/usr/local/etc/clamd.conf". There, when I uncomment that line which points 
> to "/var/lib/clamav" and do a "clamscan" again, it gives an error.

There must be some "side" problem. clamscan doesn't use clamd.conf.

> On Solaris 9:
> 
> LibClamAV Error: cl_loaddbdir(): Can't open directory
> ERROR: Unable to open file or directory
> 
> --- SCAN SUMMARY ---
> Known viruses: 0
> Scanned directories: 0
> Scanned files: 0
> [...]
> 
> On Linux:
> 
> LibClamAV Error: cl_loaddbdir(): Can't open directory ¨/lib/clamav
^
I can see some strange character here (like "umlaut" (2 dots at the
top). Haven't you typed some not plain ascii char when running configure
or editing the config file?

> ERROR: Unable to open file or directory
> 
> --- SCAN SUMMARY ---
> Known viruses: 0
> Scanned directories: 0
> Scanned files: 0
> [...]
> Anyone knows how to fix it? Also, "clamscan -V" gives something like the 
> following:
> 
> ClamAV 0.80/375/Thu Jan  1 08:00:00 1970
> 
> If that gives the time when the software was built, that is wrong. The 
> symptom occurs on both Solaris 9 and Linux.
> 

I don't know what causes this, but this is quite a rare symptom.

I'd suggest you run 'make uninstall', then make sure there are no clamav
related files left elsewhere (older installation?) and start from
scratch, doing _as little changes in relation to the INSTALL file, as
possible_.

-- 
 Tomasz Papszun   SysAdm @ TP S.A. Lodz, Poland  | And it's only
 [EMAIL PROTECTED] http://www.lodz.tpsa.pl/iso/ | ones and zeros.
 [EMAIL PROTECTED]   http://www.ClamAV.net/   A GPL virus scanner
___
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users