• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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