• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Question Can't create mirrors.dat in /var/lib/clamav

TRILOS new media

New Pleskian
Cron <root@$> /usr/share/clamav/freshclam-sleep > /dev/null
notifies:
ERROR: Can't create mirrors.dat in /var/lib/clamav
ERROR: Failed to save mirrors.dat!
ERROR: initialize: libfreshclam init failed.
ERROR: Initialization error!

and
$/usr/bin/freshclam --debug
shows:
ERROR: Can't create mirrors.dat in /var/lib/clamav
Hint: The database directory must be writable for UID 993 or GID 995
ERROR: Failed to save mirrors.dat!
WARNING: Failed to create a new mirrors.dat!
ERROR: initialize: libfreshclam init failed.
ERROR: Initialization error!

but
#ls -lan
clears up:
drwxr-xr-x 3 993 995 4096 Apr 25 04:48 clamav

Anyway, only Plesk Premium Antivirus is used on that server (Plesk Onyx Version 17.8.11 Update #95) and clamav should not even be installed or I don´t know which component uses clamav.
Any ideas on how to get rid of this or whether it´s wise remove clamav?
 
You could try to use strace to get a better idea of what happens there and why the syscall fails.
 
Back
Top