[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: setting up clamav-freshclam



Are you setting clamav up by hand or is it a deb packaged?

I have it running fine using the deb stuff.

Edit sources.list and add,

deb http://people.debian.org/~sgran/debian woody main

Remove the existing clamav and install the deb packages from the above.

I would suggest you read this page (the adding clamav bit down the
bottom),

http://www.thing.dyndns.org/debian/sendmaildeb.htm

Permissions
===========

ls -l
total 1672
drwxr-xr-x    2 root     root         8192 Feb  6 06:25 apache
drwxr-xr-x    2 root     root         4096 Jan  3  2003 apache-perl
-rw-r-----    1 root     adm        141658 Feb 10 15:26 auth.log
-rw-r-----    1 root     adm        230091 Feb  6 06:47 auth.log.0
-rw-r-----    1 root     adm         15262 Jan 30 06:47 auth.log.1.gz
-rw-r-----    1 root     adm         14997 Jan 23 06:47 auth.log.2.gz
-rw-r-----    1 root     adm         14434 Jan 16 06:47 auth.log.3.gz
drwxr-xr-x    2 clamav   clamav       4096 Feb  6 06:25 clamav
-rw-r-----    1 root     adm          2493 Feb  9 20:18 daemon.log
8><-----

katrina:/var/log/clamav# ls -l
total 188
-rw-r-----    1 clamav   adm          3640 Feb 10 14:30 clamav.log
-rw-r-----    1 clamav   adm          6272 Feb  6 06:25 clamav.log.1
-rw-r-----    1 clamav   adm           927 Dec  5 06:25 clamav.log.10.gz
-rw-r-----    1 clamav   adm          1016 Nov 28 06:25 clamav.log.11.gz
-rw-r-----    1 clamav   adm          1567 Nov 21 06:25 clamav.log.12.gz
-rw-r-----    1 clamav   adm          1225 Feb  1 17:03 clamav.log.2.gz
-rw-r-----    1 clamav   adm          1009 Jan 23 06:25 clamav.log.3.gz
-rw-r-----    1 clamav   adm           871 Jan 16 06:25 clamav.log.4.gz
-rw-r-----    1 clamav   adm           934 Jan  9 06:25 clamav.log.5.gz
-rw-r-----    1 clamav   adm           869 Jan  2 06:25 clamav.log.6.gz
-rw-r-----    1 clamav   adm           972 Dec 26 06:25 clamav.log.7.gz
-rw-r-----    1 clamav   adm           861 Dec 19 06:25 clamav.log.8.gz
-rw-r-----    1 clamav   adm          1002 Dec 12 06:25 clamav.log.9.gz
-rw-r-----    1 clamav   adm         20286 Feb 10 14:25 freshclam.log
8><----

Hope this is of help.

Regards

Steven

-----Original Message-----
From: Paul [mailto:paula4l@access4less.net] 
Sent: Thursday, 10 February 2005 3:52 p.m.
To: debian-user@lists.debian.org
Subject: Re: setting up clamav-freshclam

David A. Cobb wrote:
> Ben A'Lee wrote:
> 
>> On Wed, Feb 09, 2005 at 18:32:18, David A. Cobb wrote:
>>  
>>
>>> Starting ClamAV virus database updater: ERROR: Can't open
>>> /var/log/clamav/freshclam.log in append mode (check permissions!).
>>> ERROR: Problem with internal logger.
>>> invoke-rc.d: initscript clamav-freshclam, action "start" failed.
>>> dpkg: error processing clamav-freshclam (--configure):
>>> subprocess post-installation script returned error exit status 1
>>> </blockquote>
>>>
>>> SO: what in blazes does it need to be???
>>>
>>>   
>>
>>
>> Have you tried it with 777 (rwxrwxrwx) permissions?  I'm guessing the

>> logfile
>> isn't owned by the user or group of ClamAV.
>>
>> -Ben
>>
>>  
>>
> Makes perfectly good sense.  Sad to say, it doesn't help.
> the log is owned by clamav:adm and set 0777, the parent dir
> "/var/log/clamav" is set 1777.
> (Also tried at 0777).
> 
> 

not sure, but is it possible that you don't have a user or group or both

called clamav?  Maybe it didn't get purged and reconfigured properly. 
Should be in /etc/passwd and /etc/group?


-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org




Reply to: