I have RHAS 3 and ClamAV 0.85 working. No warning or error message displayed while running freshclam:

[EMAIL PROTECTED]:/root> /usr/bin/freshclam -v -u qscand
Current working dir is /var/lib/clamav
Max retries == 5
ClamAV update process started at Thu May 12 12:48:00 2005
Querying current.cvd.clamav.net
TTL: 885
Software version from DNS: 0.85
main.cvd version from DNS: 31
main.cvd is up to date (version: 31, sigs: 33079, f-level: 4, builder: tkojm)
[EMAIL PROTECTED]:/root>



Odhiambo Washington wrote:

This is not an error, but a goof on your upgrade process.
Some stale libraries, I think!


* clamav <[EMAIL PROTECTED]> [20050512 13:40]: wrote:


This error happened on RedHat enterprise Server 3.0



----- Original Message ----- From: "SPAMMER" <[EMAIL PROTECTED]>
To: <clamav-users@lists.clamav.net>
Sent: Thursday, May 12, 2005 5:23 PM
Subject: [Clamav-users] error in freshclam V0.85



Hi,

I descovered an error in freshclam V0.85.
It is installed on an SuSE SLES 8 SP1, UL 1.0 SP3 box.
(Linux version 2.4.21-138-smp ([EMAIL PROTECTED]) (gcc version 3.2.2) #1 SMP Fri Oct 31 00:51:31 UTC 2003)


When I install from the sources and run "freshclam -v" the output stops after the main.cvd:

./freshclam -v
Current working dir is /usr/local/share/clamav
Max retries == 3
ClamAV update process started at Thu May 12 10:23:45 2005
SECURITY WARNING: NO SUPPORT FOR DIGITAL SIGNATURES
See the FAQ at http://www.clamav.net/faq.html for an explanation.
Querying current.cvd.clamav.net
TTL: 202
Software version from DNS: 0.85
main.cvd version from DNS: 31
main.cvd is up to date (version: 31, sigs: 33079, f-level: 4, builder: tkojm)



So I used my very little knowledge of c-programming and insertet a Debug-Line just to print "Start" at line 158:


---snip---

  memset(ipaddr, 0, sizeof(ipaddr));
  mprintf("## 1 ##\n");

if((ret = downloaddb(DB1NAME, "main.cvd", hostname, ipaddr, &signo, copt, dnsreply, localip)) > 50) {
---snap---


I made a make clean and a make inside the freshclam directory of the sources and suprisingly the output is fine again ...
"freshclam -v" prints now the following:


./freshclam -v
Current working dir is /usr/local/share/clamav
Max retries == 3
ClamAV update process started at Thu May 12 10:51:10 2005
SECURITY WARNING: NO SUPPORT FOR DIGITAL SIGNATURES
See the FAQ at http://www.clamav.net/faq.html for an explanation.
Querying current.cvd.clamav.net
TTL: 650
Software version from DNS: 0.85
Start
main.cvd version from DNS: 31
main.cvd is up to date (version: 31, sigs: 33079, f-level: 4, builder: tkojm)
daily.cvd version from DNS: 875
daily.cvd is up to date (version: 875, sigs: 1218, f-level: 4, builder: diego)
Freeing option list...done



I know that my added line has nothing to do with the whole functionality of the subroutine ... but it helps.
I think it is the real programmer's job to discover the real reason :-) .


Regards,

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





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




-Wash

http://www.netmeister.org/news/learn2quote.html

--
+======================================================================+
   |\      _,,,---,,_     | Odhiambo Washington    <[EMAIL PROTECTED]>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
  |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
 '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+======================================================================+
New Year's Eve is the time of year when a man most feels his age, and
his wife most often reminds him to act it.
                -- Webster's Unafraid Dictionary
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html




-- ------------------------------------------------------------------------ *José Javier Sianes Ruiz* *DSF Almariya AIE Tecnología Cajamar* Telf: 950.18.03.50 - ext. 2333 Movil: 637.72.72.55 email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

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

Reply via email to