[clamav-users] failed to write to

ratatouille ratatouille at bitclusive.de
Sat Dec 7 13:59:14 UTC 2019


Hello!

Since the recent update of clamav I have the following problem when freshclam
automatically tries to update the db.

Dec  7 11:20:43 bitmachine1 freshclam[783]: Unexpected error when attempting to update database: daily
Dec  7 11:20:43 bitmachine1 freshclam[783]: fc_update_databases: fc_update_database failed: Failed to read/write file to database directory (10)
Dec  7 11:20:43 bitmachine1 freshclam[783]: Database update process failed: Failed to read/write file to database directory (10)

# ls -al
drwxr-xr-x 2 vscan vscan      4096  7. Dez 12:44 .
drwxr-xr-x 6 root  root       4096 22. Jan 2019  ..
-rw-r--r-- 1 vscan vscan   1458176 19. Sep 19:58 bytecode.cld
-rw-r----- 1 vscan vscan 167019008  7. Dez 12:44 daily.cld
-rw-r--r-- 1 vscan vscan 307403264 25. Nov 22:31 main.cld
-rw------- 1 vscan vscan       896 25. Nov 21:08 mirrors.dat

# ps aux |grep clam
vscan      783  0.0  0.0  91040   232 ?        Ss   Nov28   0:00 /usr/local/bin/freshclam -d
vscan     2091  0.0 39.3 1055172 808732 ?      Ssl  Nov28   2:18 /usr/local/sbin/clamd

It fails to create the tmp-folder. No problem when I call freshclam
from a terminal.

What is wrong and how can I fix this issue?

Kind regards

  Andreas



More information about the clamav-users mailing list