No, I am not. But freshclam runs as user _clamav (I think this should be 
no problem).
Maybe I have a problem with my DNS? Or with file/directory permissons? 
It's the first time this happens and I really don't know what
to do... (I really need this antivirus filter).
I've set the debug flag and the verbose output of freshclam is (I must 
mention that the following output is obtained when logged as root
on the system console - well, after su to root (i.e. su -), because only 
normal users can login directly on the console and I login as a normal
user - in the wheel group - and then su -):

Current working dir is /var/db/clamav
Max retries == 3
ClamAV update process started at Sat Feb 25 11:32:39 2006
Querying current.cvd.clamav.net
TTL: 256
Software version from DNS: 0.88
LibClamAV debug: Can't open CVD file main.cvd
ERROR: Can't get information about db.ro.clamav.net: Host not found
Connection with db.ro.clamav.net (IP: ???) failed.
Trying again in 5 secs...
ClamAV update process started at Sat Feb 25 11:32:44 2006
Querying current.cvd.clamav.net
TTL: 251
Software version from DNS: 0.88
LibClamAV debug: Can't open CVD file main.cvd
ERROR: Can't get information about db.ro.clamav.net: Host not found
Connection with db.ro.clamav.net (IP: ???) failed.
Trying again in 5 secs...
ClamAV update process started at Sat Feb 25 11:32:49 2006
Querying current.cvd.clamav.net
TTL: 246
 ETC, ETC...
and then (at the end, some output skipped):

TTL: 236
Software version from DNS: 0.88
LibClamAV debug: Can't open CVD file main.cvd
ERROR: Can't get information about database.clamav.net: Host not found
Connection with database.clamav.net (IP: ???) failed.
Giving up on database.clamav.net...
ERROR: Update failed. Your network may be down or none of the mirrors 
listed in freshclam.conf is working.
Freeing option list...done


Now, an even stranger problem! I open X11 (I'm running Windowmaker 
0.80.1), then I start an xterm (of course, I run X as an usual user),
then I do a "su -" and I switch to the root account. As a result to the 
freshclam command I receive (commands included):
 # echo ${USER}
 root
 # freshclam --version
 LibClamAV debug: Can't open CVD file /var/db/clamav/daily.cvd
 ClamAV 0.88
 #

Is there someone who had this problem or who can tell me where should I 
look in order to solve the problem? I started to think that there is
a problem with the port of clamav (although, other people would have 
signalled the problem as well...). The packages that I have installed (and
that might have something to do with my problem:
curl-7.15.1
clamav-0.88
clamsmtp-1.4.1
Maybe there's only a depency/version mismatch.

                                                                                
  
Respectfully yours,
                                                                                
            
Gabriel George POPA



Peter wrote:

>--- Gabriel George POPA <[EMAIL PROTECTED]> wrote:
>
>  
>
>>            Hello all,
>>
>>   I have the following problem when running freshclam:
>># freshclam
>>ClamAV update process started at Fri Feb 24 17:58:29 2006
>>ERROR: Can't get information about db.ro.clamav.net: Host not found
>>Connection with db.ro.clamav.net (IP: ???) failed.
>>Trying again in 5 secs...
>>ClamAV update process started at Fri Feb 24 17:58:34 2006
>>ERROR: Can't get information about db.ro.clamav.net: Host not found
>>Connection with db.ro.clamav.net (IP: ???) failed.
>>Trying again in 5 secs...
>>Or even better:
>># freshclam                
>>ClamAV update process started at Fri Feb 24 17:59:02 2006
>>ERROR: Can't get information about database.clamav.net: Host not found
>>Connection with database.clamav.net (IP: ???) failed.
>>Trying again in 5 secs...
>>BUT:
>>
>># ping database.clamav.net
>>PING db.northeu.clamav.net (83.148.101.196): 56 data bytes
>>64 bytes from 83.148.101.196: icmp_seq=0 ttl=47 time=115.432 ms
>>--- db.northeu.clamav.net ping statistics ---
>>1 packets transmitted, 1 packets received, 0.0% packet loss
>>round-trip min/avg/max/std-dev = 115.432/115.432/115.432/0.000 ms
>>
>>AND:
>># ping db.ro.clamav.net    
>>PING db.ro.clamav.net (192.129.4.120): 56 data bytes
>>64 bytes from 192.129.4.120: icmp_seq=0 ttl=60 time=81.649 ms
>>--- db.ro.clamav.net ping statistics ---
>>1 packets transmitted, 1 packets received, 0.0% packet loss
>>round-trip min/avg/max/std-dev = 81.649/81.649/81.649/0.000 ms
>>
>> (I am from Romania, obviously)
>>
>>
>>I really don't know what's wrong. Could someone tell me? Oh, and it 
>>would be very nice to find out from you if there is a
>>tutorial treating clamav, freshclam, clamd and clamsmtpd with Sendmail 
>>on a usual mail server (with POP3 and IMAP enabled).
>>    
>>
>
>Are you running freshclam in a chroot jail?

Reply via email to