Wondering how to resolve Error in Plesk during the ClamAV update? We can help you.
At Bobcares, we offer solutions for every query, big and small, as a part of our Server Management Service.
Let’s take a look at how our Support Team help a customer deal with this Plesk error.
How to resolve Error in Plesk during the ClamAV update?
Usually, the following errors are received by email and when executing the freshclam command on the Plesk server:
ERROR: cdiff_apply: lseek(desc, -350, SEEK_END) failed
ERROR: downloadPatch: Can't apply patch
Today, let us see the steps followed by our Support Techs to resolve it.
- Firstly, Connect to the server via SSH.
- Then, check the databases available:
ls -la /var/lib/clamav/*.cvd
Note: There should be 3 files:
bytecode.cvd
daily.cvd
main.cvd
- Next, download the missing database using the native ClamAV utility:
freshclam
If the utility shows error and the required database is still absent, download the absent file from the link http://database.clamav.net/<database_name>.cvd (i.e. http://database.clamav.net/daily.cvd)
and upload it on the server.
Note: using wget utility to download the database may result in error 403. If it appears try downloading the database to your local PC first and then transfer it to the server, e.g. by using FTP client.
- Finally, set the proper permissions:
chown clamupdate:clamupdate /var/lib/clamav/daily.cvd
# chmod 0644 /var/lib/clamav/daily.cvd
[Need a solution to another query? We are just a click away.]
Conclusion
Today, we saw steps followed by our Support Engineers to resolve Error in Plesk during the ClamAV update.
PREVENT YOUR SERVER FROM CRASHING!
Never again lose customers to poor server speed! Let us help you.
Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.
0 Comments