• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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