[Wylug-help] ClamAV problems

John Hodrien J.H.Hodrien at leeds.ac.uk
Tue Jan 10 15:37:50 UTC 2012


On Tue, 10 Jan 2012, Anne Wilson wrote:

> On 10/01/12 14:12, John Hodrien wrote:
>> On Tue, 10 Jan 2012, Anne Wilson wrote:
>>
>>> On 10/01/12 12:24, John Hodrien wrote:
>>>>> [root at borg2 ~]# freshclam ERROR: Can't open
>>>>> /var/log/clamav/freshclam.log in append mode (check
>>>>> permissions!). ERROR: Problem with internal logger
>>>>> (UpdateLogFile = /var/log/clamav/freshclam.log).
>>>>
>>>> You /may/ be better running /etc/cron.daily/freshclam rather
>>>> than freshclam directly, since this creates a blank log file if
>>>> necessary and does the necessary chown to clam.clam.
>>>>
>>> /etc/cron.daily/freshclam ERROR: Can't create temporary directory
>>> /var/lib/clamav/clamav-aba20e951dc04db5f6feb500850eb581 ERROR:
>>> Can't create temporary directory
>>> /var/lib/clamav/clamav-114d2bdf324a4a34727c9ef7fc9c2483
>>
>> Just to double check, you're running that as root right?
>>
> Correct
>
>> Are you out of disk space or inodes on /var/lib/clamav?
>>
> No - nowhere near
>
>> Does that directory exist?  ls -ld /var/lib/clamav
>>
> Yes, it contains all the database files, all owned by clam.
>
> ls -ld /var/lib/clamav
> drwxr-xr-x 2 clam clam 4096 Jan 10 09:43 /var/lib/clamav

SELinux?

jh



More information about the Wylug-help mailing list