Author Topic: ClamAV update error  (Read 1951 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
ClamAV update error
« on: February 09, 2023, 06:51:13 PM »
Hi, dear expert and support team, I Facing a problem which is related to the clamv update here is the error:

Code: [Select]
ERROR: Can't create temporary directory /var/lib/clamav/tmp.e93d796d3b
ERROR: Update failed.

clamv working fine, but it's not update automatically I don't know why please help to resolve the problem.
whenever trying to update it manually I got the same error.

thanks

Offline
****
Re: ClamAV update error
« Reply #1 on: February 10, 2023, 06:05:22 AM »
are you just running freshclam manually?
what are your permissions on /var/lib/clamav/ ?

Offline
*
Re: ClamAV update error
« Reply #2 on: February 13, 2023, 10:40:08 AM »
are you just running freshclam manually?
what are your permissions on /var/lib/clamav/ ?

Thank you very much for you answer the permission of the Var directory is 755 I think it's the default one.

I run the clamscan it shown it's out of the date. and then run the Freshclam I got the error above which i mention in my earlier message

please guide me if I did any wrong or how can I do it update??

thanks.

Offline
*
Re: ClamAV update error
« Reply #3 on: February 15, 2023, 08:26:01 PM »
are you just running freshclam manually?
what are your permissions on /var/lib/clamav/ ?

Thank you very much for you answer the permission of the Var directory is 755 I think it's the default one.

I run the clamscan it shown it's out of the date. and then run the Freshclam I got the error above which i mention in my earlier message


please guide me if I did any wrong or how can I do it update??

thanks.

Where is this setup based?

Offline
****
Re: ClamAV update error
« Reply #4 on: March 04, 2023, 10:04:01 PM »
And you have ownership as clamupdate:clamupdate and NOT as root?
Code: [Select]
[root@srv]# ls -al /var/lib/clamav/
total 355648
drwxr-xr-x.  2 clamupdate clamupdate        80 Mar  4 15:40 .
drwxr-xr-x. 70 root       root            4096 Feb  4 08:23 ..
-rw-r--r--   1 clamupdate clamupdate   1430528 Feb 23 05:40 bytecode.cld
-rw-r--r--   1 clamupdate clamupdate 192257024 Mar  4 03:40 daily.cld
-rw-r--r--   1 clamupdate clamupdate        69 Nov  4  2021 freshclam.dat
-rw-r--r--   1 clamupdate clamupdate 170479789 Sep 22  2021 main.cvd